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
a4c767437c
add jsonrpclib dependency
9 years ago
ThomasV
4682d95a76
merge jsonrpc gui and daemon
9 years ago
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
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
ThomasV
39af17bc23
load wallets in daemon
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
0c20e737a9
fix missing import
9 years ago
ThomasV
00f298d3b1
revert e9c101f
9 years ago
ThomasV
90a2a049f4
network fix: callbacks were not called
9 years ago
ThomasV
e9c101f0c8
daemon: use daemon threads
9 years ago
ThomasV
9782734f4c
plugins: trustedcoin fixes
9 years ago
ThomasV
042f8ef832
network: cache subscription responses
9 years ago
ThomasV
43df795b1f
network: separate callbacks from unanswered_requests
9 years ago
ThomasV
d8ca881457
remove unused setting
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
Neil Booth
cf23127ac1
Preserve alphabetical ordering...
And 2 is the default anyway as for most western currencies.
9 years ago
ThomasV
b5a210fac3
add missing module electrum_plugins
9 years ago
ThomasV
7d760898c7
add kivy apk script
9 years ago
ThomasV
19533dda15
load wallet in ElectrumWindow constructor
9 years ago
ThomasV
f09d80459d
fix #1564
9 years ago
ThomasV
c6780cce84
add Bitso exchange rate
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
Kirill Fomichev
e188929972
Fix proof of work assert in verify_chunk
9 years ago
ThomasV
b727824eed
fix #1554 : use AF_INET instead of AF_UNIX, and write port number to lockfile
9 years ago
ThomasV
34c2010e63
tweak build-wine script
9 years ago
ThomasV
7641137ecc
simplify get_daemon
9 years ago
Neil Booth
3211d752c7
Need to set p.wallet unfortunately
Fixes #1553
9 years ago
ThomasV
47e5bd653a
add a color pair for qr code
9 years ago
ThomasV
88c238dda7
fix Settings dialog in text gui
9 years ago
Neil Booth
0dcaa13d31
Show the wallet path in -v output
9 years ago
Neil Booth
e9384f15ed
Plugins manage their own wallet tracking
9 years ago
Neil Booth
53f6fb9876
Add a GC debugger
Add commented-out GC debugging step
9 years ago
Neil Booth
50755d7db3
Use weakref for tabs in QShortCut lambdas
Unfortunately we have no way to directly destroy or remove the
lambdas embedded in the QShortcut objects, so this is the
only solution to avoid leaking references. As the QShortcut
objects have the window as parent, they are destroyed with the
window so dangling refs to the destroyed window can't happen.
This and 91349d109e
fix #1549 .
9 years ago