Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsInsufficientMinGasPrice ¶
IsInsufficientMinGasPrice checks if the error is due to the gas price being too low.
func IsNonceMismatch ¶
IsNonceMismatch checks if the error is due to a sequence mismatch.
func ParseInsufficientMinGasPrice ¶
ParseInsufficientMinGasPrice checks if the error is due to the gas price being too low. Given the previous gas price and gas limit, it returns the new minimum gas price that the node should accept. If the error is not due to the gas price being too low, it returns 0, nil
func ParseNonceMismatch ¶
ParseNonceMismatch extracts the expected sequence number from the ErrWrongSequence error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.