Neil Booth
f5a43b8738
Warn if server is serving bad address histories
9 years ago
Neil Booth
01491dd1d0
Have network_proxy use ThreadJob framework
Rename WalletSynchronizer to Synchronizer so that diagnostic messages,
which are based on class name, still refer to Synchronizer.
9 years ago
Neil Booth
a056f9804b
Notify when a chunk of headers is validated
And a couple of cosmetic changes.
This should fix #1379 .
9 years ago
ThomasV
bfae04e6f0
Improved in network callbacks:
* Pass arguments
* Don't redraw history when a tx is verified.
* Fix new tx notifications.
10 years ago
ThomasV
fa2de58c90
redo fixes for 1324
10 years ago
Neil Booth
d0308010da
Client-side fix for #1324
Print messages rather than throwing uncaught exceptions that kill the
thread.
I cannot fix the server side as I have no way to test it.
10 years ago
Neil Booth
e8db8983ec
Make the synchronizer not a thread.
The synchronizer's work is done from the network proxy's main loop.
A minor problem with the old synchronizer was that it considered itself
out of date if the network was out of date. This was too generic: the
network can have pending requests unrelated to the synchronizer. This
resulted in the synchronizer often unnecessarily flipping the wallet
between up-to-date and not-up-to-date, and causing unnecessary calls
to wallet.save_transactions(). This was observable when opening the
network dialog box: frequently just opening it would cause a wallet
status change and transaction flush, simply because the network dialog
sends a get_parameters() request. This rework of the synchronizer does
not have that issue.
10 years ago
ThomasV
a99c2bc9fa
less verbose debug message
10 years ago
ThomasV
e3de121be9
store deserialized tx in/out in wallet file for fast computation
10 years ago
ThomasV
4ebefc6e4c
standardize error messages in synchronizer
10 years ago
ThomasV
8e7ce452f6
move misplaced debug message
10 years ago
ThomasV
a4cb70649d
fix synchronizer hanging when not connected.
10 years ago
ThomasV
72688a5cfa
clean implementation of daemon threads
10 years ago
Tafelpoot
d9c5250a6f
removed trailing whitespace and fixed indentation in history widget
10 years ago
ThomasV
71d97eeecc
shorter timeouts in synchronizer, so that it terminates properly
11 years ago
ThomasV
fb0574c5a0
fix callbacks
11 years ago
ThomasV
28df27fba2
update interface.py
11 years ago
ThomasV
035ecbc7cd
redo inter-thread communication using pipes
11 years ago
ThomasV
8196bc5779
adapt network dialog to daemon
11 years ago
ThomasV
09e4efc439
daemon notifications (network.status)
11 years ago
ThomasV
9ee0614edb
make daemon usable with the GUI
11 years ago
ThomasV
a89abee969
Rewrite accounts and transactions: store pubkeys instead of addresses in order to avoid unnecessary derivations.
11 years ago
ThomasV
38f5deee86
use an input queue in synchronizer, so that new addresses can be created from other threads
11 years ago
ThomasV
7e0711f6ec
move synchronizer class in its own file. abstract wallet class.
11 years ago