BeamMW / beam

Beam: Scalable Confidential Cryptocurrency. Leading the way to Confidential DeFi
https://beam.mw
Apache License 2.0
699 stars 206 forks source link

Transactions stack in "Confirming" status, if during the process, the wallet was restarted or Node was disconnected #326

Open kaminskyelina opened 5 years ago

kaminskyelina commented 5 years ago

Transactions stack in "Confirming" status

Transactions stack in "Confirming" status, if during the process, the wallet was restarted or Node was disconnected

Scenario

  1. Send transaction
  2. Restart the wallet when it is In Progress state OR make changes in Node settings

Result -> the transaction will stack in "Confirming" state

Expected After the wallet is up and sync is done, the transactions should be completed (in case the address still valid)

Platform and build Mac OS version 10.13.6 (17G4015) Wallet 1.0.3976

Screenshot: image

gingervik commented 5 years ago

@kaminskyelina please, add logs

kaminskyelina commented 5 years ago

beam_ui_19_01_10_12_40_20.txt beam_ui_19_01_10_12_43_29.txt

jurijakimuk commented 5 years ago

Tested on 4255, mastenet. The issue still reproduces. The transactions remain in "Syncing with blockchain" status, while newer transactions appear completed. I haven't found the kernel ID of the transaction that is still Synching in the logs, but if the new logs could be of any help, see them attached. logs.zip

Screenshot: image

Sergei-Beam commented 5 years ago

When I was testing the ticket #169 I've found the same issue as here https://github.com/BeamMW/beam/issues/326#issuecomment-456360517

valdok commented 5 years ago

This is most probably because the transaction was sent to the local node, and is in the "aggregation" stage for up to 10 seconds. If during this time the Node is stopped - transaction is lost