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
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().
9 years ago
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.
9 years ago
Neil Booth
a4dd5acc48
Prepare to calculate tx fee given a tx size
9 years ago
Neil Booth
d97106f17d
Don't keep dust change in any case
9 years ago
Neil Booth
530dc16ed2
Remove unused import
9 years ago
Neil Booth
8785b65a1f
Remove need for coin chooser to take a wallet
9 years ago
Neil Booth
a6ea9a0c71
Simplify interface to make_tx in coin chooser
Makes the coin chooser code simpler and easier to understand.
9 years ago
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.
9 years ago
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.
9 years ago
ThomasV
90a2a049f4
network fix: callbacks were not called
9 years ago
ThomasV
042f8ef832
network: cache subscription responses
9 years ago
ThomasV
43df795b1f
network: separate callbacks from unanswered_requests
9 years ago
ThomasV
ed2ab5e3c1
websockets: minor fix
9 years ago
ThomasV
1207ad3ba4
fix: websocket uses network object
9 years ago
ThomasV
2a29d1e5e7
fix syntax error
9 years ago
ThomasV
2934fd17be
fix websockets
9 years ago
ThomasV
9ba75b80e2
increase version number
9 years ago
ThomasV
ba2c737a21
finish separation between plugins and GUIs
9 years ago
ThomasV
2c0489c809
plugins: separate GUIs using child classes
9 years ago
ThomasV
175fdbcac6
Disentangle plugins and window management; use Qt signals
9 years ago
Kirill Fomichev
334b84c3c3
Add assertions to get_target
9 years ago