Skip to content

Conversation

@instagibbs
Copy link
Contributor

Setting -mempoolreplacement=fee,-optin will cause the node to honor any RBF replacements even if they had the opt-out flags set.

This also sets the default for the wallet to create bip125-signaling transactions.

@instagibbs instagibbs changed the title Full RBF support [0.17] Full RBF support Dec 13, 2018
@instagibbs
Copy link
Contributor Author

rebased

Copy link
Contributor

@luke-jr luke-jr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK, with caveat

// do not actually support. Other service bits should be allocated via the
// BIP process.

NODE_REPLACE_BY_FEE = (1 << 26),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this makes sense if the entire network (or even most of it) will be expected to enable full RBF.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(Although note that this PR does NOT currently enable full RBF by default...)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct. I wanted something as minimal as possible, such that nodes could opt-out(of honoring non-rbf).

Perhaps this flag is over-kill, but 🤷‍♂️

@instagibbs instagibbs merged commit c00d83f into ElementsProject:elements-0.17 Dec 18, 2018
instagibbs added a commit that referenced this pull request Dec 18, 2018
c00d83f Set walletrbf default to 1 (Gregory Sanders)
0853a23 Make it possible to unconditionally RBF with mempoolreplacement=fee,-optin (Luke Dashjr)
d0cccad Recognise temporary REPLACE_BY_FEE service bit (Luke Dashjr)

Pull request description:

  Setting `-mempoolreplacement=fee,-optin` will cause the node to honor any RBF replacements even if they had the opt-out flags set.

  This also sets the default for the wallet to create bip125-signaling transactions.

Tree-SHA512: 04ecc010b6255b5346357f831609702a8a33531fb21e83e061b19945b4a83afe2e5bd82b6602e04394871d9f0c074c54847ff4616930bcd2c17f3c3ddd808fae
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants