Documentation
¶
Index ¶
Constants ¶
View Source
const (
MaxPeers int = 8
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockIndex ¶
type BlockIndex uint64
type Inv ¶
type Inv struct { NodeId string InvCount int InvType InvType // a map contain block index and block hash BlocksHash map[BlockIndex][]byte TXs []*types.Transaction }
type MsgBlock ¶
func NewMsgBlock ¶
func NewMsgBlock() *MsgBlock
type MsgTX ¶
type MsgTX struct { SenderID string `json:"sender"` TX types.Transaction `json:"tx"` }
type MsgUTXOSet ¶
Click to show internal directories.
Click to hide internal directories.