]> git.bitcoin.ninja Git - rust-lightning/commit
Introduce OnchainTxHandler, move bumping and tracking logic
authorAntoine Riard <ariard@student.42.fr>
Fri, 24 Jan 2020 16:57:52 +0000 (11:57 -0500)
committerAntoine Riard <ariard@student.42.fr>
Wed, 4 Mar 2020 21:06:29 +0000 (16:06 -0500)
commit3d640da5c343111f538f006996c13c9a98e0d9e6
tree7316444790fe6064f5ba31020315a5aa9ec96ccc
parente94635703a5a9f51a5f42849ba0ccfb6e5e98ac3
Introduce OnchainTxHandler, move bumping and tracking logic

Encapsulates tracking and bumping of in-flight transactions in
its own component. This component may be latter abstracted
to reuse tracking and RBF for new features (e.g dual-funding,
splicing)

Build all transactions generation in one place. Also as fees
and signatures are closely tied, what keys do you have determine
what bumping mode you can use.
lightning/src/ln/channelmonitor.rs
lightning/src/ln/functional_tests.rs
lightning/src/ln/mod.rs
lightning/src/ln/onchaintx.rs [new file with mode: 0644]