Commit Graph

702 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
softsimon
12c9b80a64 Address tracking and notification sounds. 2020-02-26 04:29:57 +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
6e724d4203 Transaction tracking revamped.
Blockchain block arrow.
2020-02-26 03:28:57 +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
f3e282f4d3 typo 2019-11-14 16:31:40 +08:00
Simon Lindh
7aec5f2adb Search box for explorer. 2019-11-14 15:03:01 +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
2dbfa323fa Transaction view. 2019-11-10 16:44:00 +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
e14786e8aa Proxy websocket when running local environment. 2019-08-29 01:05:46 +02:00
wiz
08aed6c1be Modify backend to only bind to 127.0.0.1 2019-08-23 22:27:52 +09:00
Simon Lindh
c07bc0c779 Bugfix: setTimeout -> setInterval 2019-08-19 10:31:14 +03:00
Simon Lindh
4f6a9f035d Cache the heavy statistics lookup queries. 2019-08-15 14:06:08 +03:00
Simon Lindh
48c280f8c3 Projected blocks API should accept "txId" as query parameter. 2019-07-26 17:55:41 +03:00
Simon Lindh
9bae606eb4 Projected blocks API. 2019-07-26 17:51:12 +03: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