Neil Booth
ac48695db8
daemon: getting height optionally gets mempool
Improve daemon startup log message
8 years ago
Neil Booth
5fe49bb261
Synchronize daemon height and mempool fetching
Cleanup and simplify touched handling and its event, which is
now controlled and owned by the mempool.
The daemon object owns the set of current mempool hashes.
Clean up and simplify the mempool main loop.
Fixes #70 .
8 years ago
Neil Booth
0892b12036
Replace $DAEMON_VERSION and $DAEMON_SUBVERSION
in banner file.
8 years ago
Neil Booth
8970205e6c
Remove obsolete debugging feature
8 years ago
Neil Booth
aa9f106865
Add missing self; use max_secs where intended.
8 years ago
Neil Booth
87cdd2709d
Implement daemon failover
Daemon URLs can be comma-separated in the DAEMON_URL env var.
Surrounding whitespace is stripped.
http:// is preprended if missing.
The coin's default port is supplied if missing.
A trailing / is supplied if missing.
Closes #33
8 years ago
Neil Booth
cb7b7dd1fe
Move pretty printing of sessions to client
Tweak logging
8 years ago
Neil Booth
d8bb174f2b
Use correct daemon API
8 years ago
Neil Booth
59b2b2cb04
Better log formatting
8 years ago
Neil Booth
7496b511b8
Fix silly thinko
8 years ago
Neil Booth
312708e2e7
Fix daemon warming up
8 years ago
Neil Booth
409ea2c784
Daemon's send takes a processor
Simplest way to process the result and still be able to raise exceptions
in the daemon request loop. In particular, we can pass missing txs through
as None in getrawtransactions.
Fixes #9
8 years ago
Neil Booth
f05e51df2a
Skip logging transient errors just once
8 years ago
Neil Booth
56274fb9ea
Prefix internal methods with an underscore
8 years ago
Neil Booth
c6b5c577ab
More robust daemon error handling
Fixes #6
8 years ago
Neil Booth
c6a57daf6a
Tweak daemon messages
8 years ago
Neil Booth
782268cd3e
Limit concurrent daemon requests
Fixes #7
8 years ago
Neil Booth
6deb05ab6f
It was a mistake to use tuples
8 years ago
Neil Booth
48f0d5456c
Release preparation
8 years ago
Neil Booth
db29121d58
Improved daemon logging
8 years ago
Neil Booth
18efa67f1d
Various daemon improvements
8 years ago
Neil Booth
00e9c5a31d
Add daemon debugging caught-up facility
8 years ago
Neil Booth
26dc1021f6
Catch TimeoutError
8 years ago
Neil Booth
9fbbc8bfdb
Clean up daemon interface.
8 years ago
Neil Booth
48b8b9332e
Initial attempt at mempool
8 years ago
Neil Booth
ceecdc54ac
Server work
Avoid touching the block preprocessor hot loop for now
8 years ago
Neil Booth
d2ebb80fac
Extend copyright notice; improve comments
8 years ago
Neil Booth
897e68d20c
Move some daemon logic to daemon.py
8 years ago
Neil Booth
8452d0c016
Split out daemon handler into separate file.
8 years ago