It turns out clients pass 0.10 instead of 1.0 as the protocol version. Distinguish some handlers for 1.0 and 1.1 protocols. Log protocol version request Add tests of new library function
6 lines
109 B
Python
6 lines
109 B
Python
# Server name and protocol versions
|
|
|
|
VERSION = 'ElectrumX 1.0.17'
|
|
PROTOCOL_MIN = '0.10'
|
|
PROTOCOL_MAX = '1.1'
|