Commit Graph

209 Commits

Author SHA1 Message Date
Mononaut
707abbc075 Track & serve unconfirmed mempool spends 2022-04-25 11:02:29 -06:00
Mononaut
25d2b6ea2c Refactor spend index & api 2022-04-25 09:31:08 -06:00
Mononaut
a80a0c6bce Next/previous block navigation 2022-04-24 17:42:41 -06:00
Mononaut
e7121d36cb Index spends, add to api and tx overlay 2022-04-23 16:06:05 -06:00
Mononaut
9d3e5f79e0 Adjust colors 2022-04-23 15:56:00 -06:00
Mononaut
a827ac036b Basic block explorer & entry/exit transitions 2022-04-23 07:49:39 -06:00
Mononaut
b5bcaf2377 Support searching mempool txs, error handling 2022-04-18 12:40:07 -06:00
Mononaut
272c1ad829 Parse P2PK and P2MS addresses 2022-04-17 15:23:51 -06:00
Mononaut
77e0204934 Loading indicator. Fix blockheight calculation 2022-04-17 15:23:18 -06:00
Mononaut
0cb700663c Basic tx search, height/conf data, input links 2022-04-16 20:36:14 -06:00
Mononaut
0849e6eb43 Remove dropped txs from the visualization 2022-04-12 20:37:28 -06:00
Mononaut
79519066f7
Merge pull request #39 from turbo-cunnos/version_display
Version display
2022-03-22 00:02:30 +00:00
Mononaut
ef0a7db2b6
Update ContactTab.svelte 2022-03-22 00:01:09 +00:00
Mononaut
47ecdb248c
Update config.js 2022-03-22 00:00:18 +00:00
artgits
5bd507b873 Version has been added 2022-03-22 00:16:14 +03:00
Mononaut
d7216e31e3
Merge pull request #36 from bitfeed-project/v2.2.1
Pre-release fixes for v2.2.1
2022-03-12 19:38:15 +00:00
Mononaut
ef30cd442d Pre-release fixes for v2.2.1 2022-03-12 13:36:12 -06:00
Mononaut
eb8323a55d
Merge pull request #35 from bitfeed-project/transaction-details
Transaction detail overlay
2022-03-12 00:05:02 +00:00
Mononaut
4ee6f277da Handle coinbase & OP_RETURN in tx detail view 2022-03-11 14:58:00 -06:00
Mononaut
987c2c801b Decode input/output addresses. Optimize for mobile 2022-03-11 13:35:15 -06:00
Mononaut
1db488d350 Draft transaction detail overlay w/ sankey diagram 2022-03-10 20:35:15 -06:00
Mononaut
058cbb70a2
Merge pull request #34 from bitfeed-project/tiny-screens
Support for tiny screens
2022-03-09 20:56:04 +00:00
Mononaut
13d2f584d0 URL param support & tweak tiny screen UI layout 2022-03-09 13:30:08 -06:00
Mononaut
c06bbe2fa6 Support for tiny screens
Simplifies the UI on screens smaller than 480x480
2022-03-09 12:47:32 -06:00
Mononaut
9888533090 Fix mempool repair input expansion 2022-03-09 12:43:37 -06:00
Mononaut
b19dbe650f Misc fixes 2022-03-08 11:13:25 -06:00
Mononaut
25f2eff3f8 Fix total block value calculation 2022-03-05 13:22:50 -06:00
Mononaut
2f1d6c7420
Merge pull request #33 from bitfeed-project/prevout-expansion-bug
Prevout expansion & RPC handling refactor
2022-03-05 19:15:26 +00:00
Mononaut
d049198eb6 Update README for new server environment variables 2022-03-05 13:13:56 -06:00
Mononaut
07921f61ce Fix total block fees calculation 2022-03-05 13:01:07 -06:00
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