Versions in this module Expand all Collapse all v1 v1.0.9 Dec 22, 2022 v1.0.8 Dec 22, 2022 Changes in this version + func NewRewardTransaction(recipientAddress string, timestamp int64, value uint64) *network.TransactionResponse + type Transaction struct + func NewTransactionFromRequest(transactionRequest *network.TransactionRequest) (*Transaction, error) + func NewTransactionFromResponse(transactionResponse *network.TransactionResponse) (transaction *Transaction, err error) + func (transaction *Transaction) Equals(other *network.TransactionResponse) bool + func (transaction *Transaction) Fee() uint64 + func (transaction *Transaction) GetResponse() *network.TransactionResponse + func (transaction *Transaction) IsReward() bool + func (transaction *Transaction) MarshalJSON() ([]byte, error) + func (transaction *Transaction) RecipientAddress() string + func (transaction *Transaction) SenderAddress() string + func (transaction *Transaction) Timestamp() int64 + func (transaction *Transaction) Value() uint64 + func (transaction *Transaction) VerifySignature() error + type TransactionsPool struct + func NewTransactionsPool(blockchain protocol.Blockchain, registry protocol.Registry, ...) *TransactionsPool + func (pool *TransactionsPool) AddTransaction(transactionRequest *network.TransactionRequest, neighbors []network.Neighbor) + func (pool *TransactionsPool) Transactions() []*network.TransactionResponse + func (pool *TransactionsPool) Validate(timestamp int64)