Expand description
ยงTransaction Sender
Transaction sender is responsible for sending Bitcoin transactions, bumping fees and making sure that transactions are finalized until the deadline. It can utilize Child-Pays-For-Parent (CPFP) and Replace-By-Fee (RBF) strategies for sending transactions.
Sending transactions is done by the TxSenderClient
, which is a client
that puts transactions into the sending queue and the TxSenderTask
is
responsible for processing this queue and sending them.
ยงDebugging Transaction Sender
There are several database tables that saves the transaction states. Please
look for [core/src/database/tx_sender.rs
] for more information.
Modulesยง
- client ๐Transaction Sender Client
- cpfp ๐Child Pays For Parent (CPFP) Support For Transaction Sender
- nonstandard ๐TxSender for nonstandard transactions.
- rbf ๐
- task ๐Transaction Sender Task
Macrosยง
- log_
error_ ๐for_ tx
Structsยง
- Manages the process of sending Bitcoin transactions, including handling fee bumping strategies like Replace-By-Fee (RBF) and Child-Pays-For-Parent (CPFP).
Enumsยง
Functionsยง
- Fetches the current recommended fee rate from RPC provider. Currently only supports Mempool Space API. This function is used to get the fee rate in sat/vkb (satoshis per kilovbyte). See Mempool Space API for more details.
Type Aliasesยง
- Result ๐