lnd/docs/release-notes
yyforyongyu 4ddb5c586b
tlv: add MakeBigSizeRecord to save space
This commit adds a pair of encoder/decoder to take the advantage of the
BigSize format when encoding an uint64 and possibly an uint32.

Often the time an uint64 value is not big enough to fill all the 8
bytes, thus using BigSize can save extra bytes when save it to db. And
for uint32, if we know most of the values do not exceed 65536, we can
also save at least 1 byte using BigSize format.

This commit introduces `MakeBigSizeRecord` that can be used optionally
where db space is a concern.
2022-04-16 12:05:23 +08:00
..
release-notes-0.13.1.md lntest: avoid global ServeMux 2021-08-27 11:30:01 +02:00
release-notes-0.13.2.md docs/release-notes: add item for easy AMP CLI re-use 2021-08-04 19:17:57 -07:00
release-notes-0.13.3.md docs: update release notes for 0.13.3 2021-09-30 13:44:35 -04:00
release-notes-0.14.0.md docs: fix formatting [skip ci] 2021-11-18 09:46:30 +01:00
release-notes-0.14.1.md docs/release-notes: add entry for funding API downgrade protection 2021-11-24 14:32:55 -06:00
release-notes-0.14.2.md lnwallet: increase legacy fee limit threshold to 1k sats 2022-02-03 11:54:01 -08:00
release-notes-0.14.3.md docs: add release notes 2022-03-24 14:13:06 +01:00
release-notes-0.15.0.md tlv: add MakeBigSizeRecord to save space 2022-04-16 12:05:23 +08:00