|
BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
captures the result of evaluating the operations contained in the transaction More...
#include <transaction.hpp>
Public Member Functions | |
| processed_transaction (const signed_transaction &trx=signed_transaction()) | |
| virtual | ~processed_transaction ()=default |
| digest_type | merkle_digest () const |
Public Member Functions inherited from graphene::protocol::precomputable_transaction | |
| precomputable_transaction () | |
| precomputable_transaction (const signed_transaction &tx) | |
| precomputable_transaction (signed_transaction &&tx) | |
| virtual | ~precomputable_transaction ()=default |
| virtual const transaction_id_type & | id () const override |
| virtual void | validate () const override |
| virtual const flat_set< public_key_type > & | get_signature_keys (const chain_id_type &chain_id) const override |
| Extract public keys from signatures with given chain ID. More... | |
| virtual uint64_t | get_packed_size () const override |
Public Member Functions inherited from graphene::protocol::signed_transaction | |
| signed_transaction (const transaction &trx=transaction()) | |
| virtual | ~signed_transaction ()=default |
| const signature_type & | sign (const private_key_type &key, const chain_id_type &chain_id) |
| signature_type | sign (const private_key_type &key, const chain_id_type &chain_id) const |
| set< public_key_type > | get_required_signatures (const chain_id_type &chain_id, const flat_set< public_key_type > &available_keys, const std::function< const authority *(account_id_type)> &get_active, const std::function< const authority *(account_id_type)> &get_owner, bool allow_non_immediate_owner, bool ignore_custom_operation_required_authorities, uint32_t max_recursion=GRAPHENE_MAX_SIG_CHECK_DEPTH) const |
| void | verify_authority (const chain_id_type &chain_id, const std::function< const authority *(account_id_type)> &get_active, const std::function< const authority *(account_id_type)> &get_owner, const custom_authority_lookup &get_custom, bool allow_non_immediate_owner, bool ignore_custom_operation_required_auths, uint32_t max_recursion=GRAPHENE_MAX_SIG_CHECK_DEPTH) const |
| set< public_key_type > | minimize_required_signatures (const chain_id_type &chain_id, const flat_set< public_key_type > &available_keys, const std::function< const authority *(account_id_type)> &get_active, const std::function< const authority *(account_id_type)> &get_owner, const custom_authority_lookup &get_custom, bool allow_non_immediate_owner, bool ignore_custom_operation_required_auths, uint32_t max_recursion=GRAPHENE_MAX_SIG_CHECK_DEPTH) const |
| void | clear () |
| void | clear_signatures () |
Public Member Functions inherited from graphene::protocol::transaction | |
| virtual | ~transaction ()=default |
| digest_type | digest () const |
| Calculate the digest for a transaction. More... | |
| void | set_expiration (fc::time_point_sec expiration_time) |
| void | set_reference_block (const block_id_type &reference_block) |
| template<typename Visitor > | |
| vector< typename Visitor::result_type > | visit (Visitor &&visitor) |
| visit all operations More... | |
| template<typename Visitor > | |
| vector< typename Visitor::result_type > | visit (Visitor &&visitor) const |
| void | get_required_authorities (flat_set< account_id_type > &active, flat_set< account_id_type > &owner, vector< authority > &other, bool ignore_custom_operation_required_auths) const |
Public Attributes | |
| vector< operation_result > | operation_results |
Public Attributes inherited from graphene::protocol::signed_transaction | |
| vector< signature_type > | signatures |
Public Attributes inherited from graphene::protocol::transaction | |
| uint16_t | ref_block_num = 0 |
| uint32_t | ref_block_prefix = 0 |
| fc::time_point_sec | expiration |
| vector< operation > | operations |
| extensions_type | extensions |
Additional Inherited Members | |
Protected Member Functions inherited from graphene::protocol::transaction | |
| digest_type | sig_digest (const chain_id_type &chain_id) const |
Protected Attributes inherited from graphene::protocol::precomputable_transaction | |
| bool | _validated = false |
| uint64_t | _packed_size = 0 |
Protected Attributes inherited from graphene::protocol::signed_transaction | |
| flat_set< public_key_type > | _signees |
Protected Attributes inherited from graphene::protocol::transaction | |
| transaction_id_type | _tx_id_buffer |
captures the result of evaluating the operations contained in the transaction
When processing a transaction some operations generate new object IDs and these IDs cannot be known until the transaction is actually included into a block. When a block is produced these new ids are captured and included with every transaction. The index in operation_results should correspond to the same index in operations.
If an operation did not create any new object IDs then 0 should be returned.
Definition at line 292 of file transaction.hpp.
|
inline |
Definition at line 294 of file transaction.hpp.
|
virtualdefault |
| digest_type graphene::protocol::processed_transaction::merkle_digest | ( | ) | const |
Definition at line 36 of file transaction.cpp.
| vector<operation_result> graphene::protocol::processed_transaction::operation_results |
Definition at line 298 of file transaction.hpp.
1.8.17