#include "unsafe_block_factory.hpp"
UnsafeBlockFactory creates block without any validation
◆ ~UnsafeBlockFactory()
| virtual shared_model::interface::UnsafeBlockFactory::~UnsafeBlockFactory |
( |
| ) |
|
|
virtualdefault |
◆ unsafeCreateBlock()
Create block without any validation
- Parameters
-
| height | - block height |
| prev_hash | - hash of the previous block |
| created_time | - time the block is created |
| txs | - list of transactions. If it empty, EmptyBlock is creted |
- Returns
- BlockVariant with block or empty block
Implemented in shared_model::proto::ProtoBlockFactory.
The documentation for this class was generated from the following file: