|
CatapultServer
v0.5.0.1 (Elephant)
|
Mongo transaction metadata. More...

Public Member Functions | |
| MongoTransactionMetadata (const model::TransactionElement &element) | |
| Creates a new metadata around element. More... | |
| MongoTransactionMetadata (const model::TransactionElement &element, Height height, uint32_t index) | |
| Creates a new metadata around element, height and index. More... | |
| MongoTransactionMetadata (const model::TransactionInfo &transactionInfo) | |
| Creates a new metadata around info. More... | |
Public Attributes | |
| bsoncxx::oid | ObjectId |
| const Hash256 & | EntityHash |
| Transaction hash. More... | |
| const Hash256 & | MerkleComponentHash |
| Modified hash that should be used as a hash in the merkle tree. More... | |
| const model::UnresolvedAddressSet & | Addresses |
| Addresses involved in the transaction. More... | |
| catapult::Height | Height |
| Height. More... | |
| uint32_t | Index |
| Index of the transaction in the containing block. More... | |
Private Member Functions | |
| MongoTransactionMetadata (const Hash256 &entityHash, const Hash256 &merkleComponentHash, const model::UnresolvedAddressSet &addresses, Height height, uint32_t index) | |
Mongo transaction metadata.
|
inlineexplicit |
Creates a new metadata around element.
|
inlineexplicit |
Creates a new metadata around element, height and index.
|
inlineexplicit |
Creates a new metadata around info.
|
inlineprivate |
| const model::UnresolvedAddressSet& catapult::mongo::MongoTransactionMetadata::Addresses |
Addresses involved in the transaction.
| const Hash256& catapult::mongo::MongoTransactionMetadata::EntityHash |
Transaction hash.
| catapult::Height catapult::mongo::MongoTransactionMetadata::Height |
Height.
| uint32_t catapult::mongo::MongoTransactionMetadata::Index |
Index of the transaction in the containing block.
| const Hash256& catapult::mongo::MongoTransactionMetadata::MerkleComponentHash |
Modified hash that should be used as a hash in the merkle tree.
| bsoncxx::oid catapult::mongo::MongoTransactionMetadata::ObjectId |
Object id.
nullptr context, which uses default threadsafe context from bson_context_get_default to produce process-unique identifiers.