await Promise.all([\r
suite('Derive accounts from BIP-44 wallet', async () => {\r
\r
- await test('derive the first 10,000 accounts from the given BIP-44 seed', async () => {\r
+ await test('derive the first 1000 accounts from the given BIP-44 seed', async () => {\r
const wallet = await Wallet.load('BIP-44', TEST_PASSWORD, NANO_TEST_VECTORS.BIP39_SEED)\r
await wallet.unlock(TEST_PASSWORD)\r
\r
let start, end\r
start = performance.now()\r
- await wallet.accounts(0, 10_000)\r
+ await wallet.accounts(0, 1000)\r
end = performance.now()\r
console.log('duration', end - start)\r
\r
\r
suite('Derive accounts from BLAKE2b wallet', async () => {\r
\r
- await test('derive the first 10,000 accounts from the given BLAKE2b seed', async () => {\r
+ await test('derive the first 1000 accounts from the given BLAKE2b seed', async () => {\r
const wallet = await Wallet.load('BLAKE2b', TEST_PASSWORD, NANO_TEST_VECTORS.BLAKE2B_SEED)\r
await wallet.unlock(TEST_PASSWORD)\r
\r
let start, end\r
start = performance.now()\r
- await wallet.accounts(0, 10_000)\r
+ await wallet.accounts(0, 1000)\r
end = performance.now()\r
console.log('duration', end - start)\r
\r
suite('Derive accounts from Exodus wallet', async () => {\r
const { ADDRESS_0, ADDRESS_1, BIP39_SEED_0, BIP39_SEED_1, PUBLIC_0, PUBLIC_1 } = CUSTOM_TEST_VECTORS.EXODUS\r
\r
- await test('derive the first 10,000 accounts from the given Exodus seed', async () => {\r
+ await test('derive the first 1000 accounts from the given Exodus seed', async () => {\r
const wallet = await Wallet.load('Exodus', TEST_PASSWORD, BIP39_SEED_0)\r
await wallet.unlock(TEST_PASSWORD)\r
\r
let start, end\r
start = performance.now()\r
- await wallet.accounts(0, 10_000)\r
+ await wallet.accounts(0, 1000)\r
end = performance.now()\r
console.log('duration', end - start)\r
\r