Constructor
new MigrateBidRevealEntries(options)
Create Bid Reveal Entries migration object.
Parameters:
Name | Type | Description |
---|---|---|
options |
WalletMigratorOptions |
- Source:
Members
options :WalletMigratorOptions
Type:
- WalletMigratorOptions
- Source:
Methods
(async) check() → {Promise.<MigrationType>}
We always migrate.
- Source:
Returns:
- Type
- Promise.<MigrationType>
(async) migrate(b) → {Promise}
Actual migration
Parameters:
Name | Type | Description |
---|---|---|
b |
Batch |
- Source:
Returns:
- Type
- Promise
(async) migrateBids(wid) → {Promise}
Migrate bids, add height to the entries.
Parameters:
Name | Type | Description |
---|---|---|
wid |
Number |
- Source:
Returns:
- Type
- Promise
(async) migrateReveals(wid) → {Promise}
Migrate reveals and index Bid2Reveal
Parameters:
Name | Type | Description |
---|---|---|
wid |
Number |
- Source:
Returns:
- Type
- Promise