7c94bbb4a2
This commit adds the truncated integer encodings used in the variable-size onion payloads. The amount and cltv delta both use the truncated encoding to shave bytes in the overall size, and will likely be used in the future for additional extensions where size is a constraint. |
||
---|---|---|
.. | ||
bench_test.go | ||
primitive.go | ||
record.go | ||
stream.go | ||
truncated.go | ||
varint_test.go | ||
varint.go |