Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Transaction ¶
type Transaction struct { ID string MerkleRoot string From string TxType Type Time *config.Time Timestamp int64 Fees float64 Nonce uint32 Validators []string Inputs []map[string]*Input Outputs []map[string]*Output }
func (*Transaction) CreateTransaction ¶
func (t *Transaction) CreateTransaction(from, to, amount string, currencyID uint) (*Transaction, error)
Click to show internal directories.
Click to hide internal directories.