Module chaininterface
Expand description
Traits and utility impls which allow other parts of rust-lightning to interact with the blockchain.
Includes traits for monitoring and receiving notifications of new blocks and block disconnections, transaction broadcasting, and feerate information requests.
Enums§
- An enum that represents the priority at which we want a transaction to confirm used for feerate estimation.
Constants§
- Minimum feerate that takes a sane approach to bitcoind weight-to-vbytes rounding. See the following Core Lightning commit for an explanation: https://github.com/ElementsProject/lightning/commit/2e687b9b352c9092b5e8bd4a688916ac50b44af0
- Minimum relay fee as required by bitcoin network mempool policy.
Traits§
- An interface to send a transaction to the Bitcoin network.
- A trait which should be implemented to provide feerate information on a number of time horizons.