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
- Coinbase
Builder
Enums§
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