Neil Booth
f5384ccc98
Remove get_tx_hash
Anything in the DB should be on the disk. Remove misleading
comment.
8 years ago
Neil Booth
4fc5e309ab
Prepare 0.7.11
8 years ago
Neil Booth
9eb701f220
Replace $VERSION in the banner file
with the ElectrumX version string
8 years ago
Neil Booth
1aaed2e913
Create just one server connection
I hope this
Fixes #47
8 years ago
Neil Booth
3f743e9630
Distinguish undo_info being empty and not existing
Fixes #46
8 years ago
Neil Booth
af3ae6429e
Fix logging bug
8 years ago
Neil Booth
4e26e0fe96
Bump default value of MAX_SEND to 1m bytes.
Otherwise historic large txs could not be served to clients.
8 years ago
Neil Booth
95a2de6dae
Move DB undo code to db.py
8 years ago
Neil Booth
8d253c81d3
Move clean_db() to db.py
8 years ago
Neil Booth
59244cc24e
Move bulk of FS flush code to db.py
More logically belongs there.
Have servers use the flushed DB height not the block processor's height.
Get all headers only from disk.
8 years ago
Neil Booth
df3cb8535a
Cleaner handling of touched addresses
Moved to local vars rather than an instance variable
8 years ago
Neil Booth
b97496d4a5
Set max_open_files for LevelDB to 256
On Linux it seems a bit greedy
8 years ago
Neil Booth
9544170c55
Prepare release-0.7.10
8 years ago
Neil Booth
292073f2c7
Log large requests and reject them
8 years ago
Neil Booth
59733e4609
Move bitcoin-specific coin defaults to Bitcoin
8 years ago
TheLazieR Yip
f3ecfe00e2
Remove unused variables
8 years ago
TheLazieR Yip
828727d41a
Remove unneccessary local variables
8 years ago
TheLazieR Yip
e987510432
Replace double_sha256 with header_hash from coin
8 years ago
TheLazieR Yip
b3623f5455
replace header_hashes with header_prevhash , header_hash
8 years ago
Neil Booth
9f2bd981f0
Prepare 0.7.9
8 years ago
Neil Booth
42c00d32d2
Rewrite lib/jsonrpc.py to be a useful client too
Use for an improved electrumx_rpc.py, so it now handles responses spread
over several packets. Also added a timeout of 5 seconds.
Fixes #43
8 years ago
Neil Booth
2dbb9f44f6
Prepare release 0.7.8
8 years ago
Neil Booth
ef2703177e
Fix another assertion error during reorgs
Fixes #44
8 years ago
Neil Booth
86b0f7fa72
Prepare 0.7.7
8 years ago
Neil Booth
de4930b96d
Introduce MAX_HIST environment variable.
8 years ago
Neil Booth
70ee7eebd8
Prepare 0.7.6
8 years ago
Neil Booth
956d1b8039
Fix IRC regression
8 years ago
Neil Booth
86086cac63
Prepare 0.7.5
8 years ago
Neil Booth
9e220820aa
Rework futures and event handling
8 years ago
Neil Booth
bab0d162de
Merge ServerManager and BlockServer
8 years ago
TheLazieR Yip
f075f0bb5f
Add coin's IRC parameters
8 years ago
Neil Booth
f20859a8a6
Prepare 0.7.4
8 years ago
Neil Booth
640360c809
Add feature to simulate reorgs for debugging
8 years ago
Neil Booth
8970205e6c
Remove obsolete debugging feature
8 years ago
Neil Booth
2df5aa746f
Pop one from tx_counts for each block we back up.
Fixes #40
8 years ago
Neil Booth
26221e751e
Remove dead code
8 years ago
Neil Booth
39021792ca
Prepare 0.7.3
8 years ago
Neil Booth
d1ba4b1a76
Reset fs_height when backing up
8 years ago
Neil Booth
67bb01bf2c
Fix reorgs with unspendable TXOs
8 years ago
Neil Booth
e5c4bb9743
Prepare 0.7.2 release
8 years ago
Neil Booth
aa9f106865
Add missing self; use max_secs where intended.
8 years ago
Neil Booth
285a66fceb
Prepare 0.7.1
8 years ago
Neil Booth
fa30c5529b
Fix missing qualifier
8 years ago
Neil Booth
dd0cd0156f
Remove debug log
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
11558fd9d2
Add debug log
8 years ago
Neil Booth
1dc43b3020
Show connection total in connection log
Fix typo resulting in no mempool notifications
8 years ago
Neil Booth
5eb92007ae
Remove redundant log; IRC will emit one
8 years ago
Neil Booth
98fd178c62
Make mempool truly asynchronous
Mempool updates happen in parallel asynchronously to processing of
new blocks once caught up. This means that, e.g., during the initial
slow mempool download incoming blocks can be processed and communicated
to clients without waiting for the downloaded mempool transaction
analysis to complete. From a client's point of view the server won't
be seen as lagging.
8 years ago
Neil Booth
8b34d1c134
Log IRC errors, typically missing package
8 years ago