diff options
author | Suhas Daftuar <sdaftuar@gmail.com> | 2020-01-30 10:10:50 -0500 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2020-09-24 13:24:10 +0100 |
commit | 181ffadd162a84551b3518de77b5dcc08c712425 (patch) | |
tree | 67144b9e0b026b1e246cc01473954a612832e40d /src/version.h | |
parent | 93826726e76730b061ec4c91d69b2b34ebf98ec9 (diff) | |
download | bitcoin-181ffadd162a84551b3518de77b5dcc08c712425.tar.xz |
Add p2p message "wtxidrelay"
When sent to and received from a given peer, enables using wtxid's for
announcing and fetching transactions with that peer.
Diffstat (limited to 'src/version.h')
-rw-r--r-- | src/version.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/version.h b/src/version.h index d932b512d4..e55871fc41 100644 --- a/src/version.h +++ b/src/version.h @@ -9,7 +9,7 @@ * network protocol versioning */ -static const int PROTOCOL_VERSION = 70015; +static const int PROTOCOL_VERSION = 70016; //! initial proto version, to be increased after version/verack negotiation static const int INIT_PROTO_VERSION = 209; @@ -42,4 +42,7 @@ static const int SHORT_IDS_BLOCKS_VERSION = 70014; //! not banning for invalid compact blocks starts with this version static const int INVALID_CB_NO_BAN_VERSION = 70015; +//! "wtxidrelay" command for wtxid-based relay starts with this version +static const int WTXID_RELAY_VERSION = 70016; + #endif // BITCOIN_VERSION_H |