#include "postgres_block_index.hpp"
Public Member Functions | |
PostgresBlockIndex (soci::session &sql, logger::Logger log=logger::log("PostgresBlockIndex")) | |
void | index (const shared_model::interface::Block &block) override |
![]() | |
virtual | ~BlockIndex ()=default |
iroha::ametsuchi::PostgresBlockIndex::PostgresBlockIndex | ( | soci::session & | sql, |
logger::Logger | log = logger::log("PostgresBlockIndex") |
||
) |
|
overridevirtual |
Create several indices for block. Namely: transaction hash -> block, where this transaction is stored transaction creator -> block where his transaction is located
Additionally, for each Transfer Asset command:
Implements iroha::ametsuchi::BlockIndex.