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
dd5a31d0f4
Take a little more care cleaning up connections
8 years ago
Neil Booth
8617c82ec2
Floor disk_count at zero.
8 years ago
Neil Booth
ccf24fdc71
Wait 20 secs for sockets to close
10 seems a little low
8 years ago
Neil Booth
e017547b46
Merge branch 'release-0.6.3' into develop
8 years ago
Neil Booth
d856cbab90
Prepare 0.6.3
8 years ago
Neil Booth
ac13ad5bda
Merge branch 'stop_log_spew' into develop
8 years ago
Neil Booth
52116539d4
Clean shutdown: wait for transports to close
We give 10 seconds for everything to be cleaned up, then close forcibly.
Fixes #30
8 years ago
Neil Booth
ab1b2be3b5
Merge branch 'formatted_time' into develop
8 years ago
Neil Booth
3d87e299ea
Move formatted_time to library
8 years ago
Neil Booth
0b52376f23
Add subscription limits
8 years ago
Neil Booth
4f7d0eb23d
Merge branch 'release-0.6.2' into develop
8 years ago
Neil Booth
4a4d11ad7c
Prepare release 0.6.2
8 years ago
Neil Booth
ffd6cd63b0
Fix thinko
8 years ago
Neil Booth
913d156786
Convert DaemonError to RPCError
To cleanly return errors to clients
getrawtransaction has the ugly API and still does its own thing
Fixes #32
8 years ago
Neil Booth
892a3de85b
Merge branch 'no_mempool_wait' into develop
8 years ago
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
3abddf4a51
Simplify sessions call
8 years ago
Neil Booth
1d375e263b
Merge branch 'release-0.6.1' into develop
8 years ago
Neil Booth
6d7bc7595f
Prepare release 0.6.1
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
f7ceac839a
Merge branch 'get_mempool' into develop
8 years ago
Neil Booth
beeb60f324
Implement blockchain.address.get_mempool
Fixes #26
8 years ago
Neil Booth
e6058c3fd3
hex_hash is already hex
8 years ago
Neil Booth
25782d02d9
Merge branch 'fix_tx_merkle' into develop
8 years ago
Neil Booth
7f3551e435
tx_merkle: catch bad hashes and report properly
Fixes #27
8 years ago
Neil Booth
4fe7e7dab2
Merge branch 'better_logs' into develop
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
66c493dbf4
Make the default reorg_limit a coin property
8 years ago
Neil Booth
c31896a290
Merge branch 'release-0.6' into develop
8 years ago
Neil Booth
8e206ca099
Merge branch 'release-0.6'
8 years ago
Neil Booth
022a919701
Prepare release 0.6
8 years ago
Neil Booth
4c7f72fe68
RPCError is not a global variable
8 years ago
Neil Booth
e9820b3933
Merge branch 'txnum-in-h' into develop
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
e4e4cc67ad
Merge branch 'client-limiting' into develop
8 years ago
Neil Booth
c5c7b6f438
Have all expensive requests yield.
8 years ago
Neil Booth
64333c3dfd
Merge branch 'client-limiting' into develop
8 years ago
Neil Booth
f17ad2ddf4
Put notifications on the session queue
This keeps the network in-order and means slow clients get slow
notifications, which seems fairer.
Add some simple logging
8 years ago
Neil Booth
a1eb446af4
Tweak notify handling
8 years ago
Neil Booth
a42aa1f49e
Suppress accept_connection2 messages
8 years ago
Neil Booth
33abea50d7
Use our own exception handler
Suppress harmless messages we cannot do anything about
8 years ago
Neil Booth
b2672a4ae5
Widen subs column
8 years ago
Neil Booth
bdb50e0ff7
Move file
8 years ago
Neil Booth
cc2db4a62c
Bump HIST_MB default to 300MB
8 years ago