CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
24 namespace catapult {
namespace model {
54 std::unique_ptr<BlockStatement>
build();
void addResolution(const UnresolvedAddress &unresolved, const Address &resolved)
Adds a resolution entry for resolving unresolved value to resolved value.
Definition: BlockStatementBuilder.cpp:80
void addReceipt(const Receipt &receipt)
Adds receipt to this builder.
Definition: BlockStatementBuilder.cpp:48
Binary layout for a receipt entity.
Definition: Receipt.h:31
Collection of receipts scoped to a transaction.
Definition: TransactionStatement.h:28
const ReceiptSource & source() const
Gets active source.
Definition: BlockStatementBuilder.cpp:30
uint32_t PrimaryId
Transaction primary source (e.g. index within block).
Definition: ReceiptSource.h:43
std::unique_ptr< BlockStatement > m_pStatement
Definition: BlockStatementBuilder.h:58
std::unique_ptr< BlockStatement > build()
Builds a block statement.
Definition: BlockStatementBuilder.cpp:88
Collection of receipts scoped to a block.
Definition: BlockStatementBuilder.h:27
Receipt source (unique within a block).
Definition: ReceiptSource.h:29
void addReceipt(const Receipt &receipt)
Adds receipt to this transaction statement.
Definition: TransactionStatement.cpp:65
void setSource(const ReceiptSource &source)
Sets active source.
Definition: BlockStatementBuilder.cpp:34
void popSource()
Decrements the current primary source and removes all receipts associated with it.
Definition: BlockStatementBuilder.cpp:38
Definition: AddressExtractionExtension.cpp:28
ReceiptSource m_activeSource
Definition: BlockStatementBuilder.h:57
void DeepCopyTo(BlockStatement &destination, const BlockStatement &source)
Creates a deep copy of source into destination.
Definition: BlockStatement.cpp:101
BlockStatementBuilder()
Creates a builder.
Definition: BlockStatementBuilder.cpp:25