Neil Booth
892a3de85b
Merge branch 'no_mempool_wait' into develop
2016-11-19 08:08:25 +09:00
Neil Booth
942d5d6b00
Fix import
2016-11-19 08:07:37 +09:00
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
2016-11-19 08:02:13 +09:00
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
2016-11-19 07:29:17 +09:00
Neil Booth
3abddf4a51
Simplify sessions call
2016-11-19 00:02:56 +09:00
Neil Booth
1d375e263b
Merge branch 'release-0.6.1' into develop
2016-11-18 22:36:21 +09:00
Neil Booth
6d7bc7595f
Prepare release 0.6.1
2016-11-18 22:28:42 +09:00
Neil Booth
88185b0daa
Bump log threshold up; tweak log
2016-11-18 22:20:48 +09:00
Neil Booth
24d9e5a95e
Tweak flush logic
...
Aim to not check cache size if caught up; also reduces logs
2016-11-18 22:17:34 +09:00
Neil Booth
f7ceac839a
Merge branch 'get_mempool' into develop
2016-11-18 21:52:56 +09:00
Neil Booth
beeb60f324
Implement blockchain.address.get_mempool
...
Fixes #26
2016-11-18 21:41:27 +09:00
Neil Booth
e6058c3fd3
hex_hash is already hex
2016-11-18 21:16:34 +09:00
Neil Booth
25782d02d9
Merge branch 'fix_tx_merkle' into develop
2016-11-18 20:57:08 +09:00
Neil Booth
7f3551e435
tx_merkle: catch bad hashes and report properly
...
Fixes #27
2016-11-18 20:56:53 +09:00
Neil Booth
4fe7e7dab2
Merge branch 'better_logs' into develop
2016-11-18 20:19:27 +09:00
Neil Booth
d2c575a24b
Better, more concise logs, particularly when caught up.
2016-11-18 20:08:43 +09:00
Neil Booth
3f8b26291a
At startup only log some things during initial sync
2016-11-18 19:21:45 +09:00
Neil Booth
66c493dbf4
Make the default reorg_limit a coin property
2016-11-18 19:21:38 +09:00
Neil Booth
c31896a290
Merge branch 'release-0.6' into develop
2016-11-17 23:15:03 +09:00
Neil Booth
8e206ca099
Merge branch 'release-0.6'
2016-11-17 23:10:20 +09:00
Neil Booth
022a919701
Prepare release 0.6
2016-11-17 23:08:19 +09:00
Neil Booth
4c7f72fe68
RPCError is not a global variable
2016-11-17 22:07:37 +09:00
Neil Booth
e9820b3933
Merge branch 'txnum-in-h' into develop
2016-11-17 22:01:21 +09:00
Neil Booth
f4651c0ca4
Store tx_num in 'h' table key so keys are unique
2016-11-17 07:59:40 +09:00
Neil Booth
3c98053f5d
Remove some dead code
2016-11-17 07:44:42 +09:00
Neil Booth
e4e4cc67ad
Merge branch 'client-limiting' into develop
2016-11-17 07:42:12 +09:00
Neil Booth
c5c7b6f438
Have all expensive requests yield.
2016-11-17 06:50:46 +09:00
Neil Booth
64333c3dfd
Merge branch 'client-limiting' into develop
2016-11-17 06:30:46 +09:00
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
2016-11-17 06:04:08 +09:00
Neil Booth
a1eb446af4
Tweak notify handling
2016-11-17 05:37:37 +09:00
Neil Booth
a42aa1f49e
Suppress accept_connection2 messages
2016-11-16 22:50:39 +09:00
Neil Booth
33abea50d7
Use our own exception handler
...
Suppress harmless messages we cannot do anything about
2016-11-16 22:29:11 +09:00
Neil Booth
b2672a4ae5
Widen subs column
2016-11-16 19:26:16 +09:00
Neil Booth
bdb50e0ff7
Move file
2016-11-16 07:32:53 +09:00
Neil Booth
cc2db4a62c
Bump HIST_MB default to 300MB
2016-11-16 06:39:39 +09:00
Neil Booth
728e3ca4ac
Merge branch 'release-0.5.1' into develop
2016-11-15 21:35:51 +09:00
Neil Booth
399cd8fb2c
Merge branch 'release-0.5.1'
2016-11-15 21:34:38 +09:00
Neil Booth
b60eb5ca17
Prepare 0.5.1
2016-11-15 21:34:08 +09:00
Neil Booth
d85034353f
Remove useless re-raise of cancellation
2016-11-15 20:13:50 +09:00
Neil Booth
db187540d5
Have task coros handle cancelled exceptions
2016-11-15 20:09:38 +09:00
Neil Booth
a2280bbc93
Clean up futures handling
2016-11-15 20:09:38 +09:00
Neil Booth
2c85ac3252
Merge branch 'fs_height' into develop
2016-11-15 20:09:17 +09:00
Neil Booth
8671e57183
Move fs flushes to same time as history flushes
2016-11-15 06:28:52 +09:00
Neil Booth
8c55f41305
Accept more SSL protocols
2016-11-14 23:13:34 +09:00
Neil Booth
95cc979465
Yield more during mempool load
2016-11-14 23:12:50 +09:00
Neil Booth
1830cae3de
Remove a redundant message
2016-11-14 21:52:25 +09:00
Neil Booth
83674b1b7b
Clarify peername() logic
2016-11-14 21:28:42 +09:00
Neil Booth
be45a9e228
Minor improvements to client handling
...
Don't create a task until ready to execute it
Log expensive tasks
Assume peers are for logging unless explicitly not stated
2016-11-14 21:15:09 +09:00
Neil Booth
5fffc25188
Get send and recv the right way round
2016-11-14 21:12:54 +09:00
Neil Booth
14d3d85bd9
Need an array to take its len
2016-11-14 19:52:18 +09:00