Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
add feefilter documentation #1384
Conversation
| + | ||
| +| Bytes | Name | Data Type | Description | ||
| +|-------|---------|-----------|--------------- | ||
| +| 8 | feerate | uint64_t | *Added in protocol version 70013 as described by BIP133.* <br><br>The fee rate (in Satoshis per kilobyte) under which transactions should not be relayed to this peer. |
Mirobit
Dec 9, 2016
•
Contributor
Added in protocol version 70013 as described by BIP133.
is a duplicate. Already mentioned on the top.
wbnns
self-assigned this
Dec 9, 2016
wbnns
added
the
Under Review
label
Dec 17, 2016
|
utACK |
|
Thanks, @jnewbery ! I just sent @jnewbery some suggested edits in jnewbery#1 . I also previewed the site after those edits and it LGTM. If those edits are merged, I give a tested ACK. Here's a screenshot of that preview (edit: I just realized that the table looks broken---that's because I reduced the font size to make everything fit on one screen; it looks correct in the original): |
|
Looks good to me. Thanks @harding! |
wbnns
added
On Hold
Changes Requested
and removed
Under Review
labels
Feb 9, 2017
wbnns
added
the
Dev Docs
label
Mar 1, 2017
|
@jnewbery Heya! Just wanted to follow-up again to see if you wouldn't mind rebasing this so we could go ahead and get it on the site. |
|
Apologies for the delay on this. Rebased. |
rosser2121
commented
Mar 8, 2017
|
What does rebased mean?
Ross
Respond back to connect.
…
|
wbnns
added
Merge Scheduled
and removed
Changes Requested
On Hold
labels
Mar 11, 2017
|
@jnewbery Thanks! @rosser2121 Here's more information on what a rebase is. Unless others object, this will be merged on Sunday, March 12th. |
| +The receiving peer may choose to ignore the message and not filter transaction | ||
| +inv messages. | ||
| + | ||
| +The fee filter is additive with bloom filters. If an SPV client loads a bloom filter and sends a feefilter message, transactions should only be relayed if they pass both filters. |
schildbach
Mar 11, 2017
•
Contributor
I think at this point it should be noted that in the case of blocks, feefilter is not additive with bloom filters.
schildbach
Mar 15, 2017
Contributor
More specifically, I'd perhaps add "Both block and filtereredblock messages are unaffected by fee filtering."
jnewbery
Mar 15, 2017
Contributor
I think you mean "Both block and filteredblockMerkleBlock messages..." (filteredblock is an inv type rather than a message).
If we add this, I think it should be more general, ie "feefilter has no impact on block propagation or responses to getdata messages", since it also won't affect Headers or CompactBlock messages. Thoughts?
schildbach
Mar 15, 2017
Contributor
Ah yes, that's what I meant. Your suggestion seems fine to me too.
|
@schildbach I've add a bit more explanation about feefilter interaction with block propagation and responses to getdata requests:
Let me know if you have any comments about that. @harding @wbnns let me know if you're happy with this addition and I'll squash into a single commit. |
|
Sounds fine to me. |
|
@jnewbery Looks good, thanks! |
|
Thanks for adding this! |
jnewbery
and others
added some commits
Oct 5, 2016
|
commits squashed. This is ready for merging. |
|
@jnewbery Thank you sir - will merge this as soon as tests pass. |

jnewbery commentedOct 5, 2016
This PR adds documentation for the
feefiltermessage type, added in Bitcoin Core V0.13.0.