lnd/docs
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
..
grpc docs: fix spelling in JavaScript example. 2022-01-11 14:08:20 +01:00
release-notes tlv: add MakeBigSizeRecord to save space 2022-04-16 12:05:23 +08:00
rest multi: Fix typos [skip ci] 2022-01-24 12:19:02 +02:00
code_contribution_guidelines.md docs+github+scripts: remove submodule update check 2022-03-22 14:17:26 +01:00
configuring_tor.md docs: unify code and shell cmd blocks 2021-01-22 09:14:09 +01:00
debugging_lnd.md docs: unify code and shell cmd blocks 2021-01-22 09:14:09 +01:00
DOCKER.md github: re-add rolling 'daily-testing-only' tag [skip ci] 2022-03-22 14:12:56 -04:00
etcd.md docs: update etcd docs 2022-02-28 12:03:05 +01:00
fuzz.md docs: update fuzz.md to explain new build/run process 2021-06-16 12:49:26 -04:00
INSTALL.md docs/INSTALL.md: update min Go version to 1.18 2022-04-12 16:14:07 -07:00
key_import.md Docs: fix language ambiguity in key import [skip ci] 2021-11-09 11:49:50 -05:00
leader_election.md multi: Fix typos [skip ci] 2022-01-24 12:19:02 +02:00
macaroons.md docs: unify code and shell cmd blocks 2021-01-22 09:14:09 +01:00
MAKEFILE.md multi: Fix typos [skip ci] 2022-01-24 12:19:02 +02:00
nat_traversal.md docs: unify code and shell cmd blocks 2021-01-22 09:14:09 +01:00
postgres.md docs: update postgres docs with sample configuration 2022-01-11 14:08:20 +01:00
psbt.md docs: add example for PSBT batch funding 2021-10-04 11:17:09 +02:00
recovery.md multi: Fix typos [skip ci] 2022-01-24 12:19:02 +02:00
release.md docs: update release verification scripts for v0.12.1-beta 2021-09-27 15:48:20 +02:00
remote-signing.md docs: update remote signing doc and release notes 2022-01-06 14:35:26 +01:00
ruby-thing.rb docs: update contribution guidelines to add section on commit structure 2018-12-18 20:59:46 -08:00
safety.md docs: Remove pruned node warning. [skip ci] 2021-09-22 09:21:17 +02:00
wallet.md docs: add wallet management doc, fix markup in INSTALL doc 2021-05-06 12:23:46 +02:00
watchtower.md lnrpc+lncli: deprecate sat_per_byte and add sat_per_vbyte 2021-03-26 17:16:40 +08:00