Documentation ¶
Index ¶
Constants ¶
const SignatureSize = 65
SignatureSize is a byte size of a signature calculated by Ethereum with recovery-id, V, included. The signature consist of three values (R,V,S) in the following order: R = [0:31] S = [32:63] V = [64]
Variables ¶
var ( // DefaultMiningCheckInterval is the default interval in which transaction // mining status is checked. If the transaction is not mined within this // time, the gas price is increased and transaction is resubmitted. // This value can be overwritten in the configuration file. DefaultMiningCheckInterval = 60 * time.Second // DefaultMaxGasPrice specifies the default maximum gas price the client is // willing to pay for the transaction to be mined. The offered transaction // gas price can not be higher than the max gas price value. If the maximum // allowed gas price is reached, no further resubmission attempts are // performed. This value can be overwritten in the configuration file. DefaultMaxGasPrice = big.NewInt(50000000000) // 50 Gwei )
Functions ¶
func Connect ¶
Connect makes the network connection to the Ethereum network and returns a standard handle to the chain interface. Note: for other things to work correctly the configuration will need to reference a websocket, "ws://", or local IPC connection.
func ConnectUtility ¶
ConnectUtility makes the network connection to the Ethereum network and returns a utility handle to the chain interface with additional methods for non- standard client interactions. Note: for other things to work correctly the configuration will need to reference a websocket, "ws://", or local IPC connection.
Types ¶
This section is empty.