install error

This commit is contained in:
TenderIronh
2021-12-21 14:41:07 +08:00
parent 2d6521be43
commit a528441342
4 changed files with 25 additions and 14 deletions

View File

@@ -4,14 +4,13 @@ import (
"bytes"
"encoding/binary"
"encoding/json"
"errors"
"hash/crc64"
"math/big"
"net"
"time"
)
const OpenP2PVersion = "0.97.0"
const OpenP2PVersion = "0.97.1"
const ProducnName string = "openp2p"
type openP2PHeader struct {
@@ -131,14 +130,6 @@ const (
NatTestTimeout = time.Second * 10
)
// error message
var (
// ErrorS2S string = "s2s is not supported"
// ErrorHandshake string = "handshake error"
ErrorS2S = errors.New("s2s is not supported")
ErrorHandshake = errors.New("handshake error")
)
// NATNone has public ip
const (
NATNone = 0