Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wallet: add BIP125 RBF bump fee #1170

Open
wants to merge 21 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
0a3ecf2
mempool: Allow double spend of RBF transaction
pinheadmz Jul 3, 2019
bb8b4b0
mempool: Reject RBF replacements with insufficient fees
pinheadmz Jul 5, 2019
d62f1b3
mempool: Reject RBF replacement edge cases
pinheadmz Jul 5, 2019
70ef286
mempool: replace by fee
pinheadmz Jul 5, 2019
f3cd659
mempool: clarify eviction of RBF conflicts
pinheadmz Oct 14, 2019
bf43d9a
mempool: improve readability and documentation of RBF logic
pinheadmz Aug 11, 2023
caabf10
mempool: allow replacement of tx spending unconfirmed utxo
pinheadmz Aug 19, 2023
5e0cd19
mempool: restore original isDoubleSpend() implementation
pinheadmz Aug 19, 2023
6f04c0d
mempool: fix RBF Rule #2
pinheadmz Aug 19, 2023
6ae1752
mempool: check input index when comparing replacement to conflict
pinheadmz Aug 21, 2023
24408b9
mempool: allow replacement of tx spending unconfirmed utxo
pinheadmz Aug 11, 2023
f316989
mempool: allow RBF by default
pinheadmz Aug 1, 2023
f83e39d
wallet: make all txs replaceable by default, optionally opt out
pinheadmz Aug 1, 2023
f99a7c2
test: add utility forEvent()
pinheadmz Aug 1, 2023
b8afe61
wallet: implement and test bumpTXFee()
pinheadmz Aug 3, 2023
e83563a
cli/http: add bwallet-cli bump <txid> <rate> <sign> <passphrase>
pinheadmz Aug 11, 2023
9a1135a
wallet: do not replace TX with more than one change address
pinheadmz Sep 21, 2023
d5d302c
wallet: do not accept too-low RBF replacement fee rate
pinheadmz Sep 21, 2023
4d97480
wallet rbf: add new in/out if necessary
pinheadmz Sep 21, 2023
5f472ad
wallet rbf: do not violate rule 6
pinheadmz Sep 22, 2023
14e5743
wallet rbf: add new in/out when change output is too low for RBF fee
pinheadmz Sep 22, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
mempool: allow RBF by default
  • Loading branch information
pinheadmz committed Sep 21, 2023
commit f316989da59ad8f0b8cdad912a15260b90851390
2 changes: 1 addition & 1 deletion lib/mempool/mempool.js
Original file line number Diff line number Diff line change
Expand Up @@ -2147,7 +2147,7 @@ class MempoolOptions {
this.rejectAbsurdFees = true;
this.prematureWitness = false;
this.paranoidChecks = false;
this.replaceByFee = false;
this.replaceByFee = true;

this.maxSize = policy.MEMPOOL_MAX_SIZE;
this.maxOrphans = policy.MEMPOOL_MAX_ORPHANS;
Expand Down