Documentation ¶
Index ¶
- func Cleaner()
- func GetRequest() uint64
- func IsRequest(id uint64, from *peer.Peer) bool
- func NewRequest(id uint64, from *peer.Peer) uint64
- func RequestBlockBodys(p *peer.Peer, number uint64, hash []common.Hash) error
- func RequestBlockHeader(p *peer.Peer, number uint64) error
- func RequestTxs(p *peer.Peer, txs []common.Hash) error
- func SendAnnounceTxs(p *peer.Peer, txs []common.Hash) error
- func SendBlockBodies(p *peer.Peer, bodys []*packet.BlockBody, requestId uint64) error
- func SendBlockHeaders(p *peer.Peer, headers []*types.Header, requestId uint64) error
- func SendPooledTxs(p *peer.Peer, txs []*types.Transaction, requestId uint64) error
- type Request
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRequest ¶
func GetRequest() uint64
func RequestBlockBodys ¶
func SendBlockBodies ¶
func SendBlockHeaders ¶
func SendPooledTxs ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.