Closed rithvikvibhu closed 1 year ago
not adding any message since it adds negligible delay.
Why not? if a user has, i dunno, 100 wallets or more it may take a minute?
Why not? if a user has, i dunno, 100 wallets or more it may take a minute?
Packaged and tested in Linux. Created 100 wallets in bob v1 with:
for i in {1..100}; do hsw-cli mkwallet $i; done
Then launched Bob packaged from this PR:
[I:2023-01-12T14:39:55Z] (wallet) Opening WalletDB...
[I:2023-01-12T14:39:55Z] (wallet-migrations) Database needs migration(s):
- Account lookahead migration - Account lookahead now supports up to 2^32 - 1
[D:2023-01-12T14:39:55Z] (wallet-migrations) Last migration 1, last available migration: 2
[I:2023-01-12T14:39:55Z] (wallet-migrations) There are 1 migrations.
[I:2023-01-12T14:39:55Z] (wallet-migrations) Migration 2 in progress...
[I:2023-01-12T14:39:55Z] (wallet-migrations) Migration 2 is done.
[I:2023-01-12T14:39:55Z] (wallet) Added 40602 hashes to WalletDB filter.
[...snip...]
[I:2023-01-12T14:39:55Z] (wallet) Wallet opened (1).
[I:2023-01-12T14:39:55Z] (wallet) Wallet opened (2).
[...snip...]
[I:2023-01-12T14:39:55Z] (wallet) Wallet opened (100).
It took < 1 second :D
Hey @nodech Ledger doesn't work anymore because of electron's memory cage (blog post).
It has been fixed in node-hid/node-hid
v2.1.2.
hsd-ledger
depends on your fork nodech/node-hid
v2.1.1-hsd.0. Can you port over that fix (looks like it's just one line) to your fork and bump hsd-ledger
?
The error when trying to "Connect Ledger":
[1040508:0113/130900.313240:ERROR:node_bindings.cc(149)] Fatal error in V8: v8_ArrayBuffer_NewBackingStore When the V8 Sandbox is enabled, ArrayBuffer backing stores must be allocated inside the sandbox address space. Please use an appropriate ArrayBuffer::Allocator to allocate these buffers, or disable the sandbox.
Edit:
I can confirm that the one line change from https://github.com/node-hid/node-hid/pull/486 applied manually in node_modules and npm rebuild
makes it work!
Updated without changes:
css-loader
,jsdom
,mini-css-extract-plugin
,sass-loader
,sinon
,tape
@sentry/electron
,bignumber.js
,classnames
,copy-to-clipboard
,deep-equal
,mixpanel
,moment
,node-polyfill-webpack-plugin
,sass
,semver
,uuid
,winston
electron
: 19.0.7 -> 22.0.0 (along withelectron-builder
and@electron/remote
)Updated with changes:
qrcode.react
: change in import syntaxbabel
: conflicting plugin optionwebpack
: replace deprecated onBeforeSetupMiddleware with setupMiddlewaresreact
: 17.0.2 -> 18.2.0react-hot-reloader
->react-refresh
)connected-react-router
works with react 18, but hasn't updated peer dep so requires--legacy-peer-deps
. Instead, I've forked and added that react 18 as a valid peer dependency. This is another package to move away from in the future since it's not maintained.react-redux
andredux-thunk
- some files had weird import paths linking to internal files that no longer exist, changed to a regular imports.react-16-node-hanging-test-fix
- no longer required since it is fixed in core reacthsd update
hs-client
: v0.0.11 -> v0.0.13