bolt-proto 0.12.0

Bolt protocol primitives: values, messages, and serialization / deserialization.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/// Protocol version 1.0
pub const V1_0: u32 = 0x0001;
/// Protocol version 2.0
pub const V2_0: u32 = 0x0002;
/// Protocol version 3.0
pub const V3_0: u32 = 0x0003;
/// Protocol version 4.0
pub const V4_0: u32 = 0x0004;
/// Protocol version 4.1
pub const V4_1: u32 = 0x0104;
/// Protocol version 4.2
pub const V4_2: u32 = 0x0204;
/// Protocol version 4.3
pub const V4_3: u32 = 0x0304;
/// Protocol version 4.4
pub const V4_4: u32 = 0x0404;
/// Protocol version 4.0, 4.1, 4.2, 4.3, or 4.4
pub const V4: u32 = 0x040404;