Fixing the in memory raw shard hash update.
Passing the seq_no of index update to verify that the index records are consistent.
Restart rw session after completing last primary shard sync.
Fixed issue in fs read write by multiple threads.
Hpfs log sync modifications.
- Introduced input hash which can later be used to query the ledger.
- Returned input hash and ledger info at input submission.
- Updated js client lib to support input hash.
- Updated consensus proposal candidate expiration rules.
Basic infrastructure for log file sync.
A fork is detected by comparing the hpfs log index file against the ledger.
Min and max ledger sequence hashes are sent to a full history node to request log history.
* Remove and request historical shards at the startup
* Shard history requesting only at the first consensus round
* Removed test log
* Skip max shard seq no file in removing loop
* Updated the code comments
* Persisting condition changed
* Fixed code comment typos
* Fixed code comment typos
* Resolved PR comments
* Halt consensus until completing only the latest shard sync
* Added meaningful comments
* Resolved PR comments and updated hpfs binary
* Logic enhancement and cleanup
* Cleanup the code comment
* Adding full history mode and max shard configs for primary and blob shards.
* Commenting validation checks for hpfs responses until bug is fixed.
* Comment update.
- The ledgers are stored in a sqlite database in ledger file system.
- Ledgers are organized in shards inside primary folder.
- Raw inputs are saved as shards inside blob folder. No input files are created if neither inputs nor outputs are available.
- Both last primary shard hash and last blob shard hashes are subjected to consensus and necessary sync operations are performed if out of sync.
- Hpfs sync support setting single sync targets from both ends of the list. (Targets set from front are prioritized).
- Contract and ledger syncs and serving are performed independently.