Commit graph

5740 commits

Author SHA1 Message Date
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
ThomasV
00f298d3b1 revert e9c101f 2015-11-27 15:39:31 +01:00
ThomasV
90a2a049f4 network fix: callbacks were not called 2015-11-27 11:30:14 +01:00
ThomasV
e9c101f0c8 daemon: use daemon threads 2015-11-27 09:54:01 +01:00
ThomasV
9782734f4c plugins: trustedcoin fixes 2015-11-26 14:15:54 +01:00
ThomasV
042f8ef832 network: cache subscription responses 2015-11-26 11:26:01 +01:00
ThomasV
43df795b1f network: separate callbacks from unanswered_requests 2015-11-26 10:57:43 +01:00
ThomasV
d8ca881457 remove unused setting 2015-11-25 19:09:32 +01:00
ThomasV
ed2ab5e3c1 websockets: minor fix 2015-11-25 11:37:10 +01:00
ThomasV
1207ad3ba4 fix: websocket uses network object 2015-11-25 10:48:34 +01:00
ThomasV
2a29d1e5e7 fix syntax error 2015-11-25 10:35:14 +01:00
ThomasV
2934fd17be fix websockets 2015-11-25 10:32:46 +01:00
Neil Booth
cf23127ac1 Preserve alphabetical ordering...
And 2 is the default anyway as for most western currencies.
2015-11-25 00:16:06 +09:00
ThomasV
b5a210fac3 add missing module electrum_plugins 2015-11-24 12:28:47 +01:00
ThomasV
7d760898c7 add kivy apk script 2015-11-24 12:20:43 +01:00
ThomasV
19533dda15 load wallet in ElectrumWindow constructor 2015-11-24 12:10:43 +01:00