117 Commits

Author SHA1 Message Date
nymkappa
1bcd4c3dcc Delete useless log 2022-05-17 15:58:11 +02:00
nymkappa
78b9a47580 Only process mining pools on Bitcoin networks 2022-05-12 08:13:41 +02:00
nymkappa
ec37cc5952 If block exists in memory cache, return it directly for /block API 2022-05-12 08:13:41 +02:00
nymkappa
178cb72004 Update block API to use indexing if available 2022-05-12 08:13:40 +02:00
nymkappa
3db04d887b Added indexing progress indicator for hashrates, update logging 2022-05-10 15:48:21 +02:00
nymkappa
3d29ce93d2 Create indexing sticky notification that show indexing progress in all mining dashboard related pages 2022-05-10 15:48:20 +02:00
wiz
eae828c4d7 Merge pull request #1564 from mempool/nymkappa/bugfix/binance-regex
Ignore case on coinbase tag regexes
2022-04-25 22:38:49 +00:00
wiz
f681ace817 Merge pull request #1563 from mempool/nymkappa/feature/remove-block-extras-loading-indicator
Remove loading indicator for blocks-extras API
2022-04-24 07:25:27 +00:00
nymkappa
621a308b99 Ignore case on coinbase tag regexes 2022-04-22 03:25:34 -04:00
nymkappa
d1fc5e49ce Remove loading indicator for blocks-extras API 2022-04-22 00:49:02 -04:00
nymkappa
c4bfefabcc Manually re-index the last 10 blocks when the new block previoushash does not match latest block hash 2022-04-19 15:45:06 +09:00
nymkappa
c849b5d3f1 Validate block hash chain after indexing and for new blocks 2022-04-18 17:49:22 +09:00
nymkappa
d7d8fda3f6 Cleanup mining related backend logs 2022-04-13 16:30:49 +09:00
nymkappa
98224b5ddc [Indexing] - Support 10 blocks depth reorgs 2022-04-10 16:28:22 +09:00
nymkappa
4fcc56936d Handle empty pools table error 2022-04-07 18:14:28 +09:00
nymkappa
3096e0f577 Use mining pool slug in urls 2022-03-25 14:22:22 +09:00
nymkappa
671c25870c Fix pagination on /mining/blocks 2022-03-16 21:00:40 +01:00
nymkappa
36a83812b4 Updated blocks list in /pool/{id} page 2022-03-16 18:12:02 +01:00
nymkappa
fdea74db0a Store hex in coinbase raw - Improve scripsig parsing 2022-03-16 12:10:18 +01:00
nymkappa
acaa6c6e45 Index asciiScriptSig and display it in /mining/blocks 2022-03-15 23:33:51 +01:00
nymkappa
2c431d5df5 Optimize RPC calls 2022-03-15 21:16:02 +01:00
nymkappa
24310d0c8f Use bitcoin RPC getblock because esplora returns int for difficulty - Fix some css in mining dashboard 2022-03-13 16:08:33 +01:00
nymkappa
112880f332 Add pagination on /mining/blocks 2022-03-12 16:49:15 +01:00
nymkappa
aa7476807b Create working template for the new blocks page 2022-03-12 16:49:15 +01:00
softsimon
3782934045 Merge pull request #1320 from antonilol/regtest-1
regtest fixes
2022-03-11 14:07:58 +01:00
nymkappa
4f403d3808 Fix block indexing log 2022-03-10 14:23:29 +01:00
nymkappa
74d9762821 Index more data using getblockstats core RPC 2022-03-10 14:21:11 +01:00
nymkappa
950be63da0 Index more data using getblockstats core RPC 2022-03-10 14:08:01 +01:00
Antoni Spaanderman
40804b3426 simplify if statement 2022-03-09 11:51:36 +01:00
Antoni Spaanderman
27f6654299 Merge branch 'master' into regtest-1 2022-03-08 19:45:03 +01:00
nymkappa
91219bff92 Remove useless mining function wrapper in backend 2022-03-06 12:52:39 +01:00
nymkappa
aedf76e15f Pause block indexing chunk upon error and retry later 2022-03-05 15:50:48 +01:00
Antoni Spaanderman
82462d47e7 Merge branch 'master' into regtest-1 2022-02-28 13:09:51 +01:00
nymkappa
42bf77eccf Add blocks.extras.totalFees and show it in blockchain blocks component 2022-02-22 23:57:54 +09:00
nymkappa
150b137f0c Hashrates indexing waits for blocks indexing - Batch hashrates I/O ops 2022-02-21 17:34:07 +09:00
nymkappa
5a6f9269b1 Generate daily average hashrate data 2022-02-21 14:48:57 +09:00
Antoni Spaanderman
cfaf8b037a Merge branch 'master' into regtest-1 2022-02-17 16:05:22 +01:00
nymkappa
2add7fe7f4 Database schema version 6 truncate the blocks table 2022-02-17 18:07:59 +09:00
nymkappa
09f8490601 Create difficulty chart component 2022-02-16 21:20:28 +09:00
nymkappa
de276c81e0 Provide a way to completely disable block indexing and mining menu 2022-02-15 19:51:26 +09:00
nymkappa
9ed500fe96 Don't wait for 100% mempool sync before starting block indexing 2022-02-14 17:57:55 +09:00
Antoni Spaanderman
44173ad5b6 Merge branch 'master' into regtest-1 2022-02-12 12:28:37 +01:00
nymkappa
06833264ff Remove fields that won't be used in the frontend for now 2022-02-12 20:16:51 +09:00
nymkappa
8e2f7ac91f Improve block indexing logging 2022-02-10 23:02:12 +09:00
nymkappa
a79609ff5c Added /api/v1/blocksExtras endpoint 2022-02-10 22:11:10 +09:00
Antoni Spaanderman
47628303e3 Merge branch 'master' into regtest-1 2022-02-09 10:42:23 +01:00
nymkappa
c883f7803e Remove debug return which break the UX the first time we open mempool 2022-02-08 11:20:19 +09:00
Antoni Spaanderman
00f511cec0 Merge branch 'master' into regtest-1
for cla bot
2022-02-04 12:34:42 +01:00
nymkappa
835ccce5b6 Renamed extra to extras 2022-02-04 19:28:00 +09:00
nymkappa
a49cc9a2fa Move our custom fields to a BlockExtension sub object of the IEsploraApi.Block interface 2022-02-04 12:51:45 +09:00