Commit Graph

7 Commits

Author SHA1 Message Date
Mononaut
48a3204055 Use Logger 2022-03-03 18:33:38 -06:00
Mononaut
dc6286bd39 Fix prevout inflation concurrency bug
- Replaces Hackney with Finch for http requests, to improve concurrent
RPC handling under high load
- Rips out obsolete elixometer instrumentation
- Adds handling for failed prevout inflation
- Fail inflation step fast
2022-03-02 23:42:31 -06:00
Mononaut
c0703a7a21 Keep retrying failed mempool sync 2022-02-19 22:53:22 -06:00
Mononaut
bd9d11818d Refactor API server supervision tree
- Migrate mempool agent to a GenServer
- ZMQ sockets handled by separate GenServers
- Mempool & socket servers under one_for_all supervisor
- Improve error handling
2022-02-19 21:43:48 -06:00
Mononaut
14a1c54352 Extend txs and blocks with prevouts and fees
Fetch prevouts for solo and block transactions,
and calculate input values & tx fees.

Naive initial implementation with no caching,
so block processing is sloooooooooooooow.
2022-02-13 22:48:40 -06:00
Mononaut
95cabcf041 Serve block data over http
Avoid sending large block data messages over websocket,
which block transaction updates, especially on lower
bandwidth connections.

Instead, only send the block id over websocket, and
then fetch over http with good caching
2022-02-13 14:38:46 -06:00
Mononaut
739b8518ef Prep server for monorepo 2021-12-02 17:00:19 -06:00