lnd/chainreg
Elle Mouton f55c0565d0
lnwallet+walletrpc: add SubmitPackage for v3 CPFP package relay
Add SubmitPackage to the lnwallet.WalletController interface and a new
WalletKit.SubmitPackage RPC, so a client of lnd can relay a package of
related transactions (parents first, child last) through lnd's own chain
connection. This lets a zero-fee v3/TRUC parent be accepted via its
fee-paying CPFP child without the caller needing a separate connection to
the chain backend.

BtcWallet.SubmitPackage forwards to the chain backend's submitpackage for
bitcoind/btcd, and broadcasts each transaction individually for neutrino
(no mempool; relies on the peer's 1p1c package relay). The WalletKit
handler maps the proto request/response to the btcjson result and is
gated by the onchain:write macaroon permission. Mock controllers and the
no-chain backend gain trivial implementations.
2026-06-30 11:07:52 -07:00
..
chainparams.go multi: upgrade to btcd v2 modules 2026-06-24 10:58:36 -07:00
chainregistry.go multi: upgrade to btcd v2 modules 2026-06-24 10:58:36 -07:00
log.go multi: start updating various loggers to use the new v2 type 2024-10-22 17:03:55 +02:00
no_chain_backend.go lnwallet+walletrpc: add SubmitPackage for v3 CPFP package relay 2026-06-30 11:07:52 -07:00
taproot_check.go chainreg: accommodate buried taproot deployment in Bitcoin Core v31 2026-04-06 10:09:17 -04:00