Class: MigrateTXDBBalances

MigrateTXDBBalances(options)

new MigrateTXDBBalances(options)

Create TXDB Balance 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, pending) → {Promise}

Actual migration

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