scanner

package
v0.0.0-...-2f442fc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 14, 2018 License: MIT Imports: 14 Imported by: 0

Documentation

Index

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)

func (*SNode) OnPing

func (n *SNode) OnPing(p *peer.Peer, msg *wire.MsgPing)

func (*SNode) OnReject

func (n *SNode) OnReject(p *peer.Peer, msg *wire.MsgReject)

func (*SNode) OnTx

func (n *SNode) OnTx(p *peer.Peer, msg *wire.MsgTx)

func (*SNode) OnVerAck

func (n *SNode) OnVerAck(p *peer.Peer, msg *wire.MsgVerAck)

func (*SNode) Start

func (n *SNode) Start()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL