Documentation ¶
Index ¶
- func HandleRejectedTx(txn *tx.Tx, err error, nodeID int64, recentRejects map[util.Hash]struct{}) (missTxs []util.Hash, rejectTxs []util.Hash)
- func ProcessBlock(b *block.Block, forceProcessing bool) (bool, error)
- func ProcessBlockHeader(headerList []*block.BlockHeader, lastIndex *blockindex.BlockIndex) error
- func ProcessNewBlock(pblock *block.Block, forceProcessing bool, fNewBlock *bool) error
- func ProcessTransaction(txn *tx.Tx, recentRejects map[util.Hash]struct{}, nodeID int64) ([]*tx.Tx, []util.Hash, []util.Hash, error)
- type ClearBannedRequest
- type GetConnectionCountRequest
- type GetConnectionCountResponse
- type GetNetTotalsRequest
- type GetPeersInfoRequest
- type ListBannedRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleRejectedTx ¶ added in v0.0.3
func ProcessBlockHeader ¶
func ProcessBlockHeader(headerList []*block.BlockHeader, lastIndex *blockindex.BlockIndex) error
func ProcessNewBlock ¶
Types ¶
type ClearBannedRequest ¶
type ClearBannedRequest struct{}
type GetConnectionCountRequest ¶
type GetConnectionCountRequest struct{}
GetConnectionCountRequest Returns the number of connections to other nodes
type GetConnectionCountResponse ¶
type GetConnectionCountResponse struct {
Count int
}
type GetNetTotalsRequest ¶
type GetNetTotalsRequest struct{}
type GetPeersInfoRequest ¶
type GetPeersInfoRequest struct{}
GetPeersInfoRequest Returns data about each connected network node as a json array of object. return one object implementing []rpc.RPCServerPeer interface
type ListBannedRequest ¶
type ListBannedRequest struct{}
ListBannedRequest returns btcjson.ListBannedResult and any error
Click to show internal directories.
Click to hide internal directories.