Commit graph

84 commits

Author SHA1 Message Date
ThomasV
8392fa9504 fix: missing import 2016-02-03 10:40:37 +01:00
ThomasV
3ee61c4c6e define wallet.dummy_address method 2016-02-02 19:56:34 +01:00
ThomasV
57af8d1d39 trustedcoin: fix 'send max' shortcut 2016-02-02 19:50:41 +01:00
ThomasV
a43b0395d4 trustedcoin: do not call make_unsigned_transaction twice 2016-02-02 17:43:04 +01:00
ThomasV
5aa0a87d7a trustedcoin: restore the display of fees 2016-02-02 16:26:47 +01:00
ThomasV
eb36884c66 move estimate_fee back to wallet 2016-02-02 12:26:28 +01:00
Neil Booth
dee402b961 Plugin wallets: better error when unloadable
Used to get:

jsonrpclib.jsonrpc.ProtocolError: (-32603, u'Server error:   File "src/electrum/lib/plugins.py", line 144, in wallet_plugin_loader | KeyError: \'trustedcoin\'')

Now get:

jsonrpclib.jsonrpc.ProtocolError: (-32603, u'Server error:   File "src/electrum/lib/plugins.py", line 81, in load_plugin | RuntimeError: cmdline implementation for trustedcoin plugin not found')
2016-01-24 19:39:59 +09:00
ThomasV
bd3f3c3554 fix issue #1610 2016-01-15 11:24:19 +01:00
ThomasV
0d52911561 define constants for tx output types 2016-01-14 17:15:50 +01:00
Neil Booth
6178f5a28f Fix some more regressions and trustedcoin plugin 2016-01-13 22:25:40 +09:00
Neil Booth
0219687d41 Some work on multisig. 2016-01-13 19:20:58 +09:00
Neil Booth
2ae3543dc4 Start work on persistent install wizard 2016-01-12 22:31:53 +09:00
ThomasV
c47e3499ce rename wallet methods 2016-01-10 12:56:15 +01:00
ThomasV
5915b9b7e1 restore action-driven wizard logic 2016-01-07 00:55:23 +01:00
Neil Booth
5b8e096d57 Fix typo in prior except block 2016-01-05 21:55:47 +09:00
Neil Booth
d98f123f92 Fix make_unsigned_transaction for trustedcoin
Fixes #1600
2016-01-05 21:53:38 +09:00
ThomasV
c2accd64cf trustedcoin: don't use assert in hooks, it crashes when using multiple windows. show message if wallet is restored from seed. 2016-01-04 15:16:36 +01:00
ThomasV
32483e64c6 fix syntax errors in trustedcoin plugin 2016-01-03 18:37:14 +01:00
Neil Booth
1d07960290 Remove constructor method of plugins
Clean up wallet class loading.
2016-01-02 00:16:15 +09:00
Neil Booth
d150a6d29c Fix trustedcoin crash 2016-01-01 18:22:06 +09:00
Neil Booth
11d135b32d Better install wizard
Break out the workflow logic of the install wizard
into a base class.  This means reimplementing with
full support in a new GUI is now easy; you just provide
ways to request passwords, show messages etc.  The API
is fully documented in the base class.

There are a couple of minor outstanding issues, including that
the old messages shown when recovering a wallet are missing.
I will come back to that.  Ledger wallet might be broken.

Other improvements:

The install wizard code is now easy to follow and understand.
Hardware wallets can now be restored without any need for their
accompanying libraries.
Various bits of trustedcoin were broken and have been fixed.
Many plugin hooks can be removed.  I have only started on this.
2016-01-01 16:48:18 +09:00
Neil Booth
84450b9189 Revert mistaken commit 2015-12-29 23:16:53 +09:00
Neil Booth
0f70d0b8a5 The constructor() concept doesn't exist
Did it ever?
2015-12-29 22:59:25 +09:00
Neil Booth
8f91af28a5 More cleanup of WaitingDialog
Simplify its interface
2015-12-26 11:18:32 +09:00
Neil Booth
d70ad3df93 Better waiting dialog for trustedcoin 2015-12-23 22:21:29 +09:00
Neil Booth
ffd081ac21 Clean up WaitingDialog
Prevent GC so callers don't have to.
2015-12-23 22:10:11 +09:00
Neil Booth
64887f7a74 More message box cleanup 2015-12-23 20:42:30 +09:00
Neil Booth
0a3a0f12cc Make more dialogs window-modal
Also remove some unnecessary imports
2015-12-23 12:20:19 +09:00
Neil Booth
e1c0298fc2 Write the wallet less often
This should speed up synchronization / restoration of large wallets.
Wallets are written only when they switch to up_to_date state, or
when stop_threads() is called when closing the daemon, or when
a command line command finishes.
2015-12-20 15:47:46 +09:00
Neil Booth
b1704ce911 Fix multiple trustedcoin bugs. 2015-12-13 18:13:24 +09:00
Neil Booth
90dee43998 Move estimated_fee to Transaction class
It's not a function of the wallet but of the transaction
so it more naturally belongs there.
2015-11-28 21:28:54 +09:00
ThomasV
0c20e737a9 fix missing import 2015-11-28 00:22:06 +01:00
ThomasV
9782734f4c plugins: trustedcoin fixes 2015-11-26 14:15:54 +01:00
ThomasV
ba2c737a21 finish separation between plugins and GUIs 2015-11-24 09:36:42 +01:00