129 Commits

Author SHA1 Message Date
Mononaut
8c78810ef8 Add API endpoint for block summary data 2022-06-16 02:46:27 +00:00
nymkappa
a507dfe2cb Cleanup some ops logs 2022-06-13 10:12:27 +02:00
nymkappa
570ea6796e Add 'db-less' mining pool tagging support 2022-06-07 11:28:39 +02:00
nymkappa
5cf83f2bab Only attempt to save fx rate if database is enabled 2022-05-31 20:29:43 +02:00
nymkappa
79fd45127e Create rates table on all networks 2022-05-31 11:20:31 +02:00
wiz
ae567e0cd5 Merge branch 'master' into nymkappa/feature/historical-rates 2022-05-31 17:35:54 +09:00
nymkappa
e7023ad22a Mining dashboard still runs fine if Bitcoin Core becomes unavailable 2022-05-27 11:26:56 +02:00
nymkappa
4591489e8c Save bisq aggregate exchange rates in the database for each new block 2022-05-25 10:51:35 +02:00
nymkappa
38a8d37b5f Merge branch 'master' into nymkappa/feature/merge-blocks 2022-05-24 10:14:06 +02:00
nymkappa
1088eeef5d Merge legacy and mining /blocks components and APIs 2022-05-23 09:08:40 +02:00
nymkappa
45f8657eb4 Move indexing logic into Indexer class 2022-05-19 16:41:14 +02:00
nymkappa
14281bf647 Make sure to re-index skipped block when backend is offline for too long 2022-05-19 16:41:13 +02:00
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