Versions in this module Expand all Collapse all v1 v1.0.1 Oct 12, 2020 Changes in this version + const AddOracle + const AddOracleInNebula + const ApproveLastRound + const Bytes + const Commit + const Int + const NewRound + const Result + const Reveal + const SetNebula + const SignNewConsuls + const SignNewOracles + const String + const Vote + type Arg struct + Type Type + Value []byte + type BytesValue struct + Value []byte + type ID [32]byte + func (id ID) Bytes() []byte + type IntValue struct + Value int64 + type StringValue struct + Value string + type Transaction struct + Args []Arg + Func TxFunc + Id ID + SenderPubKey account.ConsulPubKey + Signature [72]byte + Timestamp uint64 + func New(pubKey account.ConsulPubKey, funcName TxFunc, privKey tCrypto.PrivKey) (*Transaction, error) + func UnmarshalJson(data []byte) (*Transaction, error) + func (tx *Transaction) AddValue(value Value) + func (tx *Transaction) AddValues(values []Value) + func (tx *Transaction) Bytes() []byte + func (tx *Transaction) Hash() + func (tx *Transaction) Sign(privKey tCrypto.PrivKey) error + func (tx *Transaction) Value(index int) interface{} + type TxFunc string + type Type string + type Value interface