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
Kirill Fomichev
e188929972
Fix proof of work assert in verify_chunk
9 years ago
Neil Booth
3211d752c7
Need to set p.wallet unfortunately
Fixes #1553
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
ae4cfc9f0b
Unregister network callbacks from QT gui
Rework the callback system in QT to make this easy, and avoid
leaking window references that prevent the window from being
GC-ed on close
9 years ago
ThomasV
0d4de870a5
prepare 2.5.4 release
9 years ago
ThomasV
86a0103a7f
increase min_relay_tx_fee, and make dust_threshold a function
9 years ago
Neil Booth
206e38fb7c
Make use of trigger_callback easier to understand
9 years ago
Neil Booth
8cc3b58364
Allow syncronizer to be GC-ed
Proper fix for #1525 .
Using python's GC module, I've verified that the daemon, when running,
now releases all verifiers, synchronizers and wallets - all the resources
we care about releasing.
9 years ago
Neil Booth
d612684196
Attempt at fixing issue 1525
The main problem is, I think, that the synchronizer and wallet
still exist in the daemon process, and updates to things like
TXI and TXO are made but never saved (as client exit is what
saves the wallet).
I suspect fixing the lingering objects is hard; this is a short
term fix to ensure that when internal wallet state is updated,
the wallet is written to disk, so later daemon clients pick up
the correct state.
9 years ago
ThomasV
d82896dadf
fix #1525 (part 2)
9 years ago
ThomasV
b3529147d5
fix #1525
9 years ago
ThomasV
3f2c906ace
version 2.5.3 and release notes
9 years ago
ThomasV
2a3c97813d
wallet.get_max_amount method, used by qt and kivy
9 years ago
ThomasV
5bbffb0cbf
remove --deserialized option, redundant with deserialize command
9 years ago
ThomasV
369d5d8812
fix #1525
9 years ago
ThomasV
bb7b0884e3
Various fixes for command line. Make 'payto' command require network ( fixes #1525 )
9 years ago
ThomasV
079cb311ec
call wallet.wait_until_synchronized before commands
9 years ago
ThomasV
53273b7d40
fix #1523 : prevent side-effect of _format_request
9 years ago
ThomasV
511b23fee6
add release notes
9 years ago
ThomasV
142b5532ec
revert to previous restore method, without daemon
9 years ago