Neil Booth
ddfefd7f36
Prepare 0.9.20
2017-01-02 17:38:01 +09:00
Neil Booth
517f78858c
Fix IRC flood issues
...
Tweaked version of suggestions from Valesi, petrkr, and bauerj.
Fixes #93
2017-01-02 17:30:32 +09:00
Neil Booth
5cbe878cb8
Move ServerManager to controller.py
...
rename Controller
2017-01-02 17:30:32 +09:00
Neil Booth
67908b3541
Slightly cleaner semaphore fix
2017-01-02 17:30:32 +09:00
shsmith
62eded55bb
move sleep outside semaphore (issue 88)
2016-12-26 09:15:22 -08:00
Neil Booth
b1e8012b56
Prepare 0.9.18
2016-12-22 06:37:04 +09:00
Neil Booth
a81b8917d8
Logging tweaks
2016-12-21 21:15:48 +09:00
Neil Booth
d45e174e03
Prepare 0.9.17
2016-12-21 20:33:09 +09:00
Neil Booth
4c4cd92c54
Banner: add $DONATION_ADDRESS meta variable
...
Replaced with the DONATION_ADDRESS environment variable
2016-12-21 20:31:42 +09:00
Neil Booth
7a3b0830e1
Make all storage use fsync
...
Hopefully costs little and increases robustness.
Closes #75
2016-12-21 20:30:56 +09:00
Neil Booth
99d8cbfbf6
Permit RPC requests up to 1MB
...
Fixes #85
Prepare 0.9.16
2016-12-21 19:47:27 +09:00
Neil Booth
622f61e943
Don't do an initial sessions log
2016-12-21 19:47:26 +09:00
Neil Booth
50f02747de
Throttle abusive logging
2016-12-21 19:47:25 +09:00
Neil Booth
01c2fad534
Log paused or low-priority sessions on exit
2016-12-21 07:28:32 +09:00
Neil Booth
6a6bbaa07b
Tweak mempool logging
2016-12-21 07:28:32 +09:00
Neil Booth
a9b1bc16dd
Prepare 0.9.15
2016-12-20 06:54:06 +09:00
Neil Booth
efe3ebd9ee
Remove None from touched when backing up.
...
Fixes #84
2016-12-20 06:50:55 +09:00
Neil Booth
8b87a837b8
Prepare 0.9.14
2016-12-19 23:28:14 +09:00
Neil Booth
e91f49101b
Don't start processing mempool until caught up
...
Print server manager settings once servers start
2016-12-19 23:25:37 +09:00
Neil Booth
7b8119d787
Prepare 0.9.13
2016-12-18 23:21:22 +09:00
Neil Booth
813d8ee7e3
Reduce logging verbosity for delayed requests
...
Only log when the delay changes
2016-12-18 23:17:03 +09:00
Neil Booth
6c7cf34bcd
Prepare 0.9.12
2016-12-18 08:15:53 +09:00
Neil Booth
0dccb795dc
Add pid to RPC getinfo
...
Closes #77
2016-12-18 08:13:17 +09:00
Neil Booth
3cf23c88bd
Start up RPC server immediately
...
Don't wait for catch-up
Closes #78
2016-12-18 08:10:20 +09:00
Neil Booth
6679eea04c
getinfo RPC: change height reporting
...
Also rename watched to subs
Closes #80
2016-12-18 07:57:48 +09:00
Neil Booth
ef54413054
Prepare 0.9.11
2016-12-18 00:02:16 +09:00
Neil Booth
645e60eaee
Put peer at RHS of sessions log.
...
Then IPv6 addresses don't mess up the formatting.
2016-12-18 00:02:16 +09:00
Neil Booth
0665e1ac5c
Clear the touched addresses if not caught up
2016-12-18 00:02:16 +09:00
Neil Booth
39af7a7463
Rework main block processor loop
...
It's less awkward and more explicit.
This brings back the efficiency lost in the 0.9.x series.
It also removes the special case hack: both when syncing and
caught up, block processing is done in the executor.
Fixes #58
2016-12-17 21:45:44 +09:00
Neil Booth
3f64a8dd6e
Log block processing time only if not syncing
...
Prepare 0.9.10
2016-12-17 15:31:30 +09:00
Neil Booth
1ebebf08d9
Improve logging
2016-12-17 15:26:17 +09:00
Neil Booth
a30932fc86
Fix namespace of RPCError
...
Fixes #76
2016-12-17 14:43:27 +09:00
Neil Booth
35f07bd01e
Prepare 0.9.9
2016-12-15 17:24:16 +09:00
Neil Booth
49714a45e6
Mempool tx processing to handle DBError
...
Fixes #74
2016-12-15 17:22:20 +09:00
Neil Booth
5c80b96d0f
Prioritize mempool processing of sent txs
...
Closes #73
2016-12-15 17:22:19 +09:00
Neil Booth
ac48695db8
daemon: getting height optionally gets mempool
...
Improve daemon startup log message
2016-12-15 15:38:22 +09:00
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 .
2016-12-15 12:08:14 +09:00
Neil Booth
e88ea91e89
Defer address notifications whilst processing a block
...
Partial fix of #70
2016-12-15 12:08:14 +09:00
Neil Booth
1b2a0bd761
Append first.
2016-12-15 12:08:14 +09:00
Neil Booth
bffdfcc47f
Prepare 0.9.7
2016-12-15 08:28:57 +09:00
Neil Booth
9972379533
Get history and UTXOs in executor for minimal latency.
2016-12-14 19:28:43 +09:00
Neil Booth
1c79a2d47e
Fix delayed sessions issue for good
2016-12-14 06:07:37 +09:00
Neil Booth
ba862343b4
Fix issue for paused connections
...
Prepare 0.9.5
2016-12-14 00:07:26 +09:00
Neil Booth
ef65f9f281
Prepare 0.9.4
2016-12-13 22:52:00 +09:00
Neil Booth
e2f4847632
New env var MAX_SESSIONS
...
When the number of sessions reaches MAX_SESSIONS, which defaults
to 1,000, turn off TCP and SSL listening sockets to prevent new
connections. When the session count falls below a low watermark,
currently 90% of MAX_SESSIONS, the listening sockets will be re-opened.
Helps prevent DoS and limit open file usage.
Bug fix: do not start serving paused connections until the buffer
socket is sufficiently drained. Also, loop.
2016-12-13 22:47:03 +09:00
Neil Booth
067814e7d9
Remove numpeers and numsessions RPC calls
...
getinfo has that information and more.
2016-12-13 21:38:02 +09:00
Neil Booth
aaaa914cfa
Tweak some constants to reduce group count
2016-12-13 20:09:40 +09:00
Neil Booth
444122122e
Fix unconfirmed flag
...
Prepare 0.9.3
2016-12-12 08:21:55 +09:00
Neil Booth
bb17af1906
Fix mempool busy waiting
...
Prepare 0.9.2
2016-12-12 07:38:40 +09:00
Neil Booth
7037769598
Prepare 0.9.1
2016-12-12 07:25:22 +09:00