Commit graph

1597 commits

Author SHA1 Message Date
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
5792dee553
Use bitcoinApiFactory when we don't need verbose blocks or confirmation number 2023-02-27 11:46:37 +09:00
wiz
416ba77394
Merge pull request #3158 from mempool/nymkappa/bugfix/truncate-coinbase
Truncate `coinbase_signature` and `coinbase_signature_ascii` before insertion if needed
2023-02-27 10:09:21 +09:00
nymkappa
5fba448dca
Truncate coinbase data if it's too long 2023-02-26 18:24:08 +09:00
wiz
86a0488bba
Merge branch 'master' into mononaut/block-health-calculation 2023-02-26 17:39:50 +09:00
wiz
91dfd06015
Merge pull request #3154 from mempool/nymkappa/feature/new-reindex-command
Replace `--reindex=xxx,xxx` command line with `--reindex-blocks`
2023-02-26 15:55:49 +09:00
wiz
f1863596d8
Merge pull request #3149 from mempool/nymkappa/bugfix/update-missing-pools-config
Update missing "pools.json" -> "pools-v2.json"
2023-02-26 15:54:35 +09:00
nymkappa
955e216037
AUTOMATIC_BLOCK_REINDEXING is false by default 2023-02-26 15:41:55 +09:00
nymkappa
d938448fe9
Replace --reindex=xxx,xxx command line with --reindex-blocks 2023-02-26 15:28:50 +09:00
nymkappa
d0d2303513
Document --update-pools - Added some logs 2023-02-26 14:19:10 +09:00
nymkappa
57fb305452
Update missing "pools.json" -> "pools-v2.json" 2023-02-26 13:54:43 +09:00
wiz
5981e52534
Merge branch 'master' into nymkappa/feature/align-dashboards 2023-02-26 13:07:35 +09:00
nymkappa
9a4a5ad94e
Silence ENOENT exception when we wipe the nodejs backend cache 2023-02-26 11:37:57 +09:00
nymkappa
32733a3023
When we re-index blocks due to mining pools change, wipe the nodejs backend cache 2023-02-26 11:30:12 +09:00
nymkappa
6d1e6a92ad
[LND] Nullify zeroed timestamps 2023-02-25 18:30:29 +09:00
nymkappa
9395a5031e
Log the whole exception in pool parser 2023-02-25 17:12:50 +09:00
nymkappa
2363a397f1
Remove duplicated db transaction 2023-02-25 17:05:58 +09:00
nymkappa
3d38064dbb
Increase db schema version to 56 2023-02-25 16:48:11 +09:00
nymkappa
ad9e42db26
Use regexes instead of tags 2023-02-25 16:32:03 +09:00
nymkappa
c2f5cb9529
Update pool parser to work with no database 2023-02-25 16:32:03 +09:00
nymkappa
6cd42cfc73
Update missing POOLS_JSON_URL config 2023-02-25 16:32:03 +09:00
nymkappa
117aa1375d
Disable mining pools update if AUTOMATIC_BLOCK_REINDEXING is not set - Re-index unknown blocks when a new pool is added 2023-02-25 16:32:03 +09:00
nymkappa
d87fb04a92
Point to the new mining pool files pools-v2.json 2023-02-25 16:32:02 +09:00
nymkappa
d3fdef256c
Rewrite mining pools parser - Re-index blocks table 2023-02-25 16:31:47 +09:00
nymkappa
210f939e65
Add missing truncate blocks table 2023-02-25 14:22:17 +09:00
nymkappa
8d9568016e
Remove duplicated entry in backend/src/__fixtures__/mempool-config.template.json 2023-02-25 14:22:17 +09:00
nymkappa
5d7c9f9315
Add config.MEMPOOOL.MAX_BLOCKS_BULK_QUERY parameter (default to 0, API disable) 2023-02-25 14:22:17 +09:00
nymkappa
ad4cbd60d5
Do not download orphaned block if headers-only 2023-02-25 14:22:17 +09:00
nymkappa
822362c105
Increase cache schema version 2023-02-25 14:22:16 +09:00
nymkappa
ed8cf89fee
Format percentiles in a more verbose way 2023-02-25 14:22:16 +09:00
nymkappa
e19db4ae35
Add missing coinbase_signature_ascii 2023-02-25 14:22:16 +09:00
nymkappa
aa1114926c
previousblockhash -> previous_block_hash 2023-02-25 14:22:15 +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
086ee68b52
Remove block_time from indexed fields 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
eceedf0bdf
Dont compute fee percentile / median fee when indexing is disabled because we need summaries 2023-02-25 14:22:14 +09:00
nymkappa
6965c8f41b
Fix median time indexing 2023-02-25 14:22:14 +09:00
nymkappa
e2fe39f241
Wrap orphaned blocks updater into try/catch 2023-02-25 14:22:13 +09:00
nymkappa
281899f551
List orphaned blocks in the new blocks-bulk API 2023-02-25 14:22:13 +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
nymkappa
c44896f53e
Get blocks data set by bulk (non indexed) 2023-02-25 14:22:11 +09:00
wiz
ab6219a828
Merge branch 'master' into nymkappa/feature/align-dashboards 2023-02-24 17:10:57 +09:00
nymkappa
4d7c69dd73
Fix DB migration 54 breaking liquid 2023-02-24 10:41:17 +09:00
wiz
d2ea9215f0
Merge branch 'master' into nymkappa/bugfix/optimize-price-frontend 2023-02-23 21:32:58 +09:00
softsimon
aa9ebc277d
Merge pull request #3113 from mempool/nymkappa/bugfix/usd-charts-only
Show only USD in block fees/rewards charts
2023-02-23 14:50:32 +04:00