Commit Graph

278 Commits

Author SHA1 Message Date
softsimon
f0b0fc3f4b
Push new block and mempool synchronized.
Measure projected block accuracy.
refs #47
2020-06-08 02:08:51 +07:00
softsimon
7ade4c114b
Code cleanup. 2020-06-07 17:30:32 +07:00
softsimon
8167debbe9
Expose git commit hash to backend info api. 2020-05-27 15:18:04 +07:00
wiz
b9d9875e98
Remove duplicate npm install and build steps in production scripts 2020-05-26 21:52:50 +09:00
softsimon
68664968da
Add backendInfo api endpoint. 2020-05-26 18:06:14 +07:00
softsimon
5b80b43e2a
Add hostname to initial websocket data. 2020-05-26 16:34:55 +07:00
wiz
01ac06b096
Fix start/upgrade scripts to properly restart the backend processes 2020-05-26 13:23:55 +09:00
softsimon
5cbbf5a186
Crash fix. 2020-05-26 11:02:12 +07:00
wiz
003361befb
Update misc files used for mempool.space production website 2020-05-25 18:42:00 +09:00
softsimon
2c345426cb
Strip attached coinbase transactions to save data. 2020-05-24 22:45:45 +07:00
softsimon
4d2fcf96c6
Duplicate code fix. 2020-05-24 16:29:30 +07:00
softsimon
7e07e2cd8a
Fix address tracking issues. 2020-05-20 17:00:50 +07:00
softsimon
1d542c15e4
Arrow navigation fix.
Liquid native asset notification fix.
2020-05-10 01:34:28 +07:00
softsimon
c08a4c8424
Instant mining pool identification from recent blocks.
refs #59
2020-05-10 00:54:07 +07:00
softsimon
0753b11840
Identify and display mining pool.
fixes #59
2020-05-10 00:35:21 +07:00
softsimon
20c7ee98e7
Asset tracking.
Asset caching.
refs #37
2020-05-05 15:26:23 +07:00
softsimon
590f1d2b04
Improvments to the mempool transaction subscription. 2020-04-13 02:06:10 +07:00
softsimon
e2671df4be
Wait for an push transactions that hasn't yet appeared in the mempool 2020-04-13 01:26:53 +07:00
softsimon
c5796a8062
Improved websocket tx/address tracking handling when disconnecting . 2020-04-12 03:03:51 +07:00
softsimon
b082763438
Send empty mempoolInfo responsive instead of undefined on server restart. 2020-04-04 01:11:46 +07:00
softsimon
c6df78815b
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
e84ec7dd86
Fixed sorting issue that caused the median calculation bug. 2020-03-20 02:07:12 +07:00
softsimon
72658c19f6
Adding "mempool block" details. Work in progress! 2020-03-17 21:53:20 +07:00
softsimon
8a5887e890
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
dbf8d025e9
Adding median fee to block. 2020-03-15 17:12:09 +07:00
wiz
6af45c86f8
Add new package.json for top-level mempool project 2020-03-13 19:51:25 +09:00
wiz
c8da732771
Update package.json for mempool-frontend 2020-03-13 19:48:10 +09:00
wiz
0bf337b7a6
Update package.json for mempool-backend 2020-03-13 19:44:56 +09:00
softsimon
2f94200a45
Responsive mempool blocks. 2020-03-12 21:56:07 +07:00
softsimon
2296ad69b9
Adding a third connection state and preventing offline indicator from pushing the menu. 2020-03-09 17:53:54 +07:00
softsimon
677f99d03b
Bugfix for null error when using transaction tracking 2020-03-09 00:23:45 +07:00
softsimon
5d4ce44627 Introduce a websocket ping check that closes the socket if no response. 2020-03-06 02:05:26 +07:00
softsimon
73e24195da Adding miner block reward and fee to block info. 2020-03-04 15:10:30 +07:00
softsimon
2fe7af0c22 Handle some cases of api not returning full data. 2020-03-03 16:44:32 +07:00
softsimon
2b9be35afa Fast forward the block fetching if backend has been offline for a while. 2020-03-03 15:11:14 +07:00
softsimon
2382aa44e1 Write cache to disk on SIGTERM as with SIGINT. 2020-03-01 23:09:33 +07:00
softsimon
c9b161423d Send git-commit hash to client on reconnect to force client reload on backend update 2020-03-01 00:42:41 +07:00
softsimon
39394e1178
Also save and load blocks to cache.json for speedy restarts. 2020-02-29 21:52:04 +07:00
softsimon
4879036216
Added first seen on mempool transactions. 2020-02-28 01:09:07 +07:00
softsimon
23a61a37fd
Confirmed address transactions fix. QR Code fix. (take 2) 2020-02-26 23:21:16 +07:00
softsimon
7fbc6f1461
Moved websocket handling to its own file and cleaned up index.ts 2020-02-26 17:49:53 +07:00
softsimon
a122432c24 Address tracking and notification sounds. 2020-02-26 04:29:57 +07:00
Simon Lindh
057bff69fc
Various fixes and design updates. 2020-02-26 03:37:00 +09:00
Simon Lindh
c5c068a8d4
Empty block fix. 2020-02-26 03:35:46 +09:00
Simon Lindh
d690511a08
Footer and header design updates. 2020-02-26 03:34:20 +09:00
Simon Lindh
3453e84889
Basic address tracking. 2020-02-26 03:31:45 +09:00
Simon Lindh
f3cfa038d3
Transaction tracking revamped.
Blockchain block arrow.
2020-02-26 03:28:57 +09:00
Simon Lindh
34645908e9
Refactor. API explanations. UX revamp. 2020-02-26 03:26:16 +09:00
Simon Lindh
acd658a0e7
Optimize statistics. 2020-02-26 03:21:21 +09:00
Simon Lindh
ac95c09ea6
New base code for mempool blockchain explorerer 2020-02-26 03:19:26 +09:00
Simon Lindh
67fb17f242 electrs backend request and error handling improvements 2019-12-09 19:14:54 +07:00
Simon Lindh
d1fce86adb Renamed the electrs backend support to 'electrs'. 2019-12-06 22:37:07 +01:00
Simon Lindh
aa8bccdb8f Use 'request' instead of 'axios' for electrs api requests. 2019-12-06 21:59:43 +01:00
Simon Lindh
9cfee07f47 Prevent transaction backlog to cause mempool update halts 2019-11-15 17:27:12 +08:00
Simon Lindh
e2d26b90bf typo 2019-11-14 16:31:40 +08:00
Simon Lindh
9e212ab176 Search box for explorer. 2019-11-14 15:03:01 +08:00
Simon Lindh
480016ef07 Address page with QR code 2019-11-13 14:51:44 +08:00
Simon Lindh
309e851ead Block view. 2019-11-12 16:39:59 +08:00
Simon Lindh
bd2bd478ef Transaction view. 2019-11-10 16:44:00 +08:00
Simon Lindh
02d67e8406 Explorer page with latest blocks. WIP 2019-11-06 15:35:02 +08:00
Simon Lindh
d8407080ec
Merge pull request #13 from andrerfneves/refactor/docs-package
[chore] Documentation improvements and package json cleanups
2019-10-29 02:00:17 +08:00
Simon Lindh
3074983d3a Fix transaction size when using esplora api 2019-10-28 16:47:42 +08:00
Simon Lindh
35c4d9676c Resume transaction tracking after reconnect. 2019-10-24 15:37:39 +08:00
Simon Lindh
4229b9b3df Tx tracking fix for esplora api. 2019-10-24 11:15:24 +08:00
Simon Lindh
afb3ecc57d Adding optional Blockstream esplora backend support. 2019-10-22 17:09:07 +08:00
Andre Neves
d3cd735411 chore(docs): Update README docs for more clarity
chore(packagejson): clean up and standardize data inside package json - author taken from MIT license details
chore(spacing): move tsconfig json to follow codebase standard indentation setup
2019-09-08 13:37:07 -04:00
Simon Lindh
61c6345f75 Erase old blocks and transactions from database at interval. 2019-08-29 01:17:31 +02:00
Simon Lindh
53269a805b Proxy websocket when running local environment. 2019-08-29 01:05:46 +02:00
wiz
e95b90b857
Add mempool-config.json to .gitignore, update sample, update README 2019-08-23 22:35:04 +09:00
wiz
9df5024856
Modify backend to only bind to 127.0.0.1 2019-08-23 22:27:52 +09:00
Simon Lindh
f1db2ccbea Bugfix: setTimeout -> setInterval 2019-08-19 10:31:14 +03:00
Simon Lindh
85f1d4d7aa Cache the heavy statistics lookup queries. 2019-08-15 14:06:08 +03:00
Simon Lindh
b561137962 Projected blocks API should accept "txId" as query parameter. 2019-07-26 17:55:41 +03:00
Simon Lindh
32623988ab Projected blocks API. 2019-07-26 17:51:12 +03:00
Simon Lindh
76f8af9048 Amount of projected blocks is now a config. 2019-07-26 17:42:26 +03:00
Simon Lindh
8dd58db42a 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
2b6426a126 Fixing tx tracking issues. 2019-07-25 14:20:02 +03:00
Simon Lindh
fd2209e75a Initial code commit. 2019-07-21 17:59:47 +03:00