Neil Booth
942d5d6b00
Fix import
8 years ago
Neil Booth
063a5469cc
Move mempool to be with BlockServer
BlockProcessor doesn't really need a mempool; mempools are
only useful for servers.
Set first_sync before flushing, so it goes into DB state.
Start servers immediately on catchup; mempool fills asynchronously.
Fixes #31
8 years ago
Neil Booth
d6fa4a1564
More logging improvements
- log software and DB version at startup
- log more DB info at startup
- log software and DB version when first synced
Fixes #29
8 years ago
Neil Booth
88185b0daa
Bump log threshold up; tweak log
8 years ago
Neil Booth
24d9e5a95e
Tweak flush logic
Aim to not check cache size if caught up; also reduces logs
8 years ago
Neil Booth
e6058c3fd3
hex_hash is already hex
8 years ago
Neil Booth
d2c575a24b
Better, more concise logs, particularly when caught up.
8 years ago
Neil Booth
3f8b26291a
At startup only log some things during initial sync
8 years ago
Neil Booth
f4651c0ca4
Store tx_num in 'h' table key so keys are unique
8 years ago
Neil Booth
3c98053f5d
Remove some dead code
8 years ago
Neil Booth
d85034353f
Remove useless re-raise of cancellation
8 years ago
Neil Booth
db187540d5
Have task coros handle cancelled exceptions
8 years ago
Neil Booth
a2280bbc93
Clean up futures handling
8 years ago
Neil Booth
8671e57183
Move fs flushes to same time as history flushes
8 years ago
Neil Booth
95cc979465
Yield more during mempool load
8 years ago
Neil Booth
85786b87a2
Save all UTXOs
Change the DB version
8 years ago
Neil Booth
4dac728984
Ignore the unspendable genesis coinbase
Fixes #17
8 years ago
Neil Booth
41ff6e5b11
Prepare 0.4.3
8 years ago
Neil Booth
c93f6cb920
Final cleanup
8 years ago
Neil Booth
501807bf1a
Implement IRC support and related queries from clients
8 years ago
Neil Booth
80fe427c89
Improve logging
8 years ago
Neil Booth
1b9a9b8927
Start saving DB version and checking it
8 years ago
Neil Booth
244a0f2fab
Update release notes.
8 years ago
Neil Booth
f98dc9c351
Practise optimism like before
8 years ago
Neil Booth
56098e0c52
Show up to 3 missing UTXOs
Fixes #15
8 years ago
Neil Booth
311f7f9ffd
Better optimised storage of UTXO set
8 years ago
Neil Booth
094fd44fc2
Merge UTXO cache into BlockProcessor
8 years ago
Neil Booth
1737bb8354
Move some code back to correct place
Fixes #12
8 years ago
Neil Booth
06b6d695c2
Only attempt to flush if cancelled
8 years ago
Neil Booth
a07ed5876b
Count missing UTXOs and log just once
They're a temporary phenomenon but it's handy to see how often
these things happen. Fixes #10 .
8 years ago
Neil Booth
55cc1d3d65
More regularly
8 years ago
Neil Booth
212d653b5b
Yield during mempool updates
8 years ago
Neil Booth
ed44c6ab73
Clean up startup procedure
8 years ago
Neil Booth
a510603b46
Better logging of initial mempool fill
8 years ago
Neil Booth
3972e18e98
Move the rest of fs_cache into BlockProcessor
8 years ago
Neil Booth
ad2dabf751
Remove the FS cache
Really belongs with BlockProcessor now
8 years ago
Neil Booth
5736e9cb70
Move utxo_cache to BlockProcessor where it belongs
8 years ago
Neil Booth
5c5e90d574
Move BlockServer to more appropriate location
8 years ago
Neil Booth
93d53bdd87
The controller is dead!
8 years ago
Neil Booth
2b028cc065
Create BlockServer
Controller now an empty shell
8 years ago
Neil Booth
c0a112f8ea
Split out part of block processor into db.py
The part that doesn't actually do any block processing...
8 years ago
Neil Booth
f02acdfd46
A couple more tweaks.
8 years ago
Neil Booth
3ab07c1fb6
Speed up script parsing for ~3% faster throughput
Also improves the coin abstraction
8 years ago
Neil Booth
3d41738a00
Allow daemon is None still
8 years ago
Neil Booth
e651530e5d
Log immediately if mempool shrinks
8 years ago
Neil Booth
c2703c58a3
Better mempool log
8 years ago
Neil Booth
c26bc43a00
Remove keys if value is empty
8 years ago
Neil Booth
18efa67f1d
Various daemon improvements
8 years ago
Neil Booth
1b589d3d1f
Remove old reorg forcing code
8 years ago
Neil Booth
00e9c5a31d
Add daemon debugging caught-up facility
8 years ago