Skip to content

Commit

Permalink
add debug log for rbf
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyukang committed Oct 31, 2023
1 parent 12b5c17 commit e8809cf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tx-pool/src/process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,11 @@ impl TxPoolService {
for id in conflicts.iter() {
let removed = tx_pool.pool_map.remove_entry_and_descendants(id);
for old in removed {
debug!(
"remove conflict tx {} for RBF by new tx {}",
old.transaction().hash(),
entry.transaction().hash()
);
let reject = Reject::RBFRejected(format!(
"replaced by {}",
entry.proposal_short_id()
Expand Down

0 comments on commit e8809cf

Please sign in to comment.