Commit Graph

6157 Commits

Author SHA1 Message Date
ThomasV 84b18e0949 qt: save last active window, not last opened window 2015-12-05 16:53:56 +01:00
Neil Booth eb82a5e689 Cleanup labels/qt imports. 2015-12-05 21:52:19 +09:00
Neil Booth a0b031c7df Fix labels plugin wallet popping bug. 2015-12-05 21:47:17 +09:00
Neil Booth 50dcee69d0 Clean up imports in daemon.py 2015-12-05 21:38:20 +09:00
Neil Booth 03b4868bf8 Handle JSON RPC server timeouts differently
Prior method was causing issues on Python 2.7.10 on DragonFlyBSD at
least.
2015-12-05 21:30:37 +09:00
Neil c3bd9226f2 Merge pull request #1570 from kanishkablack/master
Coinsecure exchange added
2015-12-05 10:57:50 +09:00
ThomasV b6242a453b kivy: minor fix 2015-12-04 12:57:17 +01:00
ThomasV 011ccc6e54 kivy: sanitize inputs 2015-12-04 12:01:13 +01:00
ThomasV df02269bcf kivy: rework send and receive screens 2015-12-04 11:47:46 +01:00
ThomasV e9ee851bb2 fix: set auto_connect in installwizard 2015-12-03 23:50:50 +01:00
ThomasV b700340ff9 kivy: use exchange rates in amount dialog 2015-12-03 22:43:43 +01:00
Anwesh 0ece74eea6 Coinsecure exchange added 2015-12-03 16:27:32 +05:30
ThomasV 74a9e2296c separate Network and Plugins 2015-12-03 11:18:10 +01:00
ThomasV f651742f86 kivy: layout 2015-12-02 19:25:07 +01:00
ThomasV 58acb6c759 whitelist csv 2015-12-02 18:41:59 +01:00
ThomasV fb641b5bf1 kivy updates 2015-12-02 18:02:11 +01:00
ThomasV d60be8e19c kivy: use exclude_dirs instead of blacklist 2015-12-02 16:16:21 +01:00
ThomasV 1126555f14 kivy updates 2015-12-02 15:27:23 +01:00
ThomasV 6ec610c359 kivy updates 2015-12-02 12:11:28 +01:00
ThomasV 95bf92b683 update kivy blacklist 2015-12-01 18:56:39 +01:00
ThomasV deefd74c37 labels sync for kivy 2015-12-01 17:29:24 +01:00
ThomasV 0215aee047 kivy: plugins layout 2015-12-01 16:54:16 +01:00
ThomasV 20cf074a8f fix plugin name 2015-12-01 16:51:14 +01:00
ThomasV 409557bca5 fix typo 2015-12-01 13:50:47 +01:00
ThomasV d8e65782e1 ledger: cmdline plugin 2015-12-01 12:06:21 +01:00
ThomasV ddae2516c1 keepkey: cmdline plugin 2015-12-01 12:04:01 +01:00
ThomasV c7b1721f58 fix cmdline trezor 2015-12-01 12:00:18 +01:00
ThomasV d5f43610ed fix imports in hardware wallets 2015-12-01 10:00:39 +01:00
ThomasV afae9a097e add php example 2015-12-01 09:42:47 +01:00
ThomasV 95393656aa rename command: notify 2015-12-01 08:58:00 +01:00
Neil Booth 3eca419ef3 Fix typo.
One character makes all the difference.
2015-11-30 23:47:14 +09:00
ThomasV 2be906fde2 remove merchant script; it is now replaced by daemon and jsonrpc 2015-11-30 10:59:39 +01:00
ThomasV e9cc1d30be add jsonrpclib to make_packages script 2015-11-30 10:56:39 +01:00
ThomasV 9b5b9849d7 add watchaddress command 2015-11-30 10:54:15 +01:00
ThomasV 3c11c63289 fix daemon: don't oad wallet if there is a gui 2015-11-30 10:23:38 +01:00
ThomasV a4c767437c add jsonrpclib dependency 2015-11-30 10:12:15 +01:00
ThomasV 4682d95a76 merge jsonrpc gui and daemon 2015-11-30 10:09:54 +01:00
Neil Booth e190024f73 Only pass a fixed fee if it was user-specified.
Otherwise we inadvertently fix the fee at the prior calculated one,
which isn't what we want
2015-11-29 23:14:40 +09:00
Neil Booth e302dbc71c Move debug output to end of function. 2015-11-29 18:10:17 +09:00
Neil Booth 9a6dcf7b1e Use bucketing to choose coins
Bucketing is generalization of coin chooser logic that makes it easy
to implement other algorithms.

- Put core coin chooser functionality in base class.
- Specialize derived class to implement classic electrum algorithm of
  oldest coins first.  One bucket per output.

No intended change in behaviour.
Coin chooser now sorts the coins as it wants; remove redundant sorting
from get_spendable_coins().
2015-11-29 17:59:36 +09:00
Neil Booth 93bb09230c Track tx size directly; calculate fees from that
This has several advantages.  Fee calculation is now very fast,
as we don't need to keep reserializing the tx.  Another is that
we can reason about the fees after adding a change output without
having to add it, recalculate the tx fee, and remove it again.
2015-11-29 15:40:11 +09:00
Neil Booth a4dd5acc48 Prepare to calculate tx fee given a tx size 2015-11-29 12:41:54 +09:00
ThomasV 39af17bc23 load wallets in daemon 2015-11-28 15:37:51 +01:00
Neil Booth d97106f17d Don't keep dust change in any case 2015-11-28 22:27:01 +09:00
Neil Booth 530dc16ed2 Remove unused import 2015-11-28 22:14:24 +09:00
Neil Booth 8785b65a1f Remove need for coin chooser to take a wallet 2015-11-28 22:12:20 +09:00
Neil Booth a6ea9a0c71 Simplify interface to make_tx in coin chooser
Makes the coin chooser code simpler and easier to understand.
2015-11-28 22:08:00 +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
Neil Booth e9061ea371 Move coin choosing logic to own class
This contains no change in logic, but is preparation for cleanup
and possible alternative strategies.
2015-11-28 14:49:10 +09:00
ThomasV 0c20e737a9 fix missing import 2015-11-28 00:22:06 +01:00