Commit Graph

240 Commits

Author SHA1 Message Date
softsimon
2887a3f1c5 Added mempool inSync property to backend. Display on frontend when not in sync and on't create statistics when not in sync.
fixes #29
2020-04-01 20:06:44 +07:00
softsimon
3ed0e38582 Fixed sorting issue that caused the median calculation bug. 2020-03-20 02:07:12 +07:00
softsimon
aca1b20772 Adding "mempool block" details. Work in progress! 2020-03-17 21:53:20 +07:00
softsimon
5cdb593a7d Only return "initial block amount" on init, and treat high fees in empty blocks as overpaid. 2020-03-16 02:25:14 +07:00
softsimon
dd21c2ff44 Adding median fee to block. 2020-03-15 17:12:09 +07:00
softsimon
35569d5c45 Responsive mempool blocks. 2020-03-12 21:56:07 +07:00
softsimon
a3e52deb72 Adding a third connection state and preventing offline indicator from pushing the menu. 2020-03-09 17:53:54 +07:00
softsimon
b2d13c5715 Bugfix for null error when using transaction tracking 2020-03-09 00:23:45 +07:00
softsimon
550679f17e Introduce a websocket ping check that closes the socket if no response. 2020-03-06 02:05:26 +07:00
softsimon
c0d57b399c Adding miner block reward and fee to block info. 2020-03-04 15:10:30 +07:00
softsimon
c508e883a3 Handle some cases of api not returning full data. 2020-03-03 16:44:32 +07:00
softsimon
fcf5b71f06 Fast forward the block fetching if backend has been offline for a while. 2020-03-03 15:11:14 +07:00
softsimon
f2bd463426 Write cache to disk on SIGTERM as with SIGINT. 2020-03-01 23:09:33 +07:00
softsimon
3d575035a1 Send git-commit hash to client on reconnect to force client reload on backend update 2020-03-01 00:42:41 +07:00
softsimon
f672387be2 Also save and load blocks to cache.json for speedy restarts. 2020-02-29 21:52:04 +07:00
softsimon
2422356704 Added first seen on mempool transactions. 2020-02-28 01:09:07 +07:00
softsimon
c3b047b6da Confirmed address transactions fix. QR Code fix. (take 2) 2020-02-26 23:21:16 +07:00
softsimon
e4bd08cf31 Moved websocket handling to its own file and cleaned up index.ts 2020-02-26 17:49:53 +07:00
Simon Lindh
90a1fcaf8d Various fixes and design updates. 2020-02-26 03:37:00 +09:00
Simon Lindh
76fd441e07 Empty block fix. 2020-02-26 03:35:46 +09:00
Simon Lindh
c550c888a4 Footer and header design updates. 2020-02-26 03:34:20 +09:00
Simon Lindh
d6bfb77abe Basic address tracking. 2020-02-26 03:31:45 +09:00
Simon Lindh
98391580b3 Refactor. API explanations. UX revamp. 2020-02-26 03:26:16 +09:00
Simon Lindh
45fa1be217 Optimize statistics. 2020-02-26 03:21:21 +09:00
Simon Lindh
43f41b8aab New base code for mempool blockchain explorerer 2020-02-26 03:19:26 +09:00
Simon Lindh
4c881784c6 electrs backend request and error handling improvements 2019-12-09 19:14:54 +07:00
Simon Lindh
3ddbd33b70 Renamed the electrs backend support to 'electrs'. 2019-12-06 22:37:07 +01:00
Simon Lindh
90d72175bd Use 'request' instead of 'axios' for electrs api requests. 2019-12-06 21:59:43 +01:00
Simon Lindh
a409d5d6d7 Prevent transaction backlog to cause mempool update halts 2019-11-15 17:27:12 +08:00
Simon Lindh
5d61e00ab1 Address page with QR code 2019-11-13 14:51:44 +08:00
Simon Lindh
4de8384708 Block view. 2019-11-12 16:39:59 +08:00
Simon Lindh
839fa12eb6 Explorer page with latest blocks. WIP 2019-11-06 15:35:02 +08:00
Simon Lindh
5c55fd2025 Fix transaction size when using esplora api 2019-10-28 16:47:42 +08:00
Simon Lindh
861dd0864d Resume transaction tracking after reconnect. 2019-10-24 15:37:39 +08:00
Simon Lindh
ae2e0823fb Tx tracking fix for esplora api. 2019-10-24 11:15:24 +08:00
Simon Lindh
136b6eb76e Adding optional Blockstream esplora backend support. 2019-10-22 17:09:07 +08:00
Simon Lindh
1d501b45b7 Erase old blocks and transactions from database at interval. 2019-08-29 01:17:31 +02:00
Simon Lindh
300396bbdc Amount of projected blocks is now a config. 2019-07-26 17:42:26 +03:00
Simon Lindh
c99d2d49d7 Live 2H graph is now fetched through the websocket.
Tell the web socket what to fetch with "want" request.
2019-07-26 12:48:32 +03:00
Simon Lindh
94132a903f Initial code commit. 2019-07-21 17:59:47 +03:00