Commit Graph

645 Commits

Author SHA1 Message Date
SomberNight
f64062b6f1
add --noonion option to filter out onion servers
closes #4531
2018-07-31 20:25:53 +02:00
SomberNight
a29e2218c8
wallet: introduce namedtuples TxMinedStatus and VerifiedTxInfo 2018-07-31 17:10:15 +02:00
SomberNight
41e088693d
verifier: better handle reorgs (and storage upgrade) 2018-07-31 15:51:05 +02:00
SomberNight
861640949e
kivy: on tx broadcast, truncate error message
related #4593
2018-07-31 14:03:08 +02:00
SomberNight
c9c8b7656d
follow-up prev. sanity check OP_RETURN outputs
based on 86c63a3a08
2018-07-31 13:03:34 +02:00
SomberNight
e1b2195cf7
fix #4591: pay to OP_RETURN on trezor 2018-07-31 12:30:43 +02:00
SomberNight
629b9cb3b5
fee estimation: split eta_to_fee into two methods 2018-07-30 19:15:05 +02:00
SomberNight
8e69174374
logging: self.print_error should not print without -v flag 2018-07-29 04:29:19 +02:00
SomberNight
eaf72aa951
network: handle one-block-long fork
also add fixme about incorrect behaviour in case of a fork height higher than our local chain tip
2018-07-29 04:00:02 +02:00
ghost43
0d05b84dc3
network: handle reorg (sooner) in case of multiple forks at given height (#4537) 2018-07-29 03:56:10 +02:00
Jean-Christophe Rona
02c30e3d52
Add support for Archos Safe-T mini hardware wallet (#4445)
commit 10c46477f3a6f2fbc0596345511e0994253081eb
Author: SomberNight <somber.night@protonmail.com>
Date:   Wed Jul 25 19:40:05 2018 +0200

    backport changes of trezor plugin

commit 213619e880f709188c1ea6272758896748e681a8
Merge: a855b75b6 6899ca252
Author: Jean-Christophe Rona <jc@rona.fr>
Date:   Wed Jul 25 18:45:19 2018 +0200

    Merge branch 'master' into safe-t-mini

commit a855b75b6f5af5f707c4680d0bac79eb66a85ace
Author: Jean-Christophe Rona <rona@archos.com>
Date:   Wed Jul 25 18:37:12 2018 +0200

    Safe-T: Switch to safet 0.1.3 to remove the rlp dependency

commit 9bee44ca33289158c91c03d47dec45de6577f17b
Author: SomberNight <somber.night@protonmail.com>
Date:   Wed Jul 18 14:01:10 2018 +0200

    safe-t: bump min fw to 1.0.5

    older fw has a bug when restoring from seed

commit 01816607e8ba308cb5cff96b5fb844e4f6b8fcc1
Author: SomberNight <somber.night@protonmail.com>
Date:   Wed Jul 18 13:57:17 2018 +0200

    safe-t: fix rlp version to avoid eth stuff

commit 430206bea1fa10b762ff953fbc7652ce0d0e939d
Merge: a999ae266 b4b862b0c
Author: SomberNight <somber.night@protonmail.com>
Date:   Wed Jul 18 13:29:41 2018 +0200

    Merge branch 'master' into pr/4445

commit a999ae266f499f180946d53d4e860cc871d562ab
Author: Jean-Christophe Rona <rona@archos.com>
Date:   Tue Jun 19 14:18:03 2018 +0200

    Safe-T mini: Remove supported coins

    This is not really useful there.

commit 7922df1031b2c4b132f7f9c90232480b5bf9585c
Author: Jean-Christophe Rona <rona@archos.com>
Date:   Tue May 29 16:43:37 2018 +0200

    Safe-T mini: Add support for the Safe-T mini
2018-07-25 20:11:04 +02:00
SomberNight
a799a00dc5
fix #4577 2018-07-24 18:57:49 +02:00
SomberNight
579d48cf0c
follow-up a830747f83
on_history expects fewer arguments than what the fee_histogram callback gives
2018-07-24 18:25:22 +02:00
SomberNight
53130da682
storage: factor out 'JsonDB' 2018-07-23 19:59:10 +02:00
SomberNight
d2abaf54e8
verifier: small refactor 2018-07-23 19:59:05 +02:00
SomberNight
89aa9eb0a7
revealer: minor fix and clean-up 2018-07-22 19:40:10 +02:00
SomberNight
a830747f83
kivy: update history screen on fee histogram
related: #4573
2018-07-21 23:23:25 +02:00
SomberNight
4284f4feb3
fix #4575 2018-07-21 23:09:46 +02:00
SomberNight
f8e13c5c33
kivy: use correct i18n 2018-07-21 16:15:45 +02:00
SomberNight
f7dce426cb
fix #4574 2018-07-19 19:52:06 +02:00
SomberNight
597295e359
address_synchronizer fixes
is_mine: wallet expects get_address_index to work
imported wallets: history did not include addr keys after creation
deterministic wallets: get_addresses() should be sorted in derivation order
2018-07-19 18:16:23 +02:00
SomberNight
0100af9389
fix #4572 2018-07-19 13:59:38 +02:00
SomberNight
01193be241
logging: when not giving args to -v, log everything, as before 2018-07-19 13:55:05 +02:00
SomberNight
cc77ba523f
fix minor undefined stuff in address_synchronizer 2018-07-19 13:47:49 +02:00
Janus
1fb0b6d7bd plugins/ledger: just hardcode BTCHIP_DEBUG to False 2018-07-19 13:33:57 +02:00
Janus
f9f6ea4365 commands: tolerate lack of argument to 'verbosity' 2018-07-19 12:43:53 +02:00
ThomasV
b96b5af101 fix imports 2018-07-19 10:25:46 +02:00
ThomasV
0025073b24 move more methods from wallet to address_synchronizer 2018-07-19 10:15:22 +02:00
Janus
780b2d067c Whitelist classes in verbose (-v) option 2018-07-19 01:21:33 +02:00
SomberNight
8f17f38b02
trezor/kk: when using old fw, wizard did not display instructions properly 2018-07-18 20:17:03 +02:00
SomberNight
aa86440866
fix #4566: bip39 passphrases with multiple spaces 2018-07-18 18:42:04 +02:00
Yura Pakhuchiy
27b36486df Trezor: fix spending coinbase outputs (#4565)
Attempt to spend coinbase output results in error:
a bytes-like object is required, not 'str'
2018-07-18 17:39:32 +02:00
SomberNight
e5661156f0
follow-up e3888752d6 2018-07-18 15:32:26 +02:00
Janus
1e715113ab remove pbkdf2 dependency, use stdlib instead 2018-07-18 14:34:59 +02:00
tiagotrs
b4b862b0cc add warning that seed extension will not be included in the backup (#4555) 2018-07-18 13:15:31 +02:00
ThomasV
e3888752d6 separate address synchronizer from wallet 2018-07-18 11:18:57 +02:00
SomberNight
8bb59fcc3c
follow-up prev: fix bug in fee_to_depth, and typo and tests 2018-07-14 19:02:41 +02:00
SomberNight
b8ab36546d
mempool fees: increase estimate by max precision of histogram
related: #4551
2018-07-14 18:45:02 +02:00
ThomasV
f8ee203225 rm deprecated info about apk version 2018-07-13 18:57:04 +02:00
SomberNight
b44aca1654
network: disconnect from server on incorrect header length
fix #4522
2018-07-13 18:11:48 +02:00
Janus
87f6aa09df log failure to import plugins or plot module 2018-07-13 15:24:16 +02:00
ThomasV
77940148fa fix paths in buildozer/makefile 2018-07-13 14:45:08 +02:00
Janus
097ac144d9 file reorganization with top-level module 2018-07-13 14:01:37 +02:00
Janus Troelsen
4f85615734 add simnet support (#4455) 2018-06-22 17:07:07 +02:00
Filip Gospodinov
61154794c8 electrum: cleanup plugin imports
`electrum_plugins` is imported in the `electrum` script
without being used - I assume it's done to make PyInstaller
find that package. But this can be achieved by avoiding
the usage of `__import__()` when importing `electrum_plugins`
where it's effectively used.
2018-04-26 06:12:20 +02:00
Dimitris Apostolou
989c9c2b55 Fix typos 2018-04-15 20:34:40 +02:00
fivepiece
b4d71e651b add regtest support (#4242)
* add regtest support

* set default regtest ssl and tcp ports to 51002 and 51002

* regtest inherits parameters from testnet
2018-04-11 19:10:14 +02:00
SomberNight
7b50790584
do not raise BaseException 2018-04-07 17:10:30 +02:00
ThomasV
08e7a5f05f remove pyjnius thread monkey patching; now in pyjnius 2018-04-01 11:18:15 +02:00
SomberNight
0f5cabc7f6 fix #4122 2018-03-14 12:42:42 +01:00
SomberNight
81b6d65764 refactor network constants 2018-03-04 22:10:59 +01:00
SomberNight
8951dc3120 restore cmd: stop wallet threads
while "restore" does not wait for verifier to finish, this will at least ensure that whatever has been verified, gets persisted
2018-02-26 01:33:02 +01:00
SomberNight
4cc2575d72 cli support for hw encrypted wallets 2018-02-10 20:07:06 +01:00
ThomasV
c49335ed30
Merge pull request #3346 from SomberNight/encrypt_watch_only_wallets
allow encrypting watch-only wallets
2018-02-03 11:02:14 +01:00
Johann Bauer
91e44ba6fc Show error window for unhandled exceptions
Use exception hook from main thread for all threads

Use signal to delegate error window creation to GUI thread

Add more information to issue template

Update to PyQt5

Switch from Github to REST-Service

Report to web service instead of opening the browser

Fix imports

Change crashhub URL to electrum.org server

Explain that exception hooks are only used in the Qt Gui now
2018-01-30 10:49:31 +01:00
SomberNight
c811c5c9d9 allow encrypting watch-only wallets. initial support for hw wallet storage encryption. 2018-01-28 02:09:44 +01:00
SomberNight
a58d01ed54 setconfig rpcpassword: don't try to evaluate or reencode 2018-01-14 12:26:00 +01:00
ThomasV
4a40b3a0b2 separate merchant UI from main project 2018-01-12 10:37:14 +01:00
ThomasV
1020449684 disable jsonrpc commands in the GUI 2018-01-08 00:20:46 +01:00
ThomasV
7c702b518d disable jsonrpc on android 2018-01-08 00:20:27 +01:00
ThomasV
412ce18201 fix previous commit 2017-11-28 18:26:58 +01:00
ThomasV
b9d8b2a571 windows: build portable version without patching the source 2017-11-28 18:21:59 +01:00
Justin Turner Arthur
857eb4ac1d Remove unused imports. Explicitly import a few deep imports. 2017-11-13 02:28:00 -06:00
SomberNight
0db5ea67a0 bitcoin.NetworkConstants: easier changing between testnet and mainnet 2017-11-09 17:47:57 +01:00
ThomasV
e8b634ac4a from_seed: add missing parameter 2017-11-01 14:46:44 +01:00
ThomasV
f7200cb616 use pyinstaller for OSX builds 2017-10-24 22:52:53 +02:00
ThomasV
5665b42999 remove six 2017-10-24 14:04:16 +02:00
ThomasV
5a45f257ca fix #3071: import error message 2017-10-20 09:53:54 +02:00
ThomasV
dc553ff108 fix #2991: encrypt wallet files created with command line 2017-10-15 09:18:14 +02:00
ThomasV
3f3d249ed1 follow up c810c6a356 2017-10-09 11:54:17 +02:00
ThomasV
e8b564c0e7 Extend Wallet Import Format with txin type. Extend class Imported_Wallet. 2017-09-29 15:32:55 +02:00
ThomasV
a6eb9753eb fix cmdline create with segwit option 2017-09-13 11:33:28 +02:00
ThomasV
8c5b6bdaf3 Read default server list from file. Update list with 1.1 servers. Remove nolnet option. 2017-09-13 11:30:30 +02:00
ThomasV
d531fe59b2 update make_packages script for android 2017-08-26 08:28:25 +02:00
ThomasV
cea705b153 update OSX builds with python3 2017-08-26 08:28:24 +02:00
ThomasV
b5338006f0 update pyinstaller scripts for python3 and pyinstaller3 (credit: bauerj) 2017-08-26 08:28:24 +02:00
ThomasV
c3388d9677 misc python3 updates:
- use jsonrpclib-pelix
 - update the kivy gui
 - update plugins
2017-08-26 08:28:24 +02:00
Dmitry Sorokin
c86140a608 py3 in setup.py and tox config 2017-08-26 08:28:24 +02:00
Dmitry Sorokin
d304ccdf17 py3 in qtgui 2017-08-26 08:27:47 +02:00
Dmitry Sorokin
5be78950ca py3 2017-08-26 08:27:47 +02:00
ThomasV
255458da0a fix #2400 2017-07-02 11:44:48 +02:00
ThomasV
cb2d5ff3d6 raise special exception for dangling links 2017-03-14 08:56:30 +01:00
ThomasV
ed42faa2e6 Revert commit 36f08ab2c3. 2017-03-08 11:22:27 +01:00
ThomasV
36f08ab2c3 changes for windows builds 2017-03-07 18:27:04 +01:00
ThomasV
6977ba603b Merge pull request #2236 from kyuupichan/master
Add support for BU's nolnet
2017-03-06 12:28:45 +01:00
ThomasV
411832c4ce cleanup storage and fix tracvis test 2017-03-06 08:33:35 +01:00
ThomasV
76dd11783b rename load_wallet command 2017-03-05 20:32:06 +01:00
ThomasV
b8bdcc0877 rename open close commands 2017-03-05 14:57:41 +01:00
Neil Booth
8888a50549 Add support for BU's nolnet
Also update testnet servers
Add missing self. in print_error call
2017-03-04 11:01:32 +09:00
ThomasV
b2d66b2a6f fix unnecessary password request 2017-03-03 16:05:13 +01:00
ThomasV
776f09b50e restore from addresses (fix #2173) 2017-03-03 14:23:09 +01:00
ThomasV
fcc92c1ebd Wallet file encryption:
- a keypair is derived from the wallet password
 - only the public key is retained in memory
 - wallets must opened and closed explicitly with the daemon
2017-03-01 13:58:04 +01:00
ThomasV
e1515743cd replace slowaes with pyaes 2017-02-10 17:22:52 +01:00
ThomasV
f2b208429d disable verbose option with kivy 2017-01-23 15:57:45 +01:00
ThomasV
d042d6e970 initial testnet support (petrkr) 2017-01-07 16:58:59 +01:00
ThomasV
be15b76c9b allow client daemon to be launched in the foreground (fix #1873) 2017-01-07 10:10:51 +01:00
ThomasV
528c3386b4 move jnius wrapper to main script 2016-10-24 15:24:06 +02:00
ThomasV
983e152ea3 fix update_pasword bug 2016-10-17 06:42:53 +02:00
ThomasV
df6dae90d6 remove the 'deseed' command, it does not work anymore with keystores 2016-10-05 10:53:08 +02:00
ThomasV
e0ba4a967c command line restore: strip text 2016-10-05 10:25:48 +02:00