Protocol bump
This commit is contained in:
parent
b232acd04e
commit
ec040908e9
2
peer.go
2
peer.go
|
@ -21,7 +21,7 @@ const (
|
||||||
// The size of the output buffer for writing messages
|
// The size of the output buffer for writing messages
|
||||||
outputBufferSize = 50
|
outputBufferSize = 50
|
||||||
// Current protocol version
|
// Current protocol version
|
||||||
ProtocolVersion = 21
|
ProtocolVersion = 22
|
||||||
// Interval for ping/pong message
|
// Interval for ping/pong message
|
||||||
pingPongTimer = 2 * time.Second
|
pingPongTimer = 2 * time.Second
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue