Documentation ¶
Index ¶
Constants ¶
View Source
const ( TRANSACTION_SIZE = 1604 // The amount of bytes used for the requested transaction hash. GOSSIP_REQUESTED_TX_HASH_BYTES_LENGTH = 49 // The amount of bytes making up the non signature message fragment part of a transaction gossip payload. NON_SIG_TX_PART_BYTES_LENGTH = 292 // The max amount of bytes a signature message fragment is made up from. SIG_DATA_MAX_BYTES_LENGTH = 1312 // Total supply of IOTA available in the network. Used for ensuring a balanced ledger state and bundle balances // = (3^33 - 1) / 2 TOTAL_SUPPLY uint64 = 2779530283277761 )
Variables ¶
This section is empty.
Functions ¶
func TransactionFromCompressedBytes ¶
func TransactionFromCompressedBytes(transactionData []byte, txHash ...trinary.Hash) (*transaction.Transaction, error)
func TruncateTx ¶
Truncates the given bytes encoded transaction data.
txBytes the transaction bytes to truncate return an array containing the truncated transaction data
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.