Neil Booth
9d9fcbde64
Proper treatment of restored hardware wallets
They have a different wallet type; they require no plugin nor
plugin libraries to use.
Remove pointless public key code that was implemented in the
base classes already.
Partial fix for #1592 . Unfortunately the plugin and library
are still required to actually restore the wallet, but for
no reason that isn't fixable.
9 years ago
Neil Booth
11e1c62f28
Move hardware wallet to trezor/
On second thoughts it does go better there.
9 years ago
Neil Booth
669cf74789
Fix trezor restore
Broken by my recent changes
9 years ago
Neil Booth
3a1bb5b61a
Combine keepkey and trezor wallet code
Essentially identical so silly to have two copies.
Also fix a double-dialog during sign bug that caused one to not
disappear (on MacOSX at least).
9 years ago
Neil Booth
c298860e11
A fix and cleanups for hardware wallets
9 years ago
Neil Booth
a58c19d7c0
Clean up and fix account adding
As per BIP44, 20 addresses are checked for transactions, not just the
first one.
Show the last account only if used or named.
If all accounts are used, prompt for password to create new one.
Fixes #1128
9 years ago
ThomasV
fb8f9e55ef
Cleanup main script, with semantic changes:
The --offline flag applies only to GUI.
Commands must use the daemon if a daemon is running, otherwise they are run offline.
Commands that only require the wallet do not have the require_network flag.
9 years ago
ThomasV
acbe67fd1f
separation between RPC and non-RPC commands.
9 years ago
Neil Booth
9484b6371f
More modality fixes and cleanups
9 years ago
Neil Booth
72fdf0cd21
Better error when opening a non-wallet file
Also window modality fixes for __init__.py
9 years ago
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.
9 years ago
Neil Booth
0a3d74de8f
Avoid index-out-of-range
Also add sanity assertion
9 years ago
Neil Booth
25a2ceda23
Fix copyright.
9 years ago
Neil Booth
5c3a6db445
Fix negative amounts assertion
Change amounts could be negative after deducting the cost of the extra
change output; floor them at zero. Move the assertion to the main
code. Simplify rounding logic.
9 years ago
ThomasV
3bed2e3106
don't wait for wallet sync in rpc commands; instead, show wallet status in status command
9 years ago
ThomasV
026f9312a7
fix more type errors caused by jsonrpc (parsing floats and transactions)
9 years ago
ThomasV
b3ef2249b5
add more features to settings dialog
9 years ago
ThomasV
30ace570d3
kivy: choice_dialog and load_wallet_by_name
9 years ago
ThomasV
9d3162b1a1
simplify get_label
9 years ago
ThomasV
6ad3f47640
don't rewrite index.html everytime
9 years ago
ThomasV
679efe2a66
don't use floats because of rounding errors
9 years ago
Neil Booth
cead9cd7c6
Ensure zeroes is always non-empty.
9 years ago
ThomasV
f30149ad49
fix #1579
9 years ago
Kirill Fomichev
d344ee0474
Small blockchain changes
9 years ago
Neil Booth
06eb3142c4
Oldest First
9 years ago
Neil Booth
52fc739052
Update default chooser name too.
9 years ago
Neil Booth
1c528af433
Description tweaks.
Mention loss of priority, and rename Classic to Oldest First.
9 years ago
Neil Booth
36aaad392d
Fix docstring display.
9 years ago
Neil Booth
2763b0feea
Improved change handling for Privacy chooser
Breaks up large change in such a way as to make it
unclear what the real send might be.
Fixes #1203
9 years ago
Neil Booth
ea49e8dc96
Remove unneeded buckets for Privacy coin chooser
Commonize the code with the classic chooser and simplify.
9 years ago
ThomasV
0cef063ee2
add payment requests to kivy
9 years ago
ThomasV
2a1fbf01fe
simplify blockchain.py
9 years ago
ThomasV
81f070c83b
fix bug in get_target
9 years ago
ThomasV
b7cef8dd58
follow up to 74a9e2296c
9 years ago
Neil Booth
75b3ecee49
Add coin chooser to try and minimize loss of privacy.
9 years ago
ThomasV
de964f4033
plugins: on_close method
9 years ago
ThomasV
6770834d06
daemon: use available port
9 years ago
ThomasV
becfe13df2
decrease daemon timeout
9 years ago
ThomasV
9ec4cbeed1
fix issue #1572
9 years ago
Neil Booth
50dcee69d0
Clean up imports in daemon.py
9 years ago
Neil Booth
03b4868bf8
Handle JSON RPC server timeouts differently
Prior method was causing issues on Python 2.7.10 on DragonFlyBSD at
least.
9 years ago
ThomasV
74a9e2296c
separate Network and Plugins
9 years ago
ThomasV
deefd74c37
labels sync for kivy
9 years ago
ThomasV
afae9a097e
add php example
9 years ago
ThomasV
95393656aa
rename command: notify
9 years ago
Neil Booth
3eca419ef3
Fix typo.
One character makes all the difference.
9 years ago
ThomasV
9b5b9849d7
add watchaddress command
9 years ago
ThomasV
3c11c63289
fix daemon: don't oad wallet if there is a gui
9 years ago
ThomasV
4682d95a76
merge jsonrpc gui and daemon
9 years ago
Neil Booth
e302dbc71c
Move debug output to end of function.
9 years ago