Documentation
¶
Index ¶
Constants ¶
View Source
const ( ArgReplace = "replace" ArgMaxNonce = "max-nonce" )
Variables ¶
View Source
var FixNonceGapCmd = &cobra.Command{ Use: "fix-nonce-gap", Short: "Send txs to fix the nonce gap for a specific account.", Long: fixNonceGapUsage, Args: cobra.NoArgs, PreRunE: func(cmd *cobra.Command, args []string) (err error) { inputFixNonceGapArgs.rpcURL, err = flag.GetRPCURL(cmd) if err != nil { return err } inputFixNonceGapArgs.privateKey, err = flag.GetRequiredPrivateKey(cmd) if err != nil { return err } return prepareRpcClient(cmd, args) }, RunE: fixNonceGap, SilenceUsage: true, }
Functions ¶
func WaitMineTransaction ¶
func WaitMineTransaction(ctx context.Context, client *ethclient.Client, tx *types.Transaction, txTimeout uint64) error
Wait for the transaction to be mined
Types ¶
type PoolContent ¶
type PoolContent struct {
BaseFee PoolContentTxs
Pending PoolContentTxs
Queued PoolContentTxs
}
type PoolContentTxs ¶
Click to show internal directories.
Click to hide internal directories.