• Kirill Smelkov's avatar
    go/neo/neonet: Teach Dial to autodetect server encoding · ce89d01a
    Kirill Smelkov authored
    NEO/go server accepts preferred encoding of client from start, but
    NEO/py server implements either N or M encoding and disconnects client
    silently if handshake is not exactly what is expected.
    
    However we can teach Dial to retry with different preferred options and
    this way when connection to a NEO/py server, it will essentially
    autodetect which encoding is used and accepted by remote peer.
    ce89d01a
tneonet.go 1.11 KB