Constructor
new MigrateAccountLookahead(options)
Create migration object.
Parameters:
Name | Type | Description |
---|---|---|
options |
WalletMigratorOptions |
- Source:
Members
options :WalletMigratorOptions
Type:
- WalletMigratorOptions
- Source:
Methods
accountEncode(raw) → {Buffer}
Parameters:
Name | Type | Description |
---|---|---|
raw |
Buffer |
- Source:
Returns:
- Type
- Buffer
(async) check() → {Promise.<MigrationType>}
We always migrate account.
- Source:
Returns:
- Type
- Promise.<MigrationType>
(async) migrate(b) → {Promise}
Actual migration
Parameters:
Name | Type | Description |
---|---|---|
b |
Batch |
- Source:
Returns:
- Type
- Promise
(async) migrateWallet(b, wid) → {Promise}
Parameters:
Name | Type | Description |
---|---|---|
b |
Batch | |
wid |
Number |
- Source:
Returns:
- Type
- Promise