Commit graph

16 commits

Author SHA1 Message Date
tobtoht
e101fa65f8
rpc_nodes: add bad node reason 2021-01-05 06:00:32 +01:00
tobtoht
135ff3c2e1
Reddit: unescape title 2020-12-30 08:25:47 +01:00
tobtoht
26571d306e
rpc_nodes: widen allowed heights 2020-12-30 00:30:25 +01:00
tobtoht
ce40243de4 Load nodes from cache 2020-12-30 00:21:00 +01:00
tobtoht
f4aa1227ea
Reddit: add permalink 2020-12-29 20:25:04 +01:00
dsc
d127825a70 Correctly propogate websocket changes and modify RPC check to invalidate nodes by most common blockheight value 2020-12-22 20:53:47 +01:00
dsc
28fdf41aad Await task HistoricalPriceTask._load() and adjust Dockerfile to expose
port 1337
2020-12-22 19:36:07 +01:00
dsc
42bb0c832e Feather-ws rewrite;
- Move recurring tasks into their own class; inherits from `FeatherTask`
- CCS proposals: Don't use API, it's broken - webcrawl instead until it is fixed.
- Switch to hypercorn as the ASGI server, *with* support for multiple workers. You can now run feather-ws with, for example, `--workers 6`. See `Dockerfile`.
- Introduce support for various coins under `BlockheightTask`
- Introduce support for various Reddit communities under `RedditTask`
- Introduced weightvoting whilst validating third-party RPC blockheights - where nodes are filtered based on what other nodes are commonly reporting.
- Current blockheights are fetched from various block explorers and weightvoting is done to eliminate outliers under `BlockheightTask`.
- Don't filter/remove bad nodes from the rpc_nodes list; correctly label them as disabled/bad nodes.
- Multiple Feather instances (each for it's own coin) can now run on one machine, using only one Redis instance, as each coins has it's own Redis database index.
- Configuration options inside `settings.py` can now be controlled via environment variables.
- Better logging through custom log formatting and correct usage of `app.logger.*`
- Fixed a bug where one task could overlap with itself if the previous one did not finish yet. This was particularly noticable inside the `RPCNodeCheckTask` where the high timeout (for Tor nodes) could cause the task to run *longer* than the recurring task interval.
- Introduced a `docker-compose.yml` to combine the Feather container with Redis and Tor containers.
- Blocking IO operations are now done via `aiofiles`
2020-12-22 19:07:24 +01:00
tobtoht
cb4087dd25
CCS: error handling 2020-12-09 00:48:19 +01:00
tobtoht
ea06a781a6 CCS: use API 2020-12-03 16:03:09 +01:00
tobtoht
fe8c6ba241 Load nodes from cache 2020-11-21 09:52:31 +01:00
tobtoht
39f5662d09 fapi: provide target_height 2020-11-14 19:38:08 +01:00
tobtoht
5873861862 Add some more settings 2020-11-14 19:35:31 +01:00
dsc
23d594bcd4 Fetch latest XMRig release
Signed-off-by: dsc <dsc@xmr.pm>
2020-10-15 22:00:11 +02:00
tobtoht
21f3c790bf Reddit: fix extra / 2020-10-04 14:43:30 +02:00
dsc
7785d5befe Initial commit 2020-10-03 15:40:18 +02:00