1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
// ---------------- [ File: bitcoin-version/src/version.rs ]
/*!
| network protocol versioning
|
*/
crateix!;
//-------------------------------------------[.cpp/bitcoin/src/version.h]
pub const PACKAGE_NAME: &'static str = "bitcoin";
pub const PROTOCOL_VERSION: i32 = 70016;
/**
| initial proto version, to be increased
| after version/verack negotiation
|
*/
pub const INIT_PROTO_VERSION: i32 = 209;
/**
| disconnect from peers older than this
| proto version
|
*/
pub const MIN_PEER_PROTO_VERSION: i32 = 31800;
/**
| BIP 0031, pong message, is enabled for
| all versions AFTER this one
|
*/
pub const BIP0031_VERSION: i32 = 60000;
/**
| "filter*" commands are disabled without
| NODE_BLOOM after and including this
| version
|
*/
pub const NO_BLOOM_VERSION: i32 = 70011;
/**
| "sendheaders" command and announcing
| blocks with headers starts with this
| version
|
*/
pub const SENDHEADERS_VERSION: i32 = 70012;
/**
| "feefilter" tells peers to filter invs
| to you by fee starts with this version
|
*/
pub const FEEFILTER_VERSION: i32 = 70013;
/**
| short-id-based block download starts
| with this version
|
*/
pub const SHORT_IDS_BLOCKS_VERSION: i32 = 70014;
/**
| not banning for invalid compact blocks
| starts with this version
|
*/
pub const INVALID_CB_NO_BAN_VERSION: i32 = 70015;
/**
| "wtxidrelay" command for wtxid-based
| relay starts with this version
|
*/
pub const WTXID_RELAY_VERSION: i32 = 70016;
/*
| Make sure that none of the values above
| collide with `SERIALIZE_TRANSACTION_NO_WITNESS`
| or `ADDRV2_FORMAT`.
|
*/