txpropagate

package
v0.0.0-...-215623d Latest Latest
Warning

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

Go to latest
Published: May 20, 2021 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TxPropagate

type TxPropagate struct {
	// contains filtered or unexported fields
}

func NewTxPropagate

func NewTxPropagate(txpool *core.TxPool) *TxPropagate

func (*TxPropagate) DeliverAnnounces

func (tp *TxPropagate) DeliverAnnounces(peerID string, hashes []common.Hash)

func (*TxPropagate) DeliverTransactions

func (tp *TxPropagate) DeliverTransactions(peerID string, txs []types.Transaction, direct bool)

func (*TxPropagate) RequestTransactions

func (tp *TxPropagate) RequestTransactions(peerID string, hashes []common.Hash) error

type TxsRequest

type TxsRequest struct {
	Hashes []common.Hash
	PeerID []byte
}

Jump to

Keyboard shortcuts

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