179 Commits

Author SHA1 Message Date
softsimon
2ef340712f
Merge pull request #3442 from mempool/nymkappa/reorg-keep-templates
When a re-org happens, keep the block templates for audit
2023-04-03 12:24:05 +09:00
nymkappa
816fb3bf01
Don't delete transactions when checking if the current chain is valid 2023-03-31 12:22:26 +09:00
nymkappa
44bbb472d3
Keep re-org'ed block summaries in the database 2023-03-31 12:08:05 +09:00
nymkappa
ea2193a42d
Add missing sanity check when fetching single price datapoint 2023-03-29 17:33:07 +09:00
nymkappa
9e4fe40ca3
When a re-org happens, keep the block templates for audit 2023-03-29 17:32:17 +09:00
Mononaut
2baa10dcef
Use effective fee rate heuristics for block fee span 2023-03-28 16:19:06 +09:00
nymkappa
0ebe0a5dc9
Add new stats in mining pool page 2023-03-16 16:13:11 +09:00
Mononaut
5eae84bb75
Fix memory-intensive getCPFPUnindexedBlocks mysql query 2023-03-07 21:01:54 -06:00
wiz
a9a2ff0347
Merge pull request #3215 from mempool/nymkappa/bugfix/price
Handle missing price (show 0)
2023-03-05 15:34:31 +09:00
wiz
fca813147d
Merge branch 'master' into nymkappa/bugfix/price 2023-03-05 14:13:51 +09:00
nymkappa
32a260473a
Update some mining indexing logs 2023-03-05 08:23:04 +09:00
wiz
1192d4fbd4
Merge branch 'master' into nymkappa/bugfix/cleanup-mining-states 2023-03-04 16:46:44 +09:00
nymkappa
622929831e
Merge branch 'master' into nymkappa/bugfix/cleanup-mining-states 2023-03-04 10:54:02 +09:00
nymkappa
d483362a9b
Handle missing price (show 0) 2023-03-04 10:51:13 +09:00
nymkappa
7ea2d3b808
Use core to fetch block because esplora/electrs still return integer difficulty 2023-03-03 13:59:17 +09:00
wiz
5e484d3eca
Merge branch 'master' into nymkappa/unify-blocks-apis 2023-03-01 19:20:33 +09:00
nymkappa
9043d23a03
Ignore negative USD prices 2023-03-01 19:11:03 +09:00
nymkappa
8aebcf3e57
Remove mining db stats - replaced by runtime state variable 2023-03-01 16:42:26 +09:00
nymkappa
a67656389e
Fix chain divergence detection upon new block (use the new interface) 2023-03-01 13:50:15 +09:00
nymkappa
01d699e454
Add missing match rate to the block returned from the database 2023-02-27 18:39:02 +09:00
nymkappa
0aff276a5c
Enforce BlockExtended use for block indexing - Unify /api/v1/block(s) API(s) response format 2023-02-27 18:00:00 +09:00
nymkappa
5fba448dca
Truncate coinbase data if it's too long 2023-02-26 18:24:08 +09:00
nymkappa
57fb305452
Update missing "pools.json" -> "pools-v2.json" 2023-02-26 13:54:43 +09:00
nymkappa
ad9e42db26
Use regexes instead of tags 2023-02-25 16:32:03 +09:00
nymkappa
d3fdef256c
Rewrite mining pools parser - Re-index blocks table 2023-02-25 16:31:47 +09:00
nymkappa
0bf4d52183
Return zeroed out fee_amt_percentiles if there is no transaction 2023-02-25 14:22:15 +09:00
nymkappa
a0488dba76
Cleanup block before sending response in /blocks-bulk API
Remove block_time
Index summaries on the fly
2023-02-25 14:22:15 +09:00
nymkappa
75a99568bf
Index coinbase signature in ascii 2023-02-25 14:22:14 +09:00
nymkappa
b2eaa7efb1
Fix fee percentiles indexing 2023-02-25 14:22:14 +09:00
nymkappa
6965c8f41b
Fix median time indexing 2023-02-25 14:22:14 +09:00
nymkappa
458f24c9f2
Compute median fee and fee percentiles in sats 2023-02-25 14:22:13 +09:00
nymkappa
8f716a1d8c
Fix median timestamp field - Fix reponse format when block is indexed on the fly 2023-02-25 14:22:13 +09:00
nymkappa
8612dd2d73
Remove unescessary data from the blocks-bulk API 2023-02-25 14:22:12 +09:00
nymkappa
73f76474dd
Implemented coinstatsindex indexing 2023-02-25 14:22:12 +09:00
wiz
d2ea9215f0
Merge branch 'master' into nymkappa/bugfix/optimize-price-frontend 2023-02-23 21:32:58 +09:00
nymkappa
ee54e782f8
Only display reward and block fee charts in USD due to missing historical data 2023-02-23 15:13:30 +09:00
nymkappa
5749820999
Optimize price API response size reduce the number of query to that API 2023-02-23 13:13:20 +09:00
nymkappa
f44eacd5d5
Redo/Fix completely failed PR #3092 + add PR #3105 2023-02-23 09:50:34 +09:00
nymkappa
3c94755a69
Use historical price for older blocks and transactions 2023-02-21 12:37:27 +09:00
nymkappa
e3e7271c9d
Add avg mining pool block mathrate in pools stats API 2023-02-20 18:14:12 +09:00
nymkappa
32aa7aaff1
Remove bisq price fetch and replace it with our in house price index 2023-02-15 16:05:14 +09:00
wiz
e009c78c3e
Merge branch 'master' into mononaut/fiat-selector 2023-02-15 12:10:07 +09:00
Mononaut
900e66aef7
More robust error checking & handling in CPFP repositories 2023-02-02 17:37:32 -06:00
Mononaut
aa8a3e60c2
expose other currencies in charts APIs 2023-02-01 10:23:55 -06:00
Mononaut
f0d3bb87c6
handle gaps in indexed CPFP data 2023-01-11 08:44:11 -06:00
Mononaut
8de3fd0988
batch db inserts for cpfp data 2023-01-11 08:44:11 -06:00
Mononaut
fcd047f302
remove redundant fields from CPFP interfaces 2023-01-11 08:44:11 -06:00
Mononaut
01c96f80f9
add cpfp progress marker to avoid reindexing early blocks 2023-01-11 08:44:10 -06:00
Mononaut
b50936f001
compact schemas for cpfp tables 2023-01-11 08:44:10 -06:00
Mononaut
0d921cf7a6
don't rely on blocks table for cpfp indexing progress 2023-01-11 08:44:10 -06:00