Commit Graph

179 Commits

Author SHA1 Message Date
Mononaut
0e6c8159af Handle transaction floods 2022-03-05 10:24:24 -06:00
Mononaut
685e355fa7 Batch RPC requests for transaction prevouts 2022-03-03 23:19:24 -06:00
Mononaut
48a3204055 Use Logger 2022-03-03 18:33:38 -06:00
Mononaut
0c48d0b233 Clear RPC server bottleneck
Parallelizes the RPC GenServer
2022-03-03 18:09:37 -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
12b75889c2 Fix missing block router bug 2022-02-28 12:10:40 -06:00
Mononaut
a91afe5c6a
Merge pull request #28 from bitfeed-project/umbrel-pre-release
Umbrel pre-release fixes
2022-02-20 21:35:52 +00:00
Mononaut
3aba5e3ea7 Improve mempool resync, Core reconnection. 2022-02-20 15:35:31 -06:00
Mononaut
561cc30aa6 API server startup tweaks for umbrel release 2022-02-19 23:39:13 -06:00
Mononaut
c0703a7a21 Keep retrying failed mempool sync 2022-02-19 22:53:22 -06:00
Mononaut
9298ccd203
Merge pull request #27 from bitfeed-project/stability
Refactor API server supervision tree to improve stability
2022-02-19 22:11:25 -06:00
Mononaut
d8cc46b137
Merge pull request #26 from bitfeed-project/fees
API server refactor & fee features
2022-02-19 22:10:07 -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
7a0c98f7f1 Improve block info layout on small screens 2022-02-19 21:42:52 -06:00
Mononaut
245543ec9b Squash bugs. Update READMEs & docker config 2022-02-18 20:56:09 -06:00
Mononaut
9a630adf3e Refactor highlight caching & color management 2022-02-18 18:38:21 -06:00
Mononaut
e845157610 Refactor API/Core bridge & mempool tracking.
API:
- Better RPC handling (cache credentials)
- Process transaction prevouts in dedicated Tasks
- Consume ZMQ sequence msgs
- Track mempool count precisely
- Cache prevouts for mempool transactions
- Send mempool count with every client msg, instead of reconstructing client-side
- Only send block ids over websocket, let clients fetch the full block data via http

Client:
- Simplify transaction queue to avoid setTimeouts
  - improves experience in background tabs
  - no longer need to hold back txs, as duplicates are now handled API-side
- Use API-supplied mempool count, instead of tracking it client-side
- Make mempoolCount a Svelte spring store, so updates transition smoothly
2022-02-18 18:07:58 -06:00
Mononaut
1100d63307 Color-by-feerate mode. Fee data in block info. 2022-02-18 17:32:28 -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
0bb7de1e33 Fix missing dependencies 2022-02-09 00:18:40 -06:00
Mononaut
5b53d15fa2 Update github workflows & alerts 2022-02-09 00:02:23 -06:00
Mononaut
83cb8cb2e7
Merge pull request #22 from bitfeed-project/search-and-highlight
Search and highlight
2022-02-09 05:15:57 +00:00
Mononaut
950f0691b6
Merge pull request #21 from bitfeed-project/graphics-refactor
Refactor graphics shaders & rendering pipeline
2022-02-09 05:12:13 +00:00
Mononaut
d03467b895 Color-coded watchlist for multiple addresses/txs 2022-02-08 23:10:35 -06:00
Mononaut
0cce3ca92f Add output address highlighting 2022-02-08 13:55:48 -06:00
Mononaut
8f03a9056c Add basic txid highlighting function 2022-02-08 13:50:58 -06:00
Mononaut
75b0bb2e4e Refactor shaders & rendering pipeline
- simplify color handling in the vertex shader
    - ditch palette-based approach
    - define colors as points in a 2D projection of HCL space with fixed
chroma
        - provides a good range of colors
        - we get aesthetically pleasing HCL color interpolation for free
    - lookup in a precomputed 2D color texture
- interpolate square vertex positions in the graphics shader instead of pre-computing in the main thread
    - requires new vertex attributes 'r' and 'offset'
    - allows x, y and r to be updated independently.
2022-02-08 13:06:05 -06:00
Bitfeed
41a87755e2
Merge pull request #19 from bitfeed-project/bug-fixes-2022-02-03
Minor bug fixes
2022-02-04 14:32:10 +00:00
Mononaut
65359e4cf4 Minor bug fixes
- Fix environment variable injection
- Fix Community Hero avatar tooltips
- Better supporter data polling
- Separate disable block & tx feed config flags
2022-02-04 08:29:36 -06:00
Mononaut
0e7c496593 Update README to reflect Umbrel app release 2022-02-02 08:49:43 -06:00
Mononaut
aab25da2e3 Fix payment polling bug & restore sidebar transition 2022-01-31 15:14:50 -06:00
Mononaut
43ee7d009f
Merge pull request #18 from bitfeed-project/currency-select
v2.1.3
2022-01-31 19:51:59 +00:00
Mononaut
89a7ef5af6 Add currency selector to settings sidebar
Resolves #11
2022-01-31 13:50:43 -06:00
Mononaut
9f9ad26427
Merge pull request #15 from bitfeed-project/documentation
Add proper instructions
2022-01-30 13:00:32 -06:00
Mononaut
8f86a7a6fd Add proper instructions 2022-01-30 12:51:15 -06:00
Mononaut
3c553e7590 Fix build-on-tag workflow 2022-01-28 08:56:51 -06:00
Mononaut
c1c7d9e559
Merge pull request #14 from runcitadel/master
Automated builds
2022-01-28 08:44:35 -06:00
Aaron Dewes
2169704007
Add on-tag workflow 2022-01-28 09:21:42 +01:00
Aaron Dewes
59127705f5 Add log dir to the repo 2022-01-28 02:26:12 -05:00
Aaron Dewes
3f63145d9f Clean up Dockerfiles
Use up-to-date nginx
Run builds on the amd64 architecture (This breaks builds on a Pi, but can simply be removed, it was added because it's much faster)
Copy package lockfile into container
Turn some steps into one
2022-01-28 02:23:13 -05:00
Aaron Dewes
599099d732 Start working on GitHub actions builds 2022-01-28 02:15:20 -05:00
Mononaut
4d87fafbde Fix websocket protocol selection & timeout 2022-01-27 10:21:50 -06:00
Mononaut
298cbe8e74 Update logo.svg 2022-01-23 19:14:46 -06:00
Mononaut
1ac0edfca5
Merge pull request #13 from bitfeed-project/dockerization
Dockerize client and server to enable home node integrations
2022-01-24 00:28:54 +00:00
Mononaut
be85d5d853 Dedicated RPC process, wait for ibd on startup 2022-01-23 16:55:10 -06:00
Mononaut
a343ec1bc6 Docker config, compatibility & env var support 2022-01-23 16:54:04 -06:00
Mononaut
71e40b9955 Update README 2022-01-01 08:34:30 -06:00
Bitfeed
6767becac1
Merge pull request #12 from bitfeed-project/sponsors-and-donations
Sponsors and donations
2022-01-01 04:26:09 +00:00
Mononaut
13c9858c68 Fix donation overlay bug, deployment notes 2021-12-31 22:08:56 -06:00