Second part of issue: #94 New state providers specific to account metadata and current account balances
The corresponding merge request in hive: hive!879
For now it is the attempt to do it:
- The whole database_api plugin with dependesnces is linked into haf shared library .so
- sharedmemory.bin is created for every haf application context in PG_DATA.
- Any haf application using the consensus state provider can replay it forward any number of blocks
- Each block is read from haf block api as json and then consumed by the hive evaluator apply_block method.
- 5M of replay takes 3 hours
- No validation happens during the replay