Open diego-G opened 3 years ago
It's normal if your transaction has 50 or more input or output.
Are you sure the 30min is not, 10minutes? How many inputs?
It's normal if your transaction has 50 or more input or output.
Are you sure the 30min is not, 10minutes? How many inputs?
Yes, the transaction was about the maximum size with many outputs and inputs. Is there a way to avoid it or to speed it up?
What do you mean by maximum size? Do you mean bitcoin standardness/policy rules, i.e. ~100 (v)KB? How many inputs? Are they all segwit? You could try to benchmark the code, see where the time is spent. In theory, signing large txs might be slow due to computing the signature itself - in that case time would be spent mostly in ledger firmware API calls.
This happens to me with single input transactions + a Ledger device. It takes about 5 minutes in my case for the device to just ask for confirmation to sign the transaction. It seems that the slow process isn't signing, rather communicating with the device.
From experience it takes about 5 min when there's 70 inputs, 5 min to show up on the ledger and 5 min to come back to the pc.
On Tue., Sep. 28, 2021, 15:52 2snEM6, @.***> wrote:
This happens to me with single input transactions + a Ledger device. It takes about 5 minutes in my case for the device to just ask for confirmation to sign the transaction. It seems that the slow process isn't signing, rather communicating with the device.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/spesmilo/electrum/issues/7516#issuecomment-929574660, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAC643ESELLVI47GKZPQWOTUEIMHJANCNFSM5E2FZVDQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
This happens to me with single input transactions + a Ledger device. It takes about 5 minutes in my case for the device to just ask for confirmation to sign the transaction.
Which ledger device is this with? What fw version, app version, etc?
Same experience with Ledger Nano X. FW 1.3.0
, BTC app 1.6.3
. I'm using the derivation path m/44'/5757'/0'
.
This is where I'm stuck. I'm attaching the logs.
20211002T002727.965059Z | INFO | simple_config.SimpleConfig | electrum directory /Users/kyoungrok/.electrum
20211002T002727.968218Z | INFO | logging | Electrum version: 4.1.5 - https://electrum.org - https://github.com/spesmilo/electrum
20211002T002727.993188Z | INFO | logging | Python version: 3.7.9 (v3.7.9:13c94747c7, Aug 15 2020, 01:31:08)
[Clang 6.0 (clang-600.0.57)]. On platform: Darwin-20.6.0-x86_64-i386-64bit
20211002T002727.994038Z | INFO | logging | Logging to file: /Users/kyoungrok/.electrum/logs/electrum_log_20211002T002727Z_20127.log
20211002T002727.994140Z | INFO | logging | Log filters: verbosity '', verbosity_shortcuts ''
20211002T002728.000364Z | INFO | plugin.Plugins | registering hardware bitbox02: ('hardware', 'bitbox02', 'BitBox02')
20211002T002728.002199Z | INFO | plugin.Plugins | registering hardware coldcard: ('hardware', 'coldcard', 'Coldcard Wallet')
20211002T002728.005023Z | INFO | plugin.Plugins | registering hardware digitalbitbox: ('hardware', 'digitalbitbox', 'Digital Bitbox wallet')
20211002T002728.009670Z | INFO | plugin.Plugins | registering hardware keepkey: ('hardware', 'keepkey', 'KeepKey wallet')
20211002T002728.012309Z | INFO | plugin.Plugins | registering hardware ledger: ('hardware', 'ledger', 'Ledger wallet')
20211002T002728.016072Z | INFO | plugin.Plugins | registering hardware safe_t: ('hardware', 'safe_t', 'Safe-T mini wallet')
20211002T002728.017471Z | INFO | plugin.Plugins | registering hardware trezor: ('hardware', 'trezor', 'Trezor wallet')
20211002T002728.018950Z | INFO | plugin.Plugins | registering wallet type ('2fa', 'trustedcoin')
20211002T002728.020596Z | DEBUG | util.profiler | Plugins.__init__ 0.0260
20211002T002728.022281Z | INFO | network | blockchains [0]
20211002T002728.023966Z | INFO | exchange_rate.FxThread | using exchange CoinGecko
20211002T002728.025303Z | DEBUG | util.profiler | Daemon.__init__ 0.0045
20211002T002728.025439Z | INFO | daemon.Daemon | launching GUI: qt
20211002T002728.025888Z | INFO | network | starting network
20211002T002728.026048Z | INFO | network | setting proxy None
20211002T002728.026491Z | INFO | daemon.Daemon | starting taskgroup.
20211002T002728.026750Z | INFO | network | connecting to electrumx.info:50002:s as new interface
20211002T002728.027460Z | INFO | network | starting taskgroup.
20211002T002728.165446Z | INFO | gui.qt.history_list | could not import electrum.plot. This feature needs matplotlib to be installed.
20211002T002728.173148Z | INFO | gui.qt.ElectrumGui | Qt GUI starting up... Qt=5.15.2, PyQt=5.15.4
20211002T002728.430345Z | DEBUG | util.profiler | ElectrumGui.__init__ 0.2589
20211002T002728.431203Z | INFO | storage.WalletStorage | wallet path /Users/kyoungrok/.electrum/wallets/Stacks
20211002T002728.615913Z | INFO | interface.[wsw6tua3xl24gsmi264zaep6seppjyrkyucpsmuxnjzyt3f3j6swshad.onion:50002] | disconnecting due to: ErrorGettingSSLCertFromServer(ConnectError(gaierror(8, 'nodename nor servname provided, or not known')))
20211002T002728.618518Z | INFO | network | couldn't launch iface wsw6tua3xl24gsmi264zaep6seppjyrkyucpsmuxnjzyt3f3j6swshad.onion:50002:s -- CancelledError()
20211002T002728.685508Z | INFO | storage.WalletStorage | wallet path /Users/kyoungrok/.electrum/wallets/Stacks
20211002T002728.845110Z | INFO | interface.[gd42.org:50002] | connection established. version: ['ElectrumX 1.16.0', '1.4']
20211002T002728.881982Z | INFO | interface.[vmd30612.contaboserver.net:50002] | disconnecting due to: ErrorGettingSSLCertFromServer(ConnectError(gaierror(8, 'nodename nor servname provided, or not known')))
20211002T002728.883188Z | INFO | network | couldn't launch iface vmd30612.contaboserver.net:50002:s -- CancelledError()
20211002T002729.017970Z | INFO | interface.[gd42.org:50002] | set blockchain with height 703094
20211002T002729.018559Z | INFO | interface.[gd42.org:50002] | skipping header 703094
20211002T002729.020266Z | INFO | network | fee_estimates {}
20211002T002729.241562Z | INFO | interface.[btc.litepay.ch:50002] | connection established. version: ['ElectrumX 1.16.0', '1.4']
20211002T002729.308718Z | INFO | interface.[electrumx.info:50002] | connection established. version: ['ElectrumX 1.16.0', '1.4']
20211002T002729.364015Z | INFO | interface.[2ex.digitaleveryware.com:50002] | connection established. version: ['ElectrumX 1.16.0', '1.4']
20211002T002729.369043Z | INFO | interface.[electrumx.hodlwallet.com:50002] | connection established. version: ['ElectrumX 1.16.0', '1.4']
20211002T002729.379098Z | INFO | interface.[e-1.claudioboxx.com:50002] | disconnecting due to: ErrorGettingSSLCertFromServer(ConnectError(ConnectionRefusedError(61, "Connect call failed ('45.79.133.252', 50002)")))
20211002T002729.379503Z | INFO | network | couldn't launch iface e-1.claudioboxx.com:50002:s -- CancelledError()
20211002T002729.448278Z | INFO | interface.[bitcoin.corgi.party:50002] | disconnecting due to: ErrorGettingSSLCertFromServer(ConnectError(gaierror(8, 'nodename nor servname provided, or not known')))
20211002T002729.450842Z | INFO | network | couldn't launch iface bitcoin.corgi.party:50002:s -- CancelledError()
20211002T002729.526469Z | INFO | interface.[2ex.digitaleveryware.com:50002] | set blockchain with height 703094
20211002T002729.526986Z | INFO | interface.[2ex.digitaleveryware.com:50002] | skipping header 703094
20211002T002729.556526Z | INFO | interface.[btc.litepay.ch:50002] | set blockchain with height 703094
20211002T002729.557042Z | INFO | interface.[btc.litepay.ch:50002] | skipping header 703094
20211002T002729.566824Z | INFO | interface.[electrum2.villocq.com:50002] | disconnecting due to: ErrorGettingSSLCertFromServer(ConnectError(gaierror(8, 'nodename nor servname provided, or not known')))
20211002T002729.568392Z | INFO | network | couldn't launch iface electrum2.villocq.com:50002:s -- CancelledError()
20211002T002729.575818Z | INFO | interface.[electrumx.hodlwallet.com:50002] | set blockchain with height 703094
20211002T002729.576448Z | INFO | interface.[electrumx.hodlwallet.com:50002] | skipping header 703094
20211002T002729.616222Z | INFO | interface.[electrumx.info:50002] | set blockchain with height 703094
20211002T002729.616754Z | INFO | interface.[electrumx.info:50002] | skipping header 703094
20211002T002729.617103Z | INFO | network | switching to electrumx.info:50002:s
20211002T002729.631662Z | INFO | network | fee_estimates {25: 4975, 10: 5996, 5: 7177, 2: 8463}
20211002T002729.654049Z | INFO | interface.[VPS.hsmiths.com:50002] | connection established. version: ['ElectrumX 1.10.0', '1.4']
20211002T002729.949679Z | INFO | network | fee_histogram [[26.0, 102033], [11.9, 110074], [9.9, 211503], [8.6, 148478], [8.2, 153940], [7.1, 240168], [5.5, 177322], [5.0, 312160], [4.8, 217358], [4.4, 245215], [4.1, 243089], [4.0, 704018], [3.3, 400400], [3.2, 217279], [3.1, 1274043], [3.0, 1163476], [2.4, 1191082], [2.1, 571644], [2.0, 811850], [1.5, 1172232], [1.3, 1317208], [1.1, 1643237], [1.0, 3492263]]
20211002T002729.959857Z | INFO | interface.[VPS.hsmiths.com:50002] | set blockchain with height 703094
20211002T002729.960377Z | INFO | interface.[VPS.hsmiths.com:50002] | skipping header 703094
20211002T002730.649412Z | INFO | interface.[electrum3.hodlister.co:50002] | connection established. version: ['ElectrumX 1.10.0', '1.4']
20211002T002730.803929Z | INFO | interface.[bitcoin.lukechilds.co:50002] | connection established. version: ['ElectrumX 1.16.0', '1.4']
20211002T002730.955368Z | INFO | interface.[electrum3.hodlister.co:50002] | set blockchain with height 703094
20211002T002730.955807Z | INFO | interface.[electrum3.hodlister.co:50002] | skipping header 703094
20211002T002731.087485Z | INFO | interface.[bitcoin.lukechilds.co:50002] | set blockchain with height 703094
20211002T002731.087910Z | INFO | interface.[bitcoin.lukechilds.co:50002] | skipping header 703094
20211002T002731.460349Z | INFO | interface.[electrum.hodlister.co:50002] | disconnecting due to GracefulDisconnect('too many connected servers already in bucket 45.154.0.0/16')
20211002T002731.460895Z | INFO | network | couldn't launch iface electrum.hodlister.co:50002:s -- CancelledError()
20211002T002732.773971Z | INFO | interface.[guichet.centure.cc:50002] | succeeded in getting cert
20211002T002733.450085Z | INFO | interface.[guichet.centure.cc:50002] | connection established. version: ['ElectrumX 1.16.0', '1.4']
20211002T002733.821734Z | INFO | interface.[guichet.centure.cc:50002] | set blockchain with height 703094
20211002T002733.822259Z | INFO | interface.[guichet.centure.cc:50002] | skipping header 703094
20211002T002742.059547Z | INFO | plugin.Plugins | loaded bitbox02
20211002T002742.071918Z | INFO | plugin.Plugins | loaded coldcard
20211002T002742.081650Z | INFO | plugin.Plugins | loaded digitalbitbox
20211002T002742.139382Z | INFO | plugin.Plugins | loaded keepkey
20211002T002742.153736Z | INFO | plugin.Plugins | loaded ledger
20211002T002742.194721Z | INFO | plugin.Plugins | loaded safe_t
20211002T002742.312218Z | INFO | plugin.Plugins | loaded trezor
20211002T002742.322066Z | INFO | plugin.DeviceMgr | scanning devices...
20211002T002742.452515Z | DEBUG | util.profiler | DeviceMgr.scan_devices 0.1304
20211002T002742.501217Z | INFO | plugin.DeviceMgr | Registering <electrum.plugins.ledger.ledger.Ledger_Client object at 0x7fb6ed6c7fd0>
20211002T002742.588667Z | ERROR | plugin.DeviceMgr | failed to create client for ledger at b'IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/XHC1@14/XHC1@14000000/HS07@14500000/Nano X@14500000/Nano X@0/AppleUserUSBHostHIDDevice': UserFacingException('Your Ledger is locked. Please unlock it.')
20211002T002742.588934Z | WARNING | gui.qt.installwizard.InstallWizard | error getting device infos for ledger: Your Ledger is locked. Please unlock it.
20211002T002758.720871Z | INFO | network | couldn't launch iface ndnd.selfhost.eu:50002:s -- TimeoutError()
20211002T002800.320060Z | INFO | plugin.DeviceMgr | scanning devices...
20211002T002800.359454Z | DEBUG | util.profiler | DeviceMgr.scan_devices 0.0393
20211002T002800.735484Z | INFO | interface.[horsey.cryptocowboys.net:50002] | connection established. version: ['ElectrumX 1.15.0', '1.4']
20211002T002800.967646Z | INFO | interface.[horsey.cryptocowboys.net:50002] | set blockchain with height 703094
20211002T002800.968412Z | INFO | interface.[horsey.cryptocowboys.net:50002] | skipping header 703094
20211002T002802.981752Z | INFO | plugin.DeviceMgr | scanning devices...
20211002T002803.023910Z | DEBUG | util.profiler | DeviceMgr.scan_devices 0.0421
20211002T002803.983059Z | DEBUG | util.profiler | WalletDB._load_transactions 0.0646
20211002T002803.984658Z | DEBUG | util.profiler | AddressSynchronizer.load_local_history 0.0001
20211002T002803.985083Z | DEBUG | util.profiler | AddressSynchronizer.check_history 0.0003
20211002T002804.117761Z | DEBUG | util.profiler | AddressList.update 0.0000
20211002T002804.268020Z | INFO | plugin.DeviceMgr | scanning devices...
20211002T002804.276807Z | DEBUG | util.profiler | Deterministic_Wallet.try_detecting_internal_addresses_corruption 0.0099
20211002T002804.276949Z | DEBUG | util.profiler | ElectrumWindow.load_wallet 0.0510
20211002T002804.280513Z | INFO | gui.qt.ElectrumGui | starting Qt main loop
20211002T002804.308620Z | DEBUG | util.profiler | DeviceMgr.scan_devices 0.0406
20211002T002804.308980Z | INFO | plugin.DeviceMgr | getting client for keystore
20211002T002804.494491Z | INFO | gui.qt.update_checker.UpdateCheckThread | valid sig for version announcement '4.1.5' from address '13xjmVAB1EATPP8RshTE8S8sNwwSUM9p1P'
20211002T002804.706751Z | INFO | plugin.DeviceMgr | end client for keystore
20211002T002804.714183Z | INFO | plugin.DeviceMgr | getting client for keystore
20211002T002804.714692Z | INFO | plugin.DeviceMgr | end client for keystore
20211002T002805.461626Z | INFO | wallet.Standard_Wallet.[Stacks] | set_up_to_date: True
20211002T002805.555261Z | INFO | storage.WalletStorage | saved /Users/kyoungrok/.electrum/wallets/Stacks
20211002T002805.555526Z | DEBUG | util.profiler | WalletDB._write 0.0935
20211002T002805.913207Z | INFO | gui.qt.history_list.HistoryModel | refreshing... reason: update_tabs
20211002T002805.921547Z | DEBUG | util.profiler | Abstract_Wallet.get_full_history 0.0079
20211002T002805.927719Z | DEBUG | util.profiler | HistoryModel.refresh 0.0145
20211002T002805.930281Z | DEBUG | util.profiler | AddressList.update 0.0000
20211002T002830.144115Z | INFO | network | fee_histogram [[26.4, 100462], [13.0, 110518], [10.0, 146502], [9.7, 137684], [8.4, 269101], [7.1, 274742], [5.6, 177326], [5.0, 330481], [4.8, 218087], [4.4, 246434], [4.1, 243516], [4.0, 707362], [3.3, 400400], [3.2, 217279], [3.1, 1274043], [3.0, 1166960], [2.4, 1191082], [2.1, 571644], [2.0, 811850], [1.5, 1172232], [1.3, 1317208], [1.1, 1643237], [1.0, 3492420]]
20211002T002845.216891Z | INFO | interface.[ndnd.selfhost.eu:50002] | disconnecting due to: ErrorGettingSSLCertFromServer(ConnectError(TimeoutError(60, "Connect call failed ('1.2.3.4', 50002)")))
20211002T002914.423712Z | INFO | storage.WalletStorage | saved /Users/kyoungrok/.electrum/wallets/Stacks
20211002T002914.424054Z | DEBUG | util.profiler | WalletDB._write 0.0845
20211002T002914.923192Z | INFO | plugin.DeviceMgr | getting client for keystore
20211002T002914.923493Z | INFO | plugin.DeviceMgr | scanning devices...
20211002T002914.969763Z | DEBUG | util.profiler | DeviceMgr.scan_devices 0.0462
20211002T002914.970404Z | INFO | plugin.DeviceMgr | end client for keystore
20211002T002914.997333Z | INFO | plugin.DeviceMgr | getting client for keystore
20211002T002914.997690Z | INFO | plugin.DeviceMgr | scanning devices...
20211002T002915.041516Z | DEBUG | util.profiler | DeviceMgr.scan_devices 0.0438
20211002T002915.042020Z | INFO | plugin.DeviceMgr | end client for keystore
20211002T002915.042412Z | INFO | plugin.DeviceMgr | getting client for keystore
20211002T002915.042832Z | INFO | plugin.DeviceMgr | scanning devices...
20211002T002915.087065Z | DEBUG | util.profiler | DeviceMgr.scan_devices 0.0442
20211002T002915.087622Z | INFO | plugin.DeviceMgr | end client for keystore
20211002T002930.236385Z | INFO | network | fee_histogram [[26.4, 100462], [13.0, 110518], [10.0, 146502], [9.7, 137684], [8.4, 269101], [7.1, 274742], [5.6, 177326], [5.0, 330481], [4.8, 218087], [4.4, 246434], [4.1, 243516], [4.0, 707362], [3.3, 400400], [3.2, 217279], [3.1, 1274043], [3.0, 1166960], [2.4, 1191082], [2.1, 571644], [2.0, 811850], [1.5, 1172232], [1.3, 1317208], [1.1, 1643237], [1.0, 3492420]]
20211002T003030.632600Z | INFO | network | fee_histogram [[29.0, 101184], [13.9, 110350], [10.1, 131142], [9.9, 142474], [8.7, 152574], [8.4, 169049], [7.1, 299308], [5.4, 202930], [5.0, 315042], [4.7, 275920], [4.3, 291123], [4.1, 146052], [4.0, 709668], [3.3, 400535], [3.2, 217279], [3.1, 1274146], [3.0, 1166960], [2.4, 1191082], [2.1, 571779], [2.0, 812811], [1.5, 1173174], [1.3, 1317208], [1.1, 1643237], [1.0, 3492555]]
20211002T003130.717340Z | INFO | network | fee_histogram [[29.0, 101184], [13.9, 110350], [10.1, 131142], [9.9, 142474], [8.7, 152574], [8.4, 169049], [7.1, 299308], [5.4, 202930], [5.0, 315042], [4.7, 275920], [4.3, 291123], [4.1, 146052], [4.0, 709668], [3.3, 400535], [3.2, 217279], [3.1, 1274146], [3.0, 1166960], [2.4, 1191082], [2.1, 571779], [2.0, 812811], [1.5, 1173174], [1.3, 1317208], [1.1, 1643237], [1.0, 3492555]]
20211002T003201.353564Z | INFO | interface.[gd42.org:50002] | could connect 703095
20211002T003201.411253Z | INFO | gui.qt.history_list.HistoryModel | refreshing... reason: update_tabs
20211002T003201.411590Z | DEBUG | util.profiler | HistoryModel.refresh 0.0004
20211002T003201.420773Z | DEBUG | util.profiler | AddressList.update 0.0000
20211002T003204.589317Z | INFO | interface.[bitcoin.lukechilds.co:50002] | skipping header 703095
20211002T003204.910726Z | INFO | gui.qt.history_list.HistoryModel | refreshing... reason: update_tabs
20211002T003204.910943Z | DEBUG | util.profiler | HistoryModel.refresh 0.0002
20211002T003204.913180Z | DEBUG | util.profiler | AddressList.update 0.0000
20211002T003205.177989Z | INFO | interface.[electrumx.info:50002] | skipping header 703095
20211002T003205.410658Z | INFO | gui.qt.history_list.HistoryModel | refreshing... reason: update_tabs
20211002T003205.410954Z | DEBUG | util.profiler | HistoryModel.refresh 0.0003
20211002T003205.413726Z | DEBUG | util.profiler | AddressList.update 0.0000
20211002T003205.587944Z | INFO | interface.[guichet.centure.cc:50002] | skipping header 703095
20211002T003205.702358Z | INFO | interface.[2ex.digitaleveryware.com:50002] | skipping header 703095
20211002T003205.910718Z | INFO | gui.qt.history_list.HistoryModel | refreshing... reason: update_tabs
20211002T003205.910914Z | DEBUG | util.profiler | HistoryModel.refresh 0.0002
20211002T003205.912916Z | DEBUG | util.profiler | AddressList.update 0.0000
20211002T003207.738503Z | INFO | interface.[btc.litepay.ch:50002] | skipping header 703095
20211002T003207.911149Z | INFO | gui.qt.history_list.HistoryModel | refreshing... reason: update_tabs
20211002T003207.911439Z | DEBUG | util.profiler | HistoryModel.refresh 0.0003
20211002T003207.914649Z | DEBUG | util.profiler | AddressList.update 0.0000
20211002T003210.162557Z | INFO | interface.[electrumx.hodlwallet.com:50002] | skipping header 703095
20211002T003210.411231Z | INFO | gui.qt.history_list.HistoryModel | refreshing... reason: update_tabs
20211002T003210.411528Z | DEBUG | util.profiler | HistoryModel.refresh 0.0003
20211002T003210.414352Z | DEBUG | util.profiler | AddressList.update 0.0000
20211002T003216.472752Z | INFO | interface.[VPS.hsmiths.com:50002] | skipping header 703095
20211002T003216.520484Z | INFO | interface.[electrum3.hodlister.co:50002] | skipping header 703095
Sorry if I'm asking the obvious. Have you been successful at signing such large size transactions with any other wallet much faster?
On Fri., Oct. 1, 2021, 20:33 Kyoungrok Jang, @.***> wrote:
This is where I'm stuck. I'm attaching the logs.
[image: image] https://user-images.githubusercontent.com/1051900/135698044-3143ac78-8cf7-4cb9-8591-ce768c50d8d8.png
20211002T002727.965059Z | INFO | simple_config.SimpleConfig | electrum directory /Users/kyoungrok/.electrum 20211002T002727.968218Z | INFO | logging | Electrum version: 4.1.5 - https://electrum.org - https://github.com/spesmilo/electrum 20211002T002727.993188Z | INFO | logging | Python version: 3.7.9 (v3.7.9:13c94747c7, Aug 15 2020, 01:31:08) [Clang 6.0 (clang-600.0.57)]. On platform: Darwin-20.6.0-x86_64-i386-64bit 20211002T002727.994038Z | INFO | logging | Logging to file: /Users/kyoungrok/.electrum/logs/electrum_log_20211002T002727Z_20127.log 20211002T002727.994140Z | INFO | logging | Log filters: verbosity '', verbosity_shortcuts '' 20211002T002728.000364Z | INFO | plugin.Plugins | registering hardware bitbox02: ('hardware', 'bitbox02', 'BitBox02') 20211002T002728.002199Z | INFO | plugin.Plugins | registering hardware coldcard: ('hardware', 'coldcard', 'Coldcard Wallet') 20211002T002728.005023Z | INFO | plugin.Plugins | registering hardware digitalbitbox: ('hardware', 'digitalbitbox', 'Digital Bitbox wallet') 20211002T002728.009670Z | INFO | plugin.Plugins | registering hardware keepkey: ('hardware', 'keepkey', 'KeepKey wallet') 20211002T002728.012309Z | INFO | plugin.Plugins | registering hardware ledger: ('hardware', 'ledger', 'Ledger wallet') 20211002T002728.016072Z | INFO | plugin.Plugins | registering hardware safe_t: ('hardware', 'safe_t', 'Safe-T mini wallet') 20211002T002728.017471Z | INFO | plugin.Plugins | registering hardware trezor: ('hardware', 'trezor', 'Trezor wallet') 20211002T002728.018950Z | INFO | plugin.Plugins | registering wallet type ('2fa', 'trustedcoin') 20211002T002728.020596Z | DEBUG | util.profiler | Plugins.init 0.0260 20211002T002728.022281Z | INFO | network | blockchains [0] 20211002T002728.023966Z | INFO | exchange_rate.FxThread | using exchange CoinGecko 20211002T002728.025303Z | DEBUG | util.profiler | Daemon.init 0.0045 20211002T002728.025439Z | INFO | daemon.Daemon | launching GUI: qt 20211002T002728.025888Z | INFO | network | starting network 20211002T002728.026048Z | INFO | network | setting proxy None 20211002T002728.026491Z | INFO | daemon.Daemon | starting taskgroup. 20211002T002728.026750Z | INFO | network | connecting to electrumx.info:50002:s as new interface 20211002T002728.027460Z | INFO | network | starting taskgroup. 20211002T002728.165446Z | INFO | gui.qt.history_list | could not import electrum.plot. This feature needs matplotlib to be installed. 20211002T002728.173148Z | INFO | gui.qt.ElectrumGui | Qt GUI starting up... Qt=5.15.2, PyQt=5.15.4 20211002T002728.430345Z | DEBUG | util.profiler | ElectrumGui.init 0.2589 20211002T002728.431203Z | INFO | storage.WalletStorage | wallet path /Users/kyoungrok/.electrum/wallets/Stacks 20211002T002728.615913Z | INFO | interface.[wsw6tua3xl24gsmi264zaep6seppjyrkyucpsmuxnjzyt3f3j6swshad.onion:50002] | disconnecting due to: ErrorGettingSSLCertFromServer(ConnectError(gaierror(8, 'nodename nor servname provided, or not known'))) 20211002T002728.618518Z | INFO | network | couldn't launch iface wsw6tua3xl24gsmi264zaep6seppjyrkyucpsmuxnjzyt3f3j6swshad.onion:50002:s -- CancelledError() 20211002T002728.685508Z | INFO | storage.WalletStorage | wallet path /Users/kyoungrok/.electrum/wallets/Stacks 20211002T002728.845110Z | INFO | interface.[gd42.org:50002] | connection established. version: ['ElectrumX 1.16.0', '1.4'] 20211002T002728.881982Z | INFO | interface.[vmd30612.contaboserver.net:50002] | disconnecting due to: ErrorGettingSSLCertFromServer(ConnectError(gaierror(8, 'nodename nor servname provided, or not known'))) 20211002T002728.883188Z | INFO | network | couldn't launch iface vmd30612.contaboserver.net:50002:s -- CancelledError() 20211002T002729.017970Z | INFO | interface.[gd42.org:50002] | set blockchain with height 703094 20211002T002729.018559Z | INFO | interface.[gd42.org:50002] | skipping header 703094 20211002T002729.020266Z | INFO | network | fee_estimates {} 20211002T002729.241562Z | INFO | interface.[btc.litepay.ch:50002] | connection established. version: ['ElectrumX 1.16.0', '1.4'] 20211002T002729.308718Z | INFO | interface.[electrumx.info:50002] | connection established. version: ['ElectrumX 1.16.0', '1.4'] 20211002T002729.364015Z | INFO | interface.[2ex.digitaleveryware.com:50002] | connection established. version: ['ElectrumX 1.16.0', '1.4'] 20211002T002729.369043Z | INFO | interface.[electrumx.hodlwallet.com:50002] | connection established. version: ['ElectrumX 1.16.0', '1.4'] 20211002T002729.379098Z | INFO | interface.[e-1.claudioboxx.com:50002] | disconnecting due to: ErrorGettingSSLCertFromServer(ConnectError(ConnectionRefusedError(61, "Connect call failed ('45.79.133.252', 50002)"))) 20211002T002729.379503Z | INFO | network | couldn't launch iface e-1.claudioboxx.com:50002:s -- CancelledError() 20211002T002729.448278Z | INFO | interface.[bitcoin.corgi.party:50002] | disconnecting due to: ErrorGettingSSLCertFromServer(ConnectError(gaierror(8, 'nodename nor servname provided, or not known'))) 20211002T002729.450842Z | INFO | network | couldn't launch iface bitcoin.corgi.party:50002:s -- CancelledError() 20211002T002729.526469Z | INFO | interface.[2ex.digitaleveryware.com:50002] | set blockchain with height 703094 20211002T002729.526986Z | INFO | interface.[2ex.digitaleveryware.com:50002] | skipping header 703094 20211002T002729.556526Z | INFO | interface.[btc.litepay.ch:50002] | set blockchain with height 703094 20211002T002729.557042Z | INFO | interface.[btc.litepay.ch:50002] | skipping header 703094 20211002T002729.566824Z | INFO | interface.[electrum2.villocq.com:50002] | disconnecting due to: ErrorGettingSSLCertFromServer(ConnectError(gaierror(8, 'nodename nor servname provided, or not known'))) 20211002T002729.568392Z | INFO | network | couldn't launch iface electrum2.villocq.com:50002:s -- CancelledError() 20211002T002729.575818Z | INFO | interface.[electrumx.hodlwallet.com:50002] | set blockchain with height 703094 20211002T002729.576448Z | INFO | interface.[electrumx.hodlwallet.com:50002] | skipping header 703094 20211002T002729.616222Z | INFO | interface.[electrumx.info:50002] | set blockchain with height 703094 20211002T002729.616754Z | INFO | interface.[electrumx.info:50002] | skipping header 703094 20211002T002729.617103Z | INFO | network | switching to electrumx.info:50002:s 20211002T002729.631662Z | INFO | network | fee_estimates {25: 4975, 10: 5996, 5: 7177, 2: 8463} 20211002T002729.654049Z | INFO | interface.[VPS.hsmiths.com:50002] | connection established. version: ['ElectrumX 1.10.0', '1.4'] 20211002T002729.949679Z | INFO | network | fee_histogram [[26.0, 102033], [11.9, 110074], [9.9, 211503], [8.6, 148478], [8.2, 153940], [7.1, 240168], [5.5, 177322], [5.0, 312160], [4.8, 217358], [4.4, 245215], [4.1, 243089], [4.0, 704018], [3.3, 400400], [3.2, 217279], [3.1, 1274043], [3.0, 1163476], [2.4, 1191082], [2.1, 571644], [2.0, 811850], [1.5, 1172232], [1.3, 1317208], [1.1, 1643237], [1.0, 3492263]] 20211002T002729.959857Z | INFO | interface.[VPS.hsmiths.com:50002] | set blockchain with height 703094 20211002T002729.960377Z | INFO | interface.[VPS.hsmiths.com:50002] | skipping header 703094 20211002T002730.649412Z | INFO | interface.[electrum3.hodlister.co:50002] | connection established. version: ['ElectrumX 1.10.0', '1.4'] 20211002T002730.803929Z | INFO | interface.[bitcoin.lukechilds.co:50002] | connection established. version: ['ElectrumX 1.16.0', '1.4'] 20211002T002730.955368Z | INFO | interface.[electrum3.hodlister.co:50002] | set blockchain with height 703094 20211002T002730.955807Z | INFO | interface.[electrum3.hodlister.co:50002] | skipping header 703094 20211002T002731.087485Z | INFO | interface.[bitcoin.lukechilds.co:50002] | set blockchain with height 703094 20211002T002731.087910Z | INFO | interface.[bitcoin.lukechilds.co:50002] | skipping header 703094 20211002T002731.460349Z | INFO | interface.[electrum.hodlister.co:50002] | disconnecting due to GracefulDisconnect('too many connected servers already in bucket 45.154.0.0/16') 20211002T002731.460895Z | INFO | network | couldn't launch iface electrum.hodlister.co:50002:s -- CancelledError() 20211002T002732.773971Z | INFO | interface.[guichet.centure.cc:50002] | succeeded in getting cert 20211002T002733.450085Z | INFO | interface.[guichet.centure.cc:50002] | connection established. version: ['ElectrumX 1.16.0', '1.4'] 20211002T002733.821734Z | INFO | interface.[guichet.centure.cc:50002] | set blockchain with height 703094 20211002T002733.822259Z | INFO | interface.[guichet.centure.cc:50002] | skipping header 703094 20211002T002742.059547Z | INFO | plugin.Plugins | loaded bitbox02 20211002T002742.071918Z | INFO | plugin.Plugins | loaded coldcard 20211002T002742.081650Z | INFO | plugin.Plugins | loaded digitalbitbox 20211002T002742.139382Z | INFO | plugin.Plugins | loaded keepkey 20211002T002742.153736Z | INFO | plugin.Plugins | loaded ledger 20211002T002742.194721Z | INFO | plugin.Plugins | loaded safe_t 20211002T002742.312218Z | INFO | plugin.Plugins | loaded trezor 20211002T002742.322066Z | INFO | plugin.DeviceMgr | scanning devices... 20211002T002742.452515Z | DEBUG | util.profiler | DeviceMgr.scan_devices 0.1304 20211002T002742.501217Z | INFO | plugin.DeviceMgr | Registering <electrum.plugins.ledger.ledger.Ledger_Client object at 0x7fb6ed6c7fd0> 20211002T002742.588667Z | ERROR | plugin.DeviceMgr | failed to create client for ledger at @.**@*.**@*.**@./Nano @./Nano @./AppleUserUSBHostHIDDevice': UserFacingException('Your Ledger is locked. Please unlock it.') 20211002T002742.588934Z | WARNING | gui.qt.installwizard.InstallWizard | error getting device infos for ledger: Your Ledger is locked. Please unlock it. 20211002T002758.720871Z | INFO | network | couldn't launch iface ndnd.selfhost.eu:50002:s -- TimeoutError() 20211002T002800.320060Z | INFO | plugin.DeviceMgr | scanning devices... 20211002T002800.359454Z | DEBUG | util.profiler | DeviceMgr.scan_devices 0.0393 20211002T002800.735484Z | INFO | interface.[horsey.cryptocowboys.net:50002] | connection established. version: ['ElectrumX 1.15.0', '1.4'] 20211002T002800.967646Z | INFO | interface.[horsey.cryptocowboys.net:50002] | set blockchain with height 703094 20211002T002800.968412Z | INFO | interface.[horsey.cryptocowboys.net:50002] | skipping header 703094 20211002T002802.981752Z | INFO | plugin.DeviceMgr | scanning devices... 20211002T002803.023910Z | DEBUG | util.profiler | DeviceMgr.scan_devices 0.0421 20211002T002803.983059Z | DEBUG | util.profiler | WalletDB._load_transactions 0.0646 20211002T002803.984658Z | DEBUG | util.profiler | AddressSynchronizer.load_local_history 0.0001 20211002T002803.985083Z | DEBUG | util.profiler | AddressSynchronizer.check_history 0.0003 20211002T002804.117761Z | DEBUG | util.profiler | AddressList.update 0.0000 20211002T002804.268020Z | INFO | plugin.DeviceMgr | scanning devices... 20211002T002804.276807Z | DEBUG | util.profiler | Deterministic_Wallet.try_detecting_internal_addresses_corruption 0.0099 20211002T002804.276949Z | DEBUG | util.profiler | ElectrumWindow.load_wallet 0.0510 20211002T002804.280513Z | INFO | gui.qt.ElectrumGui | starting Qt main loop 20211002T002804.308620Z | DEBUG | util.profiler | DeviceMgr.scan_devices 0.0406 20211002T002804.308980Z | INFO | plugin.DeviceMgr | getting client for keystore 20211002T002804.494491Z | INFO | gui.qt.update_checker.UpdateCheckThread | valid sig for version announcement '4.1.5' from address '13xjmVAB1EATPP8RshTE8S8sNwwSUM9p1P' 20211002T002804.706751Z | INFO | plugin.DeviceMgr | end client for keystore 20211002T002804.714183Z | INFO | plugin.DeviceMgr | getting client for keystore 20211002T002804.714692Z | INFO | plugin.DeviceMgr | end client for keystore 20211002T002805.461626Z | INFO | wallet.Standard_Wallet.[Stacks] | set_up_to_date: True 20211002T002805.555261Z | INFO | storage.WalletStorage | saved /Users/kyoungrok/.electrum/wallets/Stacks 20211002T002805.555526Z | DEBUG | util.profiler | WalletDB._write 0.0935 20211002T002805.913207Z | INFO | gui.qt.history_list.HistoryModel | refreshing... reason: update_tabs 20211002T002805.921547Z | DEBUG | util.profiler | Abstract_Wallet.get_full_history 0.0079 20211002T002805.927719Z | DEBUG | util.profiler | HistoryModel.refresh 0.0145 20211002T002805.930281Z | DEBUG | util.profiler | AddressList.update 0.0000 20211002T002830.144115Z | INFO | network | fee_histogram [[26.4, 100462], [13.0, 110518], [10.0, 146502], [9.7, 137684], [8.4, 269101], [7.1, 274742], [5.6, 177326], [5.0, 330481], [4.8, 218087], [4.4, 246434], [4.1, 243516], [4.0, 707362], [3.3, 400400], [3.2, 217279], [3.1, 1274043], [3.0, 1166960], [2.4, 1191082], [2.1, 571644], [2.0, 811850], [1.5, 1172232], [1.3, 1317208], [1.1, 1643237], [1.0, 3492420]] 20211002T002845.216891Z | INFO | interface.[ndnd.selfhost.eu:50002] | disconnecting due to: ErrorGettingSSLCertFromServer(ConnectError(TimeoutError(60, "Connect call failed ('1.2.3.4', 50002)"))) 20211002T002914.423712Z | INFO | storage.WalletStorage | saved /Users/kyoungrok/.electrum/wallets/Stacks 20211002T002914.424054Z | DEBUG | util.profiler | WalletDB._write 0.0845 20211002T002914.923192Z | INFO | plugin.DeviceMgr | getting client for keystore 20211002T002914.923493Z | INFO | plugin.DeviceMgr | scanning devices... 20211002T002914.969763Z | DEBUG | util.profiler | DeviceMgr.scan_devices 0.0462 20211002T002914.970404Z | INFO | plugin.DeviceMgr | end client for keystore 20211002T002914.997333Z | INFO | plugin.DeviceMgr | getting client for keystore 20211002T002914.997690Z | INFO | plugin.DeviceMgr | scanning devices... 20211002T002915.041516Z | DEBUG | util.profiler | DeviceMgr.scan_devices 0.0438 20211002T002915.042020Z | INFO | plugin.DeviceMgr | end client for keystore 20211002T002915.042412Z | INFO | plugin.DeviceMgr | getting client for keystore 20211002T002915.042832Z | INFO | plugin.DeviceMgr | scanning devices... 20211002T002915.087065Z | DEBUG | util.profiler | DeviceMgr.scan_devices 0.0442 20211002T002915.087622Z | INFO | plugin.DeviceMgr | end client for keystore 20211002T002930.236385Z | INFO | network | fee_histogram [[26.4, 100462], [13.0, 110518], [10.0, 146502], [9.7, 137684], [8.4, 269101], [7.1, 274742], [5.6, 177326], [5.0, 330481], [4.8, 218087], [4.4, 246434], [4.1, 243516], [4.0, 707362], [3.3, 400400], [3.2, 217279], [3.1, 1274043], [3.0, 1166960], [2.4, 1191082], [2.1, 571644], [2.0, 811850], [1.5, 1172232], [1.3, 1317208], [1.1, 1643237], [1.0, 3492420]] 20211002T003030.632600Z | INFO | network | fee_histogram [[29.0, 101184], [13.9, 110350], [10.1, 131142], [9.9, 142474], [8.7, 152574], [8.4, 169049], [7.1, 299308], [5.4, 202930], [5.0, 315042], [4.7, 275920], [4.3, 291123], [4.1, 146052], [4.0, 709668], [3.3, 400535], [3.2, 217279], [3.1, 1274146], [3.0, 1166960], [2.4, 1191082], [2.1, 571779], [2.0, 812811], [1.5, 1173174], [1.3, 1317208], [1.1, 1643237], [1.0, 3492555]] 20211002T003130.717340Z | INFO | network | fee_histogram [[29.0, 101184], [13.9, 110350], [10.1, 131142], [9.9, 142474], [8.7, 152574], [8.4, 169049], [7.1, 299308], [5.4, 202930], [5.0, 315042], [4.7, 275920], [4.3, 291123], [4.1, 146052], [4.0, 709668], [3.3, 400535], [3.2, 217279], [3.1, 1274146], [3.0, 1166960], [2.4, 1191082], [2.1, 571779], [2.0, 812811], [1.5, 1173174], [1.3, 1317208], [1.1, 1643237], [1.0, 3492555]] 20211002T003201.353564Z | INFO | interface.[gd42.org:50002] | could connect 703095 20211002T003201.411253Z | INFO | gui.qt.history_list.HistoryModel | refreshing... reason: update_tabs 20211002T003201.411590Z | DEBUG | util.profiler | HistoryModel.refresh 0.0004 20211002T003201.420773Z | DEBUG | util.profiler | AddressList.update 0.0000 20211002T003204.589317Z | INFO | interface.[bitcoin.lukechilds.co:50002] | skipping header 703095 20211002T003204.910726Z | INFO | gui.qt.history_list.HistoryModel | refreshing... reason: update_tabs 20211002T003204.910943Z | DEBUG | util.profiler | HistoryModel.refresh 0.0002 20211002T003204.913180Z | DEBUG | util.profiler | AddressList.update 0.0000 20211002T003205.177989Z | INFO | interface.[electrumx.info:50002] | skipping header 703095 20211002T003205.410658Z | INFO | gui.qt.history_list.HistoryModel | refreshing... reason: update_tabs 20211002T003205.410954Z | DEBUG | util.profiler | HistoryModel.refresh 0.0003 20211002T003205.413726Z | DEBUG | util.profiler | AddressList.update 0.0000 20211002T003205.587944Z | INFO | interface.[guichet.centure.cc:50002] | skipping header 703095 20211002T003205.702358Z | INFO | interface.[2ex.digitaleveryware.com:50002] | skipping header 703095 20211002T003205.910718Z | INFO | gui.qt.history_list.HistoryModel | refreshing... reason: update_tabs 20211002T003205.910914Z | DEBUG | util.profiler | HistoryModel.refresh 0.0002 20211002T003205.912916Z | DEBUG | util.profiler | AddressList.update 0.0000 20211002T003207.738503Z | INFO | interface.[btc.litepay.ch:50002] | skipping header 703095 20211002T003207.911149Z | INFO | gui.qt.history_list.HistoryModel | refreshing... reason: update_tabs 20211002T003207.911439Z | DEBUG | util.profiler | HistoryModel.refresh 0.0003 20211002T003207.914649Z | DEBUG | util.profiler | AddressList.update 0.0000 20211002T003210.162557Z | INFO | interface.[electrumx.hodlwallet.com:50002] | skipping header 703095 20211002T003210.411231Z | INFO | gui.qt.history_list.HistoryModel | refreshing... reason: update_tabs 20211002T003210.411528Z | DEBUG | util.profiler | HistoryModel.refresh 0.0003 20211002T003210.414352Z | DEBUG | util.profiler | AddressList.update 0.0000 20211002T003216.472752Z | INFO | interface.[VPS.hsmiths.com:50002] | skipping header 703095 20211002T003216.520484Z | INFO | interface.[electrum3.hodlister.co:50002] | skipping header 703095
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/spesmilo/electrum/issues/7516#issuecomment-932647122, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAC643AQOG4YH7GCMTUDCR3UEZHO5ANCNFSM5E2FZVDQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
Well, I don't have sense what is obvious in blockchain world, since I'm just an end user. I'm just comparing my experience to that of Ledger app which doesn't take more than a minute when withdrawing coins from accounts. I even don't understand why you're saying this transaction is huge, since to me it's just a single transaction to get all the coins out from my account.
Anyway, if the delay is expected behavior I will wait. Some kind of progress indicator would be helpful for people like me though.
Same experience with Ledger Nano X.
FW 1.3.0
,BTC app 1.6.3
. I'm using the derivation pathm/44'/5757'/0'
.
Same here, same device same FW and BTC app. Transactions in my case are a few inputs big (1-4).
For people who are able to test with modified the code, note that you can enable debug prints of device communication here: https://github.com/spesmilo/electrum/blob/1ff9f9910f1a8d17ebba04439c1fcaf1476b3e8f/electrum/plugins/ledger/ledger.py#L37
From experience it takes about 5 min when there's 70 inputs, 5 min to show up on the ledger and 5 min to come back to the pc.
Indeed, I've timed a few signing attempts to measure performance now and I confirm that ballpark (see concrete numbers below).
Note that there are two time periods to measure:
I've set BTCHIP_DEBUG=True
, and it looks like during ~all of the user-facing delays (these two "phases") there is ongoing communication (messages sent back and forth) between the hw device and the PC.
That is, it seems to me signing a typical few input tx takes a few second, and performance scales approximately linearly with the number of inputs. Also, the "delay" seems to be entirely due to the performance of the hardware device itself (as in, not due to electrum but e.g. firmware code and chip),
With this in mind, I would like to ask people here to clearly state if they encounter long delays that do not fit the above model, e.g. even for a tx with <10 inputs and <10 outputs there are multi-minute delays. In such a case, please share specific numbers for number of inputs, number of outputs, tx size, and "script type" and "wallet type" (from menubar
>Wallet
>Information
), along with hardware device type, bitcoin app version, and electrum version.
How about a simple spinner to people are aware it could take some time?
This is happening to me, but now the delay is infinite, it won't show anything on my Ledger device and it will never prompt to sign.
Number of inputs: 8 Number of outputs: 1 Tx size: 1225 bytes
Electrum version: 4.1.5 Wallet type: standard Script type: p2pkh HW: Ledger Nano X Bitcoin app version: 2.0.0
This is happening to me, but now the delay is infinite, it won't show anything on my Ledger device and it will never prompt to sign.
Number of inputs: 8 Number of outputs: 1 Tx size: 1225 bytes
Electrum version: 4.1.5 Wallet type: standard Script type: p2pkh HW: Ledger Nano X Bitcoin app version: 2.0.0
Updated to Bitcoin app version 2.0.3 => Same issue
The same is happening with me. I've tried with ubuntu and windows with the most recent electrum release.
Also tried with Ledger Nano S and X. All apps and firmware in Ledger are also updated to the most recent release.
Get stuck in the confirmation screen in electrum and nothing shows up in Ledger.
The same is happening with me. I've tried with ubuntu and windows with the most recent electrum release.
Also tried with Ledger Nano S and X. All apps and firmware in Ledger are also updated to the most recent release.
Get stuck in the confirmation screen in electrum and nothing shows up in Ledger.
Can you be more specific about what's a long delay and tell us how many utxo there were?
30 utxo could takes less than a minute here.
I speculate that the main reason this issue exist is because people don't expect to wait at all and think it's hung.
I've initiated the process at 12:28 and at 12:49 precisely i received the confirmation screen in my ledger. I had to disable the PIN lock mechanism to be able to wait that long.
Transaction details: Size: 1811 bytes Inputs: 12
Those are the transaction details that i can see. If you need additional details i can provide.
How about a simple spinner to people are aware it could take some time?
I've added a progress indicator in https://github.com/spesmilo/electrum/commit/ec98ef5aee72d5b5e5ec119a1c176820c6bb4635
electrum 4.2.1 was just released, which has the progress indicator -- however the signing is not expected to be faster/slower. Feel free to test with that.
The progress indicator helps a lot giving insights on every step. However, the transaction signing still takes ~25 minutes. Do you have any plans to @SomberNight improve it? Shall we open another issue on Ledger side? TY
More details about my last tx with Electrum 4.2.1:
- transaction with 12 inputs (from legacy address) and 1 output (to native segwit address)
- ~25 minutes to sign and broadcast
Could you please go into the Console
tab (menubar>View
>Show Console
), and run the following command:
(substituting the transaction ID of your own tx that took a long time to sign for TXID near the end)
sum([len(str(wallet.get_input_tx(txin.prevout.txid.hex())))//2 for txin in wallet.db.get_transaction("TXID").inputs()])
example:
>>> sum([len(str(wallet.get_input_tx(txin.prevout.txid.hex())))//2 for txin in wallet.db.get_transaction("8f27b41e9c209f9935f3e3b9a7dc430749ad61dbcb730f3c11340b0a1b5a6d8c").inputs()])
560
This will print the combined byte-size of all the inputs your tx has. This data is sent to the device during signing via the USB, and the chip has to process it, so the larger it is, the longer it takes to sign. I am guessing while your tx only has 12 inputs, they are probably massive, maybe belong to batched exchange withdrawals of hundreds of outputs each.
So I would like to know what the command above prints for you.
EDIT: or if you don't mind the privacy implications, feel free to just share the txid so I can do such calculations myself.
This is clearly the problem, trying to add a single utxo from large tx dust attacks makes the delay incredibly long for these hardware wallet.
On Sat., Apr. 9, 2022, 10:06 ghost43, @.***> wrote:
- transaction with 12 inputs (from legacy address) and 1 output (to native segwit address)
- ~25 minutes to sign and broadcast
Could you please go into the Console tab (menubar>View>Show Console), and run the following command: (substituting the transaction ID of your own tx that took a long time to sign for TXID near the end) sum([len(str(wallet.get_input_tx(txin.prevout.txid.hex())))//2 for txin in wallet.db.get_transaction("TXID").inputs()])
example:
sum([len(str(wallet.get_input_tx(txin.prevout.txid.hex())))//2 for txin in wallet.db.get_transaction("8f27b41e9c209f9935f3e3b9a7dc430749ad61dbcb730f3c11340b0a1b5a6d8c").inputs()]) 560
This will print the combined byte-size of all the inputs your tx has. This data is sent to the device during signing via the USB, and the chip has to process it, so the larger it is, the longer it takes to sign. I am guessing while your tx only has 12 inputs, they are probably massive, maybe belong to batched exchange withdrawals of hundreds of outputs each.
So I would like to know what the command above prints for you.
— Reply to this email directly, view it on GitHub https://github.com/spesmilo/electrum/issues/7516#issuecomment-1094039450, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAC643C43D5GPAHJT2NCU73VEGFF3ANCNFSM5E2FZVDQ . You are receiving this because you commented.Message ID: @.***>
@SomberNight, the output of my tx is -> 1471608
@planbetterHQ Right, that's very large. So indeed that is the cause then.
When signing legacy or segwit inputs, for each input, the whole transaction that created it needs to be transferred to the hardware device and processed by it.
For example, say you withdrew some coins from a custodial exchange, and they paid you in a tx that has 100 inputs and 100 outputs, one of those outputs being your UTXO. Now you want to spend this UTXO -- it is just one of your potentially many inputs (12 in your specific case), and this parent tx needs to be processed by the hardware device. If all your inputs are created by large txns, it's going to take a while... There is not much we can do to speed this up. Maybe Ledger could (in the device firmware, or by using faster chips in future devices) but I imagine they have already looked at all the low-hanging fruit.
Taproot will help with this however, at least if you are spending taproot UTXOs, as bip-341 uses a new sighash that commits to all the input amounts, and so the parent txs no longer need to be transmitted to the device for signing. Taproot is not yet implemented in Electrum currently (but note that even when it will be, it would only help for coins that are stored at taproot addresses, so not existing ones).
When signing with a Ledger HW, there is a huge delay of more than 30 minutes in some cases. The pop-up to sign in the HW sometimes appears after a very long time, sometimes not.