lnd/docs/release-notes/release-notes-0.15.0.md
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

13 KiB

Release Notes

Payments

Support according to the spec has been added for payment metadata in invoices. If metadata is present in the invoice, it is encoded as a tlv record for the receiver.

This functionality unlocks future features such as stateless invoices.

Security

Taproot

The internal on-chain wallet of lnd is now able to create and spend from Taproot (SegWit v1) addresses. Using lncli newaddress p2tr will create a new BIP-0086 keyspend only address and then watch it on chain. Taproot script spends are also supported through the signrpc.SignOutputRaw RPC (/v2/signer/signraw in REST).

lncli

Bug Fixes

Routing

Misc

RPC Server

Database

Documentation

Monitoring

A new flag (--prometheus.perfhistograms) has been added to enable export of gRPC performance metrics (latency to process GetInfo, etc).

Code Health

Code cleanup, refactor, typo fixes

Contributors (Alphabetical Order)

  • 3nprob
  • Andras Banki-Horvath
  • Andreas Schjønhaug
  • asvdf
  • bitromortac
  • Bjarne Magnussen
  • BTCparadigm
  • Carla Kirk-Cohen
  • Carsten Otto
  • Dan Bolser
  • Daniel McNally
  • Elle Mouton
  • ErikEk
  • Eugene Siegel
  • Hampus Sjöberg
  • henta
  • Joost Jager
  • Jordi Montes
  • LightningHelper
  • Liviu
  • mateuszmp
  • Naveen Srinivasan
  • Olaoluwa Osuntokun
  • randymcmillan
  • Rong Ou
  • Thebora Kompanioni
  • Torkel Rogstad
  • Vsevolod Kaganovych
  • Yong Yu