Constructor
new MigrateBlockStore(options)
Create MigrateBlockStore object.
Parameters:
Name | Type | Description |
---|---|---|
options |
ChainMigratorOptions |
- Source:
Methods
(async) check() → {Promise}
Check if the ChainDB has the blocks.
- Source:
Returns:
- Type
- Promise
(async) migrate(b) → {Promise}
Migrate blocks and undo blocks
Parameters:
Name | Type | Description |
---|---|---|
b |
Batch |
- Source:
Returns:
- Type
- Promise
(async) migrateBlocks()
Migrate the block data.
- Source:
(async) migrateUndoBlocks()
Migrate the undo data.
- Source: