Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CpuPowValidate ¶
type CpuPowValidate struct{}
CpuPowValidate does a cpu POW proof validation.
func (*CpuPowValidate) RequiredGas ¶
func (m *CpuPowValidate) RequiredGas(input []byte) uint64
type MemPowValidate ¶
type MemPowValidate struct{}
MemPowValidate implements a memory nonce validate
func (*MemPowValidate) RequiredGas ¶
func (m *MemPowValidate) RequiredGas(input []byte) uint64
RequiredGas returns the gas required to execute the pre-compiled contract.
Click to show internal directories.
Click to hide internal directories.