Module tx_sender

Source
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ยง

ActivatedWithOutpoint
ActivatedWithTxid
TxSender
Manages the process of sending Bitcoin transactions, including handling fee bumping strategies like Replace-By-Fee (RBF) and Child-Pays-For-Parent (CPFP).
TxSenderClient
TxSenderTask

Enumsยง

SendTxError

Type Aliasesยง

Result ๐Ÿ”’