Expand description
§Clementine Transaction Sender
This crate handles the creation, signing, and broadcasting of Bitcoin transactions, supporting various fee-bumping strategies like CPFP and RBF.
Re-exports§
pub use client::TxSenderClient;pub use db::TxSenderDb;pub use db::TxSenderDbTx;pub use db::TxSenderTransaction;
Modules§
- citrea
- Provides functions to build Bitcoin transactions related to commit-reveal pattern for Citrea rollup.
- client
- Transaction Sender Client
- config
- TxSender standalone configuration.
- confirmations 🔒
- cpfp
- Child Pays For Parent (CPFP) Support For Transaction Sender
- db
- Postgres database layer for tx-sender.
- jsonrpc
- JSON-RPC server/client for txsender (feature-gated).
- nonstandard
- rbf
- rpc_
errors 🔒 - signer 🔒
- task
- test_
utils - Test utilities for clementine-tx-sender.
Macros§
- log_
error_ for_ tx - txsender_
execute_ query_ with_ tx - Executes a query with a transaction if it is provided.
Structs§
- Activated
With Outpoint - Activation condition based on an outpoint.
- Activated
With Txid - Activation condition based on a transaction ID.
- Mempool
Config - Spendable
Utxo - Represents a spendable UTXO.
- TxSender
- Manages the process of sending Bitcoin transactions, including handling fee bumping strategies like Replace-By-Fee (RBF) and Child-Pays-For-Parent (CPFP).
Enums§
- Send
TxError - Transaction sending errors.
Constants§
- DEFAULT_
FINALITY_ DEPTH - Once a tx/outpoint has been observed confirmed/spent for at least this many blocks, we treat it as final and skip further RPC re-checks.
- DEFAULT_
SEQUENCE - Default sequence for transactions.
Functions§
- serialize_
tx_ 🔒for_ fund_ raw - Serialize a transaction for
fund_raw_transaction, working around Bitcoin Core’s deserialization bug for 0-input segwit transactions. fund_raw_transaction RPC gives deserialization error for 0-input transactions with segwit flag.