Commit Graph

615 Commits

Author SHA1 Message Date
Janus
1c8be7d3e7 lightning: qt channel dialog, fix for shutdown when lightning disabled 2018-07-13 16:35:43 +02:00
Janus
f2798d09ea kivy: paste test seed using xclip, lightning: do not catch BaseException unnecessarily, fix clearSubscribers, detect passworded wallet correctly 2018-07-13 16:35:43 +02:00
ThomasV
4426ea2e70 simplify parameters, add lndhost to config 2018-07-13 16:35:43 +02:00
Janus
ea5a42d2eb lightning: add --simnet and --lightning switches 2018-07-13 16:35:43 +02:00
Janus
ee576d3ead lightning: use queueing lock 2018-07-13 16:35:42 +02:00
Janus
a13fb91ea4 lightning: less junk on console, quicker shutdown 2018-07-13 16:35:42 +02:00
Janus
f5bfbf97d3 lightning: fix syntax 2018-07-13 16:35:42 +02:00
Janus
702a2919ec lightning: complete moving of lightning objects, acquire net/wallet lock while answering lightning requests 2018-07-13 16:35:42 +02:00
Janus
920371e350 lightning: misc patches, launch asyncio loop on separate thread 2018-07-13 16:34:23 +02:00
Janus
cce6421340 lightning: march 2018 rebase, without integration 2018-07-13 16:34:23 +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
ThomasV
3a56b00da7 follow up previous commit 2016-08-25 12:28:06 +02:00
ThomasV
b907a668ec wizard: add derivation passphrase and bip39 support 2016-08-25 09:48:11 +02:00
ThomasV
b0afdf4614 fix command line: create, restore, importprivkey 2016-08-12 11:56:27 +02:00
ThomasV
31e9670502 make 'createrawtx' command not require wallet 2016-05-16 14:39:01 +02:00
ThomasV
671fe73788 set KIVY_DATA_DIR in main script 2016-03-08 04:55:58 +01:00
ThomasV
100ff51cc4 add import for pyinstaller 2016-02-24 19:16:59 +01:00
ThomasV
c26f898a4f add import for pyinstaller 2016-02-24 19:12:38 +01:00
ThomasV
73822e8ec2 fix: pass cwd with config_options 2016-02-24 16:57:58 +01:00
ThomasV
305843999e Relicensing 2016-02-24 10:20:30 +01:00
ThomasV
51ca7a056b minor fixes 2016-02-05 08:56:23 +01:00
ThomasV
9efbb57766 init plugins only if needed 2016-02-01 22:09:55 +01:00
ThomasV
ddc1869551 disambiguate types returned by get_fd_or_server 2016-02-01 13:10:01 +01:00
ThomasV
690c862923 move static methods away from daemon class; restore initial logic 2016-02-01 10:20:22 +01:00
ThomasV
3b00f62d46 remove another unnecessary static method 2016-02-01 09:25:57 +01:00
ThomasV
1c83c3e060 do not declare pointless static methods 2016-02-01 09:12:53 +01:00
Neil Booth
ec24087b5a Move some logic from electrum to daemon
Ultimate goal is to try and stop the daemon race at startup.
Need to isolate logic of checking for server and creating one.
2016-01-31 11:43:11 +09:00
Neil Booth
f6f7113978 daemon: create network inside constructor 2016-01-31 10:58:27 +09:00
ThomasV
ed401761f1 sorry, confused
This reverts commit 5e6a55edd5.
2016-01-30 11:24:53 +01:00
ThomasV
5e6a55edd5 Revert "Revert "Daemon network cleanup""
This reverts commit 2c7b10a776.
2016-01-30 11:13:11 +01:00
ThomasV
2c7b10a776 Revert "Daemon network cleanup"
This reverts commit 0a1b3eac9c.
2016-01-29 17:37:56 +01:00
Neil Booth
58d5215e2e No need to pass daemon and network together
The daemon has the network
2016-01-29 22:25:59 +09:00
Neil Booth
0a1b3eac9c Daemon network cleanup
All Daemon creation was preceded by Network creation, based on
config, and passing it to Daemon.
As config is passed to Daemon, it might as well create its own
network and the code is in one place.
2016-01-29 22:14:50 +09:00
ThomasV
307ec36d34 Merge branch 'master' of git://github.com/spesmilo/electrum 2016-01-29 09:29:19 +01:00
ThomasV
81b9f8281d fix #1656 2016-01-29 09:29:07 +01:00
valesi
f7dfffd30f Minor fixes - indentation and lone self.
6ba43637f5/electrum (L57)
has tab instead of spaces.

6ba43637f5/gui/kivy/nfc_scanner/scanner_android.py (L118)
has lone `self.`
2016-01-28 14:05:36 -08:00
ThomasV
6a833d9f98 electrum: check_imports 2016-01-28 14:38:10 +01:00
akshayaurora
900346b89e kivy:Improve startup speed 2016-01-27 20:21:20 +05:30
ThomasV
80c1aab9c3 remove is_kivy test 2016-01-26 15:23:33 +01:00
Neil Booth
93e0c72ce2 Plugins: start thread at end of constructor
Don't add jobs twice
2016-01-24 19:59:58 +09:00
Neil Booth
028ab925ed Remove unused imports 2016-01-24 19:52:37 +09:00