Versions in this module Expand all Collapse all v0 v0.7.2 Apr 16, 2020 v0.7.1 Apr 9, 2020 Changes in this version + const ACTOR_TIMEOUT + const ADDR_TYPE + const BLOCK_TYPE + const CHAN_CAPABILITY + const CHECKSUM_LEN + const CMD_OFFSET + const CONN_MAX_BACK + const CONN_MONITOR + const CONSENSUS_TYPE + const DIAL_TIMEOUT + const DISCONNECT_TYPE + const ESTABLISH + const GET_BLOCKS_TYPE + const GET_DATA_TYPE + const GET_HEADERS_TYPE + const GetADDR_TYPE + const HAND + const HAND_SHAKE + const HAND_SHAKED + const HEADERS_TYPE + const HTTP_INFO_FLAG + const INACTIVITY + const INIT + const INV_TYPE + const KEEPALIVE_TIMEOUT + const MAX_ADDR_NODE_CNT + const MAX_BLK_HDR_CNT + const MAX_BUF_LEN + const MAX_INV_BLK_CNT + const MAX_INV_HDR_CNT + const MAX_MSG_LEN + const MAX_PAYLOAD_LEN + const MAX_REQ_BLK_ONCE + const MAX_REQ_RECORD_SIZE + const MAX_RESP_CACHE_SIZE + const MAX_RETRY_COUNT + const MAX_TX_CACHE_SIZE + const MSG_CMD_LEN + const MSG_HDR_LEN + const NOT_FOUND_TYPE + const PER_SEND_LEN + const PING_TYPE + const PONG_TYPE + const PROTOCOL_VERSION + const RECENT_FILE_NAME + const RECENT_LIMIT + const RECENT_TIMEOUT + const REQ_INTERVAL + const SERVICE_NODE + const SYNC_BLK_WAIT + const TX_TYPE + const UPDATE_RATE_PER_BLOCK + const VERACK_TYPE + const VERIFY_NODE + const VERSION_TYPE + const WRITE_DEADLINE + func Checksum(data []byte) [CHECKSUM_LEN]byte + func NewChecksum() hash.Hash + func ParseIPAddr(s string) (string, error) + func ParseIPPort(s string) (string, error) + type AppendBlock struct + Block *types.Block + BlockSize uint32 + FromID uint64 + MerkleRoot com.Uint256 + type AppendHeaders struct + FromID uint64 + Headers []*types.Header + type AppendPeerID struct + ID uint64 + type PeerAddr struct + ConsensusPort uint16 + ID uint64 + IpAddr [16]byte + Port uint16 + Services uint64 + Time int64 + type RemovePeerID struct + ID uint64