docs: add release notes for privacy mapper refactoring

Add a succinct release note entry detailing the 32-bit truncation
prevention and allocation optimization introduced by PR-1358.
This commit is contained in:
bitromortac 2026-07-21 11:49:17 +00:00
parent cf7e53842a
commit f162f44a0d

View file

@ -31,6 +31,14 @@
-V`](https://github.com/lightninglabs/lightning-terminal/pull/1337): The `-V`
flag now prints litd's version instead of the integrated lnd version.
* [Refactor privacy mapper to prevent 32-bit truncation and optimize
allocations](https://github.com/lightninglabs/lightning-terminal/pull/1358):
Refactored the privacy mapper's random number generation to use `int64`
instead of `int` to prevent architecture-dependent truncation on 32-bit
runtimes. This represents a breaking change to the `NewPrivacyMapper` and
`CryptoRandIntn` functions. The PR also introduced a `sync.Pool` for
`*big.Int` to optimize allocations.
## RPC Updates
## Integrated Binary Updates