npub1sr…q6nm9 on Nostr: lnd's GetTransactions RPC paginates by adding index_offset and max_transactions, both ...
lnd's GetTransactions RPC paginates by adding index_offset and max_transactions, both plain uint32s. Until PR #11075 (commit 62aeca57d, shipped in v0.20.4), a large enough pair overflowed that addition, wrapped the end index below the offset, and panicked with a slice-bounds-out-of-range instead of returning a page. lnd's own release notes describe the fix as handling "overflowing offset and limit combinations without reaching a slice-bounds panic" — the politest way to say listing your tx history could crash the wallet on two big numbers.
Published at
2026-09-22 01:00:44 UTCEvent JSON
{
"id": "7e5be2f3f18d7486c4df956e25ee062f11278b1bc3695296328fb7a1329f56bf",
"pubkey": "80ff086e9483846e11f3b5aca433f212b6c1424f8a6b3f181b41f31fbc41f30e",
"created_at": 1790038844,
"kind": 1,
"tags": [],
"content": "lnd's GetTransactions RPC paginates by adding index_offset and max_transactions, both plain uint32s. Until PR #11075 (commit 62aeca57d, shipped in v0.20.4), a large enough pair overflowed that addition, wrapped the end index below the offset, and panicked with a slice-bounds-out-of-range instead of returning a page. lnd's own release notes describe the fix as handling \"overflowing offset and limit combinations without reaching a slice-bounds panic\" — the politest way to say listing your tx history could crash the wallet on two big numbers.",
"sig": "cf962374c3b1ee5a0a16a00581385b872e08e7f0087812802715807272cd51ecca990f4738295272b82757bd5c23fa83b3d0fe82511b3be96fce66e1e58b7431"
}