CatapultServer
v0.5.0.1 (Elephant)
|
Go to the source code of this file.
Classes | |
struct | catapult::model::BlockTransactionsInfo |
Information about transactions stored in a block. More... | |
struct | catapult::model::PreviousBlockContext |
Context passed when creating new block. More... | |
Namespaces | |
catapult | |
catapult::crypto | |
catapult::model | |
Typedefs | |
using | catapult::model::Transactions = std::vector< std::shared_ptr< const Transaction > > |
Container of transactions. More... | |
Functions | |
void | catapult::model::CalculateBlockTransactionsHash (const std::vector< const TransactionInfo * > &transactionInfos, Hash256 &blockTransactionsHash) |
Calculates the block transactions hash of transactionInfos into blockTransactionsHash. More... | |
GenerationHash | catapult::model::CalculateGenerationHash (const GenerationHash &previousGenerationHash, const Key &publicKey) |
void | catapult::model::SignBlockHeader (const crypto::KeyPair &signer, Block &block) |
bool | catapult::model::VerifyBlockHeaderSignature (const Block &block) |
Validates signature of block header. More... | |
BlockTransactionsInfo | catapult::model::CalculateBlockTransactionsInfo (const Block &block) |
Calculates information about transactions stored in block. More... | |
std::unique_ptr< Block > | catapult::model::CreateBlock (const PreviousBlockContext &context, NetworkIdentifier networkIdentifier, const Key &signerPublicKey, const Transactions &transactions) |
std::unique_ptr< Block > | catapult::model::StitchBlock (const BlockHeader &blockHeader, const Transactions &transactions) |
Creates a new block by stitching together blockHeader and transactions. More... | |