Commit graph

37 commits

Author SHA1 Message Date
tobtoht
a33d241015 Merge pull request 'rpc_nodes: widen allowed heights' (#8) from tobtoht/feather-ws:widen_offsets into master
Reviewed-on: https://git.wownero.com/feather/feather-ws/pulls/8
2020-12-29 23:35:34 +00:00
tobtoht
6aa143f003 Merge pull request 'Fix nodes json' (#9) from tobtoht/feather-ws:fix_json into master
Reviewed-on: https://git.wownero.com/feather/feather-ws/pulls/9
2020-12-29 23:35:28 +00:00
tobtoht
b4b76e7d37
Fix nodes json 2020-12-30 00:34:36 +01:00
tobtoht
26571d306e
rpc_nodes: widen allowed heights 2020-12-30 00:30:25 +01:00
tobtoht
d8dd87b056 Merge pull request 'Load nodes from cache' (#7) from tobtoht/feather-ws:load_nodes_cache into master
Reviewed-on: https://git.wownero.com/feather/feather-ws/pulls/7
2020-12-29 23:24:22 +00:00
tobtoht
ce40243de4 Load nodes from cache 2020-12-30 00:21:00 +01:00
tobtoht
c83ca20610 Merge pull request 'Remove poorly performing / offline nodes' (#6) from tobtoht/feather-ws:update_nodes into master
Reviewed-on: https://git.wownero.com/feather/feather-ws/pulls/6
2020-12-29 21:14:39 +00:00
tobtoht
ca1fdfd73a Remove poorly performing / offline nodes 2020-12-29 22:13:58 +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
tobtoht
134d897b8a Merge pull request 'Feather-ws rewrite' (#5) from feather-ws-rewrite into master
Reviewed-on: https://git.wownero.com/feather/feather-ws/pulls/5
2020-12-22 18:25:22 +00: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
6638a273ef Add more .onion nodes 2020-12-03 16:09:37 +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
19bb05a581 Temporarily remove out of sync node
We can add it back once client side filtering is improved.
2020-11-20 11:46:02 +01:00
tobtoht
760b525be9 Add Dockerfile 2020-11-14 19:42:34 +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
tobtoht
3a28a95b55 Add xmr.fail node 2020-11-13 15:28:23 +01:00
dsc
2bf56c64fd Merge pull request 'Add supervisor cfg' (#4) from add-supervisor-cfg into master
Reviewed-on: https://git.wownero.com/feather/feather-ws/pulls/4
2020-10-18 16:08:08 +00:00
dsc
6111cb008a Add supervisor cfg
Signed-off-by: dsc <dsc@xmr.pm>
2020-10-18 18:07:41 +02:00
dsc
38e192ab5a Merge pull request 'Fetch latest XMRig release' (#2) from fetch-xmrig into master
Reviewed-on: https://git.wownero.com/feather/feather-ws/pulls/2
2020-10-15 20:00:57 +00:00
dsc
23d594bcd4 Fetch latest XMRig release
Signed-off-by: dsc <dsc@xmr.pm>
2020-10-15 22:00:11 +02:00
dsc
8f874d84e1 Add cypherpunklabs node 2020-10-11 19:21:32 +02:00
dsc
0bdf978d00 change domain 2020-10-08 23:52:51 +02:00
dsc
559796b4db Add lza's node take 2 2020-10-08 02:31:48 +02:00
dsc
4960c86412 Remove dead nodes 2020-10-06 18:01:02 +02:00
dsc
afc7904b4d Another day, another node 2020-10-06 17:58:44 +02:00
tobtoht
acf4d80f44 Add more tor nodes 2020-10-06 17:21:24 +02:00
dsc
1924d644a4 Update nodes 2020-10-06 17:10:51 +02:00
dsc
95f23e9192 Add lza's node 2020-10-06 00:53:09 +02:00
dsc
fd98c9df82 Merge pull request 'Reddit: fix extra /' (#1) from url_fix into master
Reviewed-on: https://git.wownero.com/feather/feather-ws/pulls/1
2020-10-04 12:54:03 +00: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