Commit Graph

5 Commits

Author SHA1 Message Date
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
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
Mononaut
7622382a97 Prep client for monorepo 2021-12-02 16:26:47 -06:00