ThomasV
0b874b2bb0
Readding pending_transactions_for_notifications, needed by the gui.
10 years ago
Neil Booth
a2445aa27d
Remove unused vars and imports.
10 years ago
Neil Booth
39fe24b4d3
Rename auto_cycle to auto_connect in config
User config is updated if appropriate.
Add tests behaviour is as expected.
Just the one rename-it reference to auto_cycle remains.
10 years ago
ThomasV
5bd22d2378
follow-up to bd781d600b8ce2bc9dcebebbdb0fb60ad2fb892e: use pipe
10 years ago
Neil Booth
bd781d600b
Have queues passed to the network constructor.
This is somewhat cleaner as the proxy's pipe and network setup
was awkwardly interleaved. It also means network's constructor
is free to use both; currently some code is working around the
fact that the response queue doesn't exist in the constructor.
10 years ago
ThomasV
1d517abf39
restore network_proxy.get_local_height
10 years ago
Neil Booth
175bfae9e6
Move away from requiring network and blockchain objects to be able to request local height.
We store it in the config object instead of in the blockchain object.
The blockchain object now refers to its config, and calls refresh_height() to update it.
The network objects also refer to the config rather than the blockchain.
This is the first of many small steps to untangle the verifier from stored state and so
permit the history tab to work in offline mode. The refactoring will simultaneously clean
up a lot of accumulated cruft.
10 years ago
ThomasV
98cc9c53d1
do not write config file from network class
10 years ago
ThomasV
a4cb70649d
fix synchronizer hanging when not connected.
10 years ago
ThomasV
72688a5cfa
clean implementation of daemon threads
10 years ago
ThomasV
b53a813111
revert 33b11422
10 years ago
ThomasV
33b11422a8
give a short timeout for daemon calls that actually do not require the network
10 years ago
ThomasV
59c76f5e09
use file socket for daemon
10 years ago
Tafelpoot
d9c5250a6f
removed trailing whitespace and fixed indentation in history widget
10 years ago
ThomasV
dd849964d1
interface: forward errors
10 years ago
ThomasV
00aaa1d065
send network status on init, if there is no daemon
11 years ago
ThomasV
d33b53f850
close GUI if the network daemon is killed
11 years ago
ThomasV
58c817f81a
close interfaces on shutdown
11 years ago
ThomasV
28df27fba2
update interface.py
11 years ago
ThomasV
035ecbc7cd
redo inter-thread communication using pipes
11 years ago
ThomasV
9efc25bdba
interface: use parse_json
11 years ago
ThomasV
603caf228f
call json.dump on request
11 years ago
ThomasV
af3fd62fd4
send server height and server lag with daemon
11 years ago
ThomasV
96070246b7
proper start and stop commands for daemon
11 years ago
ThomasV
2120b1a573
command line: wait until daemon is connected
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