Giter VIP home page Giter VIP logo

electrum-firo's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

electrum-firo's Issues

Mac OS // App shuts down when going into Preferences

Hello,

when i click “SHOW HISTORY RATES” FIRO electrum suddenly shuts down with an error. After that when I reboot FIRO electrum whenever I click on “preferences” the app shuts down.

the only solution to this is to go into the directory where FIRO electrum is and delete the whole folder.

After doing this I can go into “preferences” where the settings are reset (because of the deletion of the directory folder)

I use the latest MAC OS, MacBook Pro

Unable to spend Firo from Trezor One RuntimeError('DataError: Invalid coin name'

Electrum Firo 4.0.9.3

Actual behavior

Trying to sign a tx in Electrum Firo with Trezor One results in RuntimeError('DataError: Invalid coin name') after entering the Trezor One Pin.
Steps to reproduce

Sign a transaction with Trezor One firmware version 1.10.2.
Enter Trezor One Pin
RuntimeError('DataError: Invalid coin name')

Unable to spend Firo from Trezor One.

RuntimeError('DataError: Message too big') when signing a single input with Trezor One

RuntimeError('DataError: Message too big') when signing a single input with Trezor One

Trying to sign only 1 input. The input is not a masternode payout.

Trezor One FW 1.11.2 (latest)
Electrum FIRO 4.1.5.1 (latest)
macOS 12.6.2 (21G320)

The only thing that seems to distinguish inputs I can sign vs inputs I can not sign is the block height when the utxo was received.

It seems that older inputs can not be signed at all (Firo block heights starting with 3xxxxx) and coins received in newer (block heights starting with 4xxxxx and 5xxxxx) can be signed, even multiple inputs at once and even masternode payouts.

Trezor Safe 3

Hi guys,
Any chance of getting the wallet working with Trezor S3 ?
I'm using appimage on Linux Mint.
We have this working on other electrum wallets.
Thanks
Chris

RuntimeError('FirmwareError: firmware error') when trying to sign a simple transaction

Posted this in the Trezor Issue tracker, and they found an error in the code here:

return "Zcoin Testnet" if constants.net.TESTNET else "Zcoin"

Original post: trezor/trezor-firmware#1588

I am starting to get a bit worried. I can not sign transactions and spend/send. I have tried one input to one output. One input to an output and a change address. Basic transactions. Nothing works, I get this firmware error every time.

Firmware version and revision

Using Trezor model T

Firmware version
2.3.6

Desktop/smartphone setup (please complete the following information):
Tried using Trezor Suite and Electrum, same issue. Does not matter what wallet I use.

To Reproduce
Any transaction with Firo it seems. Fails with Firmware error every time.

Screenshots
image

Additional context
I am using Firo https://www.firo.org/

All my coins are locked with Trezor, but if I can't spend that is a big problem.

Add an option to not write a list of recently opened wallets to config file

Actual behavior

Open Any wallet saves recently opened in config file

Steps to reproduce

  1. open any saved wallet
  2. close wallet
  3. launch/open wallet again automatically opens last opened wallet

Crash / debug logs

~/.electrum-firo/config

line:

    "recently_open": [
        "/home/amnesia/.electrum-firo/wallets/test"
    ],

Desired behavior

To have option in the preferences/settings to turn off:

write recently opened wallets to config file

like Feather (Monero wallet) has
feather cleaned

(I'm not sure how to implement this or else I would have made a pull request. Feather is made with C++ and Electrum-Firo is using python)

Cannot sign transactions with my Ledger Nano X on MacOS Big Sur

Actual behavior

I can't sign transactions with my Ledger. Tried to send it, application asks to sign via Ledger but the wallet stays on "Application is ready". I'm using the Firo app, everything is on the latest version. It just stays stuck on please sign the transaction.

Steps to reproduce

  1. Send a transaction via the App.

Crash / debug logs

Desired behavior

Should be clear.

Anonymize coins?

Hi, is there any way to anonymize coins like in the QT client?

Enabling "Show history rates" will result Electrum-Firo crash.

Actual behavior

Enabling Show history rates will result in Electrum-Firo crash.
After the crash, clicking Preferences will result in crash.

Steps to reproduce

  1. Click menu Tools > Preferences > Fiat
  2. Select Fiat currency to USD
  3. Show history rates (Ticked/Enabled)
  4. It will result in Crash.
  5. After the crash, running Electrum-Firo and then clicking Preferences again will result in crash.

In order to reset Electrum-Firo, I must delete all files in this directory:
C:\Users\%USERNAME%\AppData\Roaming\Electrum-FIRO
And then run Electrum-Firo again.

OS, Version

  1. Windows 10 1809, 64-bit
  2. Firo-Electrum-4.1.5.1-setup-win64.exe

image

Add Verification Documentation

- 1. First download the public key from firo.org or github

wget https://raw.githubusercontent.com/firoorg/firo/master/reuben.asc

(Can't wget or curl key over Tor with torsocks from firo.org (cloudflare issue)

wget https://firo.org/reuben.asc

curl -f https://firo.org/reuben.asc

both show 403 or refused

- 2. Import Reuben’s key (Signing-key)

gpg --import < reuben.asc

3. Check that the public key is the legit fingerprint

(Didn’t see the Fingerprint of this key listed)

it should be listed multiple places like Git, firo.org, other places

Example QubesOS signing key fingerpint listed multiple places

gpg --fingerprint [[email protected]](mailto:[email protected])

pub   ed25519/0x1290A1D0FA7EE109 2020-11-18 [SC]
      Key fingerprint = 0186 454D 63E8 3D85 EF91  DE4E 1290 A1D0 FA7E E109
uid                   [ unknown] [email protected] <[email protected]>
sub   cv25519/0xDFA6985F7E97E84A 2020-11-18 [E]
      Key fingerprint = FB18 BD33 74DF 475A 40A1  BDC8 DFA6 985F 7E97 E84A

[Key fingerprint = 0186 454D 63E8 3D85 EF91 DE4E 1290 A1D0 FA7E E109]

4. Download the wallet for your OS and hashs (SHA256SUMS) from github

5. Verify hashes

gpg --verify SHA256SUMS

Should say Good signature from reubens key and dates should match when it was signed:

gpg: Signature made Sat 25 Feb 2023 04:41:56 PM UTC
gpg:                using EDDSA key 0186454D63E83D85EF91DE4E1290A1D0FA7EE109
gpg: Good signature from "[email protected] <[email protected]>" [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: 0186 454D 63E8 3D85 EF91  DE4E 1290 A1D0 FA7E E109

then calculate the sha256sums of the wallet (Firo-Electrum-x.x.x.x-version.etc)

sha256sum Firo-Electrum-4.1.5.2-x86_64.AppImage

Make sure its the same as in signed SHA256SUMS and that they match.

Unable to connect FIRO wallet to Ledger

Hardware Keystore
No hardware device detected.
To trigger a rescan, press 'Next'.

If your device is not detected on Windows, go to "Settings", "Devices", "Connected devices", and do "Remove device". Then, plug your device again.
While this is less than ideal, it might help if you run Electrum as Administrator.

Debug message
ledger: (error getting device infos)
read error

Masternode reward got stuck in Trezor Electrum Wallet.

Actual behavior

I run few masternodes on Allnodes.com, get the rewards to be sent to other payee addresses which are in my Trezor-Electrum wallet.

Things have gone well for the last 5 months, until yesterday. There was one reward that already got 230+ confirmation, but still I could not send it out. This error message appeared right after I pressed confirm on my Trezor.

FIROproblem

The rest of the rewards are OK.

Wallets, Trezor HWs and laptops that I tried :

Wallet : Electrum 4.0.9.4

Trezor T firmware 2.4.0
Trezor One firmware 1.10.0

Laptops : 2 different laptops, running both Win 10 Pro version 20H2

FIROproblem

Crash / debug logs

Microsoft Windows [Version 10.0.19042.1165]
(c) Microsoft Corporation. All rights reserved.

C:\Program Files\Firo Electrum>console-electrum-firo-4.0.9.4.exe -vdebug
I | logging | Firo Electrum version: 4.0.9.4 - https://electrum.dash.org - https://github.com/firoorg/electrum-firo/
I | logging | Python version: 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:58:18) [MSC v.1900 64 bit (AMD64)]. On platform: Windows-10-10.0.19041-SP0
I | logging | Logging to file: None
I | logging | Log filters: verbosity 'debug', verbosity_shortcuts ''
I/p | plugin.Plugins | registering hardware digitalbitbox: ('hardware', 'digitalbitbox', 'Digital Bitbox wallet')
I/p | plugin.Plugins | registering hardware keepkey: ('hardware', 'keepkey', 'KeepKey wallet')
I/p | plugin.Plugins | registering hardware ledger: ('hardware', 'ledger', 'Ledger wallet')
I/p | plugin.Plugins | registering hardware safe_t: ('hardware', 'safe_t', 'Safe-T mini wallet')
I/p | plugin.Plugins | registering hardware trezor: ('hardware', 'trezor', 'Trezor wallet')
D/T | util.profiler | Plugins.init 0.0000
I/n | network | blockchains [0]
I/D | dash_net.DashNet | failed to load banlist.gz: FileNotFoundError(2, 'No such file or directory')
I | exchange_rate.FxThread | using exchange CoinGecko
D/T | util.profiler | Daemon.init 0.1008
I | daemon.Daemon | launching GUI: qt
I/n | network | starting network
I/n | network | setting proxy None
I | daemon.Daemon | starting taskgroup.
I/n | network | connecting to electrumx01.firo.org:50002:s as new interface
I/n | network | starting taskgroup.
I | gui.qt.history_list | could not import electrum_firo.plot. This feature needs matplotlib to be installed.
I | gui.qt.ElectrumGui | Qt GUI starting up... Qt=5.14.2, PyQt=5.14.2
D/T | util.profiler | ElectrumGui.init 0.1607
I | storage.WalletStorage | wallet path c:\users\admin\appdata\roaming\electrum-firo\wallets\house 2 reward
I | storage.WalletStorage | wallet path c:\users\admin\appdata\roaming\electrum-firo\wallets\house 2 reward
I/i | interface.[electrumx02.firo.org:50002] | connection established. version: ['ElectrumX 1.16.0', '1.4.2']
I/i | interface.[electrumx02.firo.org:50002] | set blockchain with height 401944
I/i | interface.[electrumx02.firo.org:50002] | could connect 401945
I/n | network | no height for main interface
I/n | network | fee_estimates {25: 9082, 10: 9082, 5: 9082, 2: 9082}
I/p | plugin.Plugins | loaded digitalbitbox
I/p | plugin.Plugins | loaded keepkey
I/p | plugin.Plugins | loaded ledger
I/p | plugin.Plugins | loaded safe_t
I/p | plugin.Plugins | loaded trezor
I | plugin.DeviceMgr | scanning devices...
I/i | interface.[electrumx01.firo.org:50002] | connection established. version: ['ElectrumX 1.16.0', '1.4.2']
D/T | util.profiler | DeviceMgr.scan_devices 0.0386
I | plugins.trezor.qt.Plugin | connecting to device at bridge:16
I | plugins.trezor.qt.Plugin | connected to device at bridge:16
I/i | interface.[electrumx03.firo.org:50002] | connection established. version: ['ElectrumX 1.16.0', '1.4.2']
I/i | interface.[electrumx01.firo.org:50002] | set blockchain with height 401945
I/i | interface.[electrumx01.firo.org:50002] | skipping header 401945
I/n | network | no height for main interface
I/n | network | switching to electrumx02.firo.org:50002:s
I/i | interface.[electrumx.firo.org:50002] | connection established. version: ['ElectrumX 1.16.0', '1.4.2']
I/i | interface.[electrumx03.firo.org:50002] | set blockchain with height 401945
I/i | interface.[electrumx03.firo.org:50002] | skipping header 401945
I/n | network | fee_histogram []
I/i | interface.[electrumx.firo.org:50002] | set blockchain with height 401945
I/i | interface.[electrumx.firo.org:50002] | skipping header 401945
I/n | network | fee_estimates {25: 9082, 10: 9082, 5: 9082, 2: 9082}
I/n | network | fee_estimates {25: 9082, 10: 9082, 5: 9082, 2: 9082}
I/n | network | fee_estimates {25: 9082, 10: 9082, 5: 9082, 2: 9082}
I | plugin.DeviceMgr | Registering Pepe Bitrock/8A088217255D0E7E0ADB5A6A
I | plugin.DeviceMgr | scanning devices...
D/T | util.profiler | DeviceMgr.scan_devices 0.2516
D/T | util.profiler | WalletDB._load_transactions 0.2511
D/T | util.profiler | AddressSynchronizer.load_local_history 0.0312
D/T | util.profiler | AddressSynchronizer.check_history 0.0156
I | synchronizer.[house 2 reward] | receiving history aHu1Bhm2kBtunNUrbr81CndZ9rLiubMnQy 12
I/w | wallet.Standard_Wallet.[house 2 reward] | set_up_to_date: True
I | storage.WalletStorage | saved c:\users\admin\appdata\roaming\electrum-firo\wallets\house 2 reward
D/T | util.profiler | WalletStorage.write 0.2865
I | verifier.[house 2 reward] | requested merkle ad10a600c11ffb2d6bf1adf6a0b63fa1290a3d218b122d909545ed2183775aa0
I | plugin.DeviceMgr | scanning devices...
D/T | util.profiler | Deterministic_Wallet.try_detecting_internal_addresses_corruption 0.0016
D/T | util.profiler | ElectrumWindow.load_wallet 0.2212
I/w | wallet.Standard_Wallet.[house 2 reward] | set_up_to_date: False
I | synchronizer.[house 2 reward] | receiving history aFsqAWye67kud7NRoGr2tTuPb37biqiANi 410
I | verifier.[house 2 reward] | verified ad10a600c11ffb2d6bf1adf6a0b63fa1290a3d218b122d909545ed2183775aa0
D/T | util.profiler | DeviceMgr.scan_devices 0.3877
I | plugin.DeviceMgr | getting client for keystore
I/w | wallet.Standard_Wallet.[house 2 reward] | set_up_to_date: True
I | plugin.DeviceMgr | end client for keystore
I | plugin.DeviceMgr | getting client for keystore
I | plugin.DeviceMgr | end client for keystore
I | storage.WalletStorage | saved c:\users\admin\appdata\roaming\electrum-firo\wallets\house 2 reward
D/T | util.profiler | WalletStorage.write 0.2910
I | gui.qt.history_list.HistoryModel | refreshing... reason: update_tabs
D/T | util.profiler | HistoryModel.refresh 0.0000
D/T | util.profiler | Abstract_Wallet.get_full_history 0.2193
D/T | util.profiler | HistoryModel.process_history 0.0000
D/T | util.profiler | UTXOModel.get_coins 0.3530
D/T | util.profiler | HistoryModel.process_changes 0.0321
D/T | util.profiler | UTXOModel.process_changes 0.0000
D/T | util.profiler | UTXOModel.refresh 0.0000
D/T | util.profiler | AddressModel.get_addresses 0.0000
D/T | util.profiler | AddressModel.process_changes 0.0000
D/T | util.profiler | AddressModel.refresh 0.0000
D/T | util.profiler | UTXOModel.process_changes 0.0000
D/T | util.profiler | UTXOModel.refresh 0.0150
I | storage.WalletStorage | saved c:\users\admin\appdata\roaming\electrum-firo\wallets\house 2 reward
D/T | util.profiler | WalletStorage.write 0.3001
I | plugin.DeviceMgr | getting client for keystore
I | plugin.DeviceMgr | scanning devices...
D/T | util.profiler | DeviceMgr.scan_devices 0.3015
I | plugin.DeviceMgr | end client for keystore
I | plugin.DeviceMgr | getting client for keystore
I | plugin.DeviceMgr | scanning devices...
D/T | util.profiler | DeviceMgr.scan_devices 0.4039
I | plugin.DeviceMgr | end client for keystore
I/n | network | fee_estimates {25: 9082, 10: 9082, 5: 9082, 2: 9082}
I/n | network | fee_histogram []
I/n | network | fee_estimates {25: 9082, 10: 9082, 5: 9082, 2: 9082}
I/n | network | fee_estimates {25: 9082, 10: 9082, 5: 9082, 2: 9082}
I/n | network | fee_estimates {25: 9082, 10: 9082, 5: 9082, 2: 9082}
E | gui.qt.main_window.[house 2 reward] | on_error
Traceback (most recent call last):
File "electrum_firo\plugins\trezor\clientbase.py", line 257, in sign_tx
File "trezorlib\tools.py", line 231, in wrapped_f
File "trezorlib\btc.py", line 263, in sign_tx
File "trezorlib\tools.py", line 231, in wrapped_f
File "trezorlib\client.py", line 223, in call
trezorlib.exceptions.TrezorFailure: ProcessError: Encountered invalid prev_hash

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "electrum_firo\gui\qt\util.py", line 848, in run
File "electrum_firo\wallet.py", line 1446, in sign_transaction
File "electrum_firo\plugins\trezor\trezor.py", line 96, in sign_transaction
File "electrum_firo\plugin.py", line 362, in wrapper
File "electrum_firo\plugin.py", line 355, in run_in_hwd_thread
File "concurrent\futures_base.py", line 435, in result
File "concurrent\futures_base.py", line 384, in __get_result
File "concurrent\futures\thread.py", line 57, in run
File "electrum_firo\plugins\trezor\trezor.py", line 345, in sign_transaction
File "electrum_firo\plugin.py", line 362, in wrapper
File "electrum_firo\plugin.py", line 352, in run_in_hwd_thread
File "electrum_firo\plugins\trezor\clientbase.py", line 257, in sign_tx
File "electrum_firo\plugins\trezor\clientbase.py", line 85, in exit
RuntimeError: ProcessError: Encountered invalid prev_hash

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.