chainstorage
chainstorage copied to clipboard
Modernized ChainStorage Sync: Enable Chainstorage consuming ChainNode/ChainStorage block as backfill source
- ChainNode as data source: Unlike normal node providers, Chainnode uses header to capture security token (yes, safer!) but currently Chainstorage doesn't seem to support this way to authenticate with a block provider.
- ChainStorage as data source: Enable ChainStorage use another ChainStorage Blocks to sync can be 100x of the syncing performance (Assume 100 trx for each block)
Cc @jiezhang #P1
Replicator workflow POC: backfilling from another chainstorage: #91
Improve replicator workflow by introducing mini batches and continue workflow as new to prevent timeout: https://github.com/coinbase/chainstorage/pull/94