Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrZeroFromHash = errors.New("cannot receive a block that comes from a zero hash send block") ErrNonExistentAccountBlock = errors.New("account-block does not exist") ErrDifferentReceiver = errors.New("cannot receive a block with a different receiver") ErrContainsData = errors.New("cannot receive a block that contains data") ErrNoNonce = errors.New("cannot have difficulty and no nonce") )
Functions ¶
func CheckAndSetFields ¶
func CheckAndSetFields(client *rpc_client.RpcClient, transaction *nom.AccountBlock, address types.Address, public []byte) error
func DebugAccountBlock ¶
func DebugAccountBlock(ab *nom.AccountBlock)
func SetDifficulty ¶
func SetDifficulty(client *rpc_client.RpcClient, transaction *nom.AccountBlock) error
Types ¶
type Zenon ¶
type Zenon struct { Client *rpc_client.RpcClient // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.