CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
26 namespace catapult {
namespace model {
29 template<
typename TUnresolved,
typename TResolved, ReceiptType ResolutionReceiptType>
utils::ByteArray< Hash256_Size, Hash256_tag > Hash256
Definition: src/catapult/types.h:47
const ResolutionEntry & entryAt(size_t index) const
Gets the resolution entry at index.
KeccakBuilder< Sha3ModeTag, Hash256_tag > Sha3_256_Builder
Sha3_256_Builder.
Definition: Hashes.h:85
size_t size() const
Gets the number of attached resolution entries.
void addResolution(const TResolved &resolved, const ReceiptSource &source)
Adds a resolution entry for resolving the unresolved value to resolved value at source.
ReceiptType
Enumeration of receipt types.
Definition: ReceiptType.h:58
std::vector< ResolutionEntry > m_entries
Definition: ResolutionStatement.h:68
Collection of receipts scoped to a unresolved value.
Definition: ResolutionStatement.h:30
uint64_t size
Definition: MemoryCounters.cpp:65
Receipt source (unique within a block).
Definition: ReceiptSource.h:29
const TUnresolved & unresolved() const
Gets unresolved value.
TResolved ResolvedValue
Resolved value.
Definition: ResolutionStatement.h:37
#define CATAPULT_THROW_INVALID_ARGUMENT(MESSAGE)
Macro used to throw a catapult invalid argument.
Definition: exceptions.h:179
ResolutionStatement(const TUnresolved &unresolved)
Creates a statement around unresolved value.
Definition: AddressExtractionExtension.cpp:28
Hash256 hash() const
Calculates a unique hash for this statment.
TUnresolved m_unresolved
Definition: ResolutionStatement.h:67
ReceiptSource Source
Source of resolution within block.
Definition: ResolutionStatement.h:40
Resolution entry.
Definition: ResolutionStatement.h:35