# Functions
make sure to only call with meta data of same epoch.
No description provided by the author
DeployEthash deploys a new Ethereum contract, binding an instance of Ethash to it.
No description provided by the author
MakeCache generates a new ethash cache and optionally stores it to disk.
No description provided by the author
MakeDataset generates a new ethash dataset and optionally stores it to disk.
New creates a full sized ethash PoW scheme.
No description provided by the author
NewEthash creates a new instance of Ethash, bound to a specific deployed contract.
NewEthashCaller creates a new read-only instance of Ethash, bound to a specific deployed contract.
NewEthashFilterer creates a new log filterer instance of Ethash, bound to a specific deployed contract.
NewEthashTransactor creates a new write-only instance of Ethash, bound to a specific deployed contract.
NewFakeDelayer creates a ethash consensus engine with a fake PoW scheme that accepts all blocks as valid, but delays verifications by some time, though they still have to conform to the Ethereum consensus rules.
NewFakeFailer creates a ethash consensus engine with a fake PoW scheme that accepts all blocks as valid apart from the single one specified, though they still have to conform to the Ethereum consensus rules.
NewFaker creates a ethash consensus engine with a fake PoW scheme that accepts all blocks' seal as valid, though they still have to conform to the Ethereum consensus rules.
NewFullFaker creates a ethash consensus engine with a full fake scheme that accepts all blocks as valid, without checking any consensus rules whatsoever.
NewShared creates a full sized ethash PoW shared between all requesters running in the same process.
NewTester creates a small sized ethash PoW scheme useful only for testing purposes.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SeedHash is the seed to use for generating a verification cache and the mining dataset.
# Constants
EthashABI is the input ABI used to generate the binding from.
# Variables
No description provided by the author
No description provided by the author
EthashBin is the compiled bytecode used for deploying new contracts.
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
Ethash is an auto generated Go binding around an Ethereum contract.
EthashCaller is an auto generated read-only Go binding around an Ethereum contract.
EthashCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
EthashCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
EthashFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
Ethash is a consensus engine based on proot-of-work implementing the ethash algorithm.
EthashRaw is an auto generated low-level Go binding around an Ethereum contract.
EthashSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
EthashSetEpochData represents a SetEpochData event raised by the Ethash contract.
EthashSetEpochDataIterator is returned from FilterSetEpochData and is used to iterate over the raw logs and unpacked data for SetEpochData events raised by the Ethash contract.
EthashTransactor is an auto generated write-only Go binding around an Ethereum contract.
EthashTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
EthashTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.