CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
24 namespace catapult {
namespace io {
class BlockStorage; } }
26 namespace catapult {
namespace local {
virtual std::shared_ptr< const model::Block > loadBlock(Height height) const =0
Returns the block at height.
utils::BaseValue< uint64_t, Height_tag > Height
Definition: src/catapult/types.h:85
Immutable wrapper for basic types, to provide some type-safety.
Definition: BaseValue.h:100
Height FindStartHeight(const io::BlockStorage &storage)
Returns starting height of storage.
Definition: StorageStart.cpp:26
virtual Height chainHeight() const =0
Gets the number of blocks.
Definition: AddressExtractionExtension.cpp:28
Interface for saving and loading blocks.
Definition: BlockStorage.h:50
Base class for all catapult exceptions that derives from both std::exception and boost::exception.
Definition: exceptions.h:42