clementine_core

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

Structsยง

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