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

Add Protocol Version for enable/disable features #119

Merged
merged 2 commits into from
Sep 9, 2020
Merged
Changes from 1 commit
Commits
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
Next Next commit
Add Protocol Version for enable/disable features
  • Loading branch information
mderasse committed Sep 8, 2020
commit 37e95eea58dac1b8e697ef8849e92bb73035b899
10 changes: 5 additions & 5 deletions src/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,18 @@ static const int CADDR_TIME_VERSION = 31402;
static const int BIP0031_VERSION = 60000;

//! "filter*" commands are disabled without NODE_BLOOM after and including this version
static const int NO_BLOOM_VERSION = 70011;
static const int NO_BLOOM_VERSION = 80002;

//! "sendheaders" command and announcing blocks with headers starts with this version
static const int SENDHEADERS_VERSION = 70012;
static const int SENDHEADERS_VERSION = 80002;

//! "feefilter" tells peers to filter invs to you by fee starts with this version
static const int FEEFILTER_VERSION = 70013;
static const int FEEFILTER_VERSION = 80002;

//! short-id-based block download starts with this version
static const int SHORT_IDS_BLOCKS_VERSION = 70014;
static const int SHORT_IDS_BLOCKS_VERSION = 80002;

//! not banning for invalid compact blocks starts with this version
static const int INVALID_CB_NO_BAN_VERSION = 70015;
static const int INVALID_CB_NO_BAN_VERSION = 80002;

#endif // BITCOIN_VERSION_H