Documentation ¶
Index ¶
- type SNode
- func (n *SNode) OnMerkleBlock(p *peer.Peer, msg *wire.MsgMerkleBlock)
- func (n *SNode) OnPing(p *peer.Peer, msg *wire.MsgPing)
- func (n *SNode) OnReject(p *peer.Peer, msg *wire.MsgReject)
- func (n *SNode) OnTx(p *peer.Peer, msg *wire.MsgTx)
- func (n *SNode) OnVerAck(p *peer.Peer, msg *wire.MsgVerAck)
- func (n *SNode) Start()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SNode ¶
type SNode struct { Peer *peer.Peer BlocksQueued int BlockHashes map[string]*db.Block PrevBlockHashes map[string]*db.Block MemoTxnsFound int AllTxnsFound int NumBlocksBack uint }
var Node SNode
func (*SNode) OnMerkleBlock ¶
func (n *SNode) OnMerkleBlock(p *peer.Peer, msg *wire.MsgMerkleBlock)
Click to show internal directories.
Click to hide internal directories.