Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TxnRelayer ¶
type TxnRelayer interface { // relays raw transaction broadcasting asynchronously. Relay(signedTx hexutil.Bytes) bool }
TxnRelayer relays raw transaction by broadcasting to node pool of different regions to accelerate P2P diffusion.
func MustNewEthTxnRelayerFromViper ¶
func MustNewEthTxnRelayerFromViper() TxnRelayer
func MustNewTxnRelayerFromViper ¶
func MustNewTxnRelayerFromViper() TxnRelayer
Click to show internal directories.
Click to hide internal directories.