Class: MigrateCoinSelection
MigrateCoinSelection(options)
new MigrateCoinSelection(options)
Parameters:
Name |
Type |
Description |
options |
WalletMigratorOptions
|
|
- Source:
Members
options :WalletMigratorOptions
Type:
- Source:
Methods
(async) check() → {Promise.<MigrationType>}
- Source:
Returns:
-
Type
-
Promise.<MigrationType>
decodeProgress(data) → {Object}
Parameters:
Name |
Type |
Description |
data |
Buffer
|
|
- Source:
Returns:
-
Type
-
Object
encodeProgress() → {Buffer}
- Source:
Returns:
-
Type
-
Buffer
(async) migrate(b, ctx) → {Promise}
Parameters:
Name |
Type |
Description |
b |
Batch
|
|
ctx |
WalletMigrationContext
|
|
- Source:
Returns:
-
Type
-
Promise
(async) migrateWallet(wid, ctx) → {Promise}
Parameters:
Name |
Type |
Description |
wid |
Number
|
|
ctx |
WalletMigrationContext
|
|
- Source:
Returns:
-
Type
-
Promise