Class: MigrateChangeAddress

MigrateChangeAddress(options)

Run change address migration. Applies to WalletDB v0

Constructor

new MigrateChangeAddress(options)

Create change address migration object.

Parameters:
Name Type Description
options WalletMigratorOptions
Source:

Methods

(static) info() → {String}

Return info about the migration.

Source:
Returns:
Type
String

(async) check()

Migration and check for the change address are done in the same step.

Source:

(async) migrate(b, pending) → {Promise}

Actual migration

Parameters:
Name Type Description
b Batch
pending WalletMigrationResult
Source:
Returns:
Type
Promise