Versions in this module Expand all Collapse all v0 v0.1.0 Mar 26, 2024 v0.0.3 Jul 21, 2023 Changes in this version + var CommonLogger = log15.New("module", "go-sdk-common") + var ErrContainsData = errors.New("cannot receive a block that contains data") + var ErrDifferentReceiver = errors.New("cannot receive a block with a different receiver") + var ErrNoNonce = errors.New("cannot have difficulty and no nonce") + var ErrNonExistentAccountBlock = errors.New("account-block does not exist") + var ErrZeroFromHash = errors.New("cannot receive a block that comes from a zero hash send block") + var RPCLogger = log15.New("module", "go-sdk-rpc") + var WalletLogger = log15.New("module", "go-sdk-wallet") + func CheckAndSetFields(client *rpc_client.RpcClient, transaction *nom.AccountBlock, ...) error + func DebugAccountBlock(ab *nom.AccountBlock) + func SetDifficulty(client *rpc_client.RpcClient, transaction *nom.AccountBlock) error + type Zenon struct + Client *rpc_client.RpcClient + func NewZenon(keyFilePath string) (*Zenon, error) + func (z *Zenon) Address() types.Address + func (z *Zenon) Send(transaction *nom.AccountBlock) error + func (z *Zenon) Start(password, url string, index uint32) error + func (z *Zenon) Stop() error