Commit Graph

10101 Commits

Author SHA1 Message Date
ThomasV 2fd4cdcaa9 json_db: add missing lock 2019-02-28 16:11:19 +01:00
ThomasV 943d1ba8f2 json_db: private methods. return tx in remove_transaction 2019-02-28 16:03:36 +01:00
ThomasV d8c4bf5662 storage: call load_plugins in decrypt 2019-02-28 15:50:37 +01:00
ThomasV 1e519f2dd0 json_db: make get operations threadsafe 2019-02-28 15:47:42 +01:00
ThomasV 3631c27ed7 fix: load trustedcoin plugin for two-step wallet creation 2019-02-28 13:11:00 +01:00
ThomasV d74f0c0947 storage_db: fix tests, add modified flag to db class 2019-02-28 12:09:36 +01:00
ThomasV dbca0a0e83 fix tests for json storage 2019-02-28 10:37:48 +01:00
ThomasV 048eb01300 fix json_db list 2019-02-28 10:04:44 +01:00
ThomasV cb9dcb8e26 load wallet plugin in Wallet factory, fix trustedcoin wizard on kivy 2019-02-28 09:02:58 +01:00
ThomasV d73f7a2c10 jsondb: convert lists to sets 2019-02-28 09:02:58 +01:00
SomberNight 4b36114d0d small fixups 2019-02-28 09:02:58 +01:00
ThomasV 791e680a96 abstract database away from wallet and address_synchronizer 2019-02-28 09:02:58 +01:00
ThomasV 7f2083f667 separate storage and database (JsonDB) 2019-02-28 09:02:58 +01:00
ThomasV d5790ea109 wizard: do not use on storage object during wallet creation 2019-02-28 09:02:58 +01:00
SomberNight d6c2a0af94 exchange_rate: small fixups. BitcoinAverage, BitStamp
- BitcoinAverage seems to have historical rates for all currencies it supports
(as in, if there is spot price, there is also history).
- BitStamp now uses v2 API, also has support for EUR.
- Bitcointoyou does not seem to actually offer histories
(and `request_history` was undefined anyway)
- regenerate currencies.json
2019-02-27 23:49:25 +01:00
SomberNight 4b3a285871 exchange_rate: some clean-up and fixes
- generation of currencies.json was broken
- removed some dead exchanges
2019-02-27 21:48:33 +01:00
SomberNight a2047e2c68 tests: base43/base58 encoding/decoding 2019-02-25 19:17:38 +01:00
SomberNight 072ce9c7ac do not raise BaseException 2019-02-25 16:40:51 +01:00
ghost43 6617307730 Merge pull request #5118 from SomberNight/trezor_init_20190213
Trezor: implement "seedless" mode
2019-02-22 18:59:52 +01:00
SomberNight 11733d6bc2 wizard: normalize bip32 derivation path
so that what gets put in storage is "canonical"
(from now on... we could storage upgrade existing wallets
but it's not critical)
2019-02-22 18:50:29 +01:00
SomberNight 85a7aa291e bip32: refactor whole module. clean-up. 2019-02-22 18:50:24 +01:00
SomberNight b39c51adf7 mv "electrum seed" stuff from bitcoin.py to mnemonic.py 2019-02-22 18:01:54 +01:00
SomberNight e7f38467d7 move opcodes to bitcoin.py 2019-02-22 17:39:58 +01:00
SomberNight c03c17f1c7 transaction: replace custom enum type for opcodes with stdlib enum
based on Electron-Cash/Electron-Cash@99e60b4941
2019-02-22 16:52:08 +01:00
SomberNight 9dedf51afd trustedcoin: nicer 'ErrorConnectingServer' exception 2019-02-21 23:07:19 +01:00
SomberNight 4ef3eda8da util: mv create_URI to create_bip21_uri, and small clean-up 2019-02-20 21:19:03 +01:00
SomberNight 40bf049c82 commands: introduce 'removelocaltx'
see #5137
2019-02-20 18:01:43 +01:00
SomberNight 8e6904c7b7 wallet: default to get_addresses() in get_history()
get_addresses() is a superset of history.keys()
(was missing some local transactions in the output of get_history())
2019-02-20 17:52:43 +01:00
Jean P 7618693ca9 Add support for Ledger Nano X and future devices (#5140) 2019-02-20 13:46:26 +01:00
SomberNight 2d6a68545b qt installwizard: fix small regression
related: #5139 and 8f4967f7d0
2019-02-19 15:40:29 +01:00
SomberNight d4e209dc3a trustedcoin: print messages in both direction when debugging 2019-02-18 18:03:42 +01:00
SomberNight 0bf0b1d20b interface.is_server_ca_signed: don't rely on assert 2019-02-18 18:00:54 +01:00
SomberNight 2f11216986 fix get_fee_text for static fees
mismatching units
probably only affects kivy gui; when using static fees
2019-02-18 17:52:50 +01:00
SomberNight 0de954546a test python version in main script
for better error text on old python

related: #5008, #5129
2019-02-15 22:06:10 +01:00
SomberNight 92bf409bf0 scripts: add "quick_start" to showcase some basic functionality 2019-02-15 21:14:08 +01:00
ThomasV 25a460f855 Merge branch 'network_walk' 2019-02-15 17:37:59 +01:00
ThomasV 52520490c5 improve network send_multiple_requests 2019-02-15 17:37:15 +01:00
SomberNight 5313591c28 synchronizer: disconnect from server if cannot deserialize txn 2019-02-15 17:22:24 +01:00
SomberNight 7b8114f865 synchronizer: allow server not finding txn sometimes
User has wallet file with history that includes some txid; corresponding
raw tx is not in the "transactions" dict in the file however.
When the synchronizer starts up, it requests this "missing" txn from
the server... but what if the server does not know about it?
Maybe it was reorged and is not in the new best chain,
and not even in mempool. This was not handled previously.

fix #5122
2019-02-14 20:54:55 +01:00
ThomasV f60d1e7cb6 fix variable name in contrib/sign_version 2019-02-13 23:25:58 +01:00
ThomasV c725c05947 update make_download 2019-02-13 23:19:34 +01:00
ThomasV 87c596fa1d prepare release 3.3.4 2019-02-13 22:23:30 +01:00
ThomasV 0e78e15fa4 update locale submodule 2019-02-13 22:20:56 +01:00
ThomasV 4e9dd679ab add contrib/sign_version 2019-02-13 21:46:48 +01:00
SomberNight 5387c6d5f6 trezor: during device init hide some options behind an "expert" button 2019-02-13 20:35:24 +01:00
SomberNight 7bbec04a06 trezor: implement "seedless" mode (option during initialization) 2019-02-13 20:35:23 +01:00
SomberNight 2867c2ef7a update release notes 2019-02-13 20:23:54 +01:00
SomberNight ec86850a2e trezor: fix minor error handling issue
AttributeError: 'TrezorFailure' object has no attribute 'message'
2019-02-13 18:33:48 +01:00
SomberNight e2eb051eed keystore bip39: minor clean-up 2019-02-13 15:03:32 +01:00
ghost43 c8562f5362 network: reintroduce network.debug (#5093)
network.debug and interface.debug were removed during the asyncio-aiorpcx
network-rewrite.
2019-02-12 20:23:43 +01:00