Skip to main content

Crate tari_transaction_components

Crate tari_transaction_components 

Source

Re-exports§

pub use tari_amount::MicroMinotari;
pub use transaction_builder::TransactionBuilder;
pub use transaction_builder::TransactionBuilderError;

Modules§

aggregated_body
consensus
crypto_factories
fee
helpers
key_manager
multisig
offline_signing
rpc
tari_amount
tari_proof_of_work
test_helpers
transaction_builder
transaction_components
validation
The validation module defines the [Validation] trait which describes all code that can perform block, transaction, or other validation tasks. Validators implement the [Validation] trait and can be chained together in a [ValidationPipeline] object to carry out complex validation routines.
weight

Macros§

__covenant_inner
covenant
This macro has three different patterns that it can match against based on the syntax provided.
tx
The tx macro is a convenience wrapper around the create_tx function, making the arguments optional and explicit via keywords.
txn_schema
A utility macro to help make it easy to build transactions.

Structs§

BanReason
The reason for a peer being banned
CoinbaseBuilder

Enums§

BanPeriod
CoinbaseBuildError

Functions§

format_currency
Return a currency styled String
generate_coinbase
Clients that do not need to spend the wallet output must call this function to generate a coinbase transaction, so that the only way to get access to the funds will be via the Diffie-Hellman shared secret.
generate_coinbase_with_wallet_output
Clients that need to spend the wallet output must call this function to generate a coinbase transaction, so that the only way to get access to the funds will be via the Diffie-Hellman shared secret.
tx_outputs_to_tx_id