1361 Commits

Author SHA1 Message Date
nymkappa
8f60ce05e8 Increase cache schema version 2023-02-25 14:22:16 +09:00
nymkappa
b028df0ff1 Format percentiles in a more verbose way 2023-02-25 14:22:16 +09:00
nymkappa
b50b34c5f9 Add missing coinbase_signature_ascii 2023-02-25 14:22:16 +09:00
nymkappa
613f69e401 previousblockhash -> previous_block_hash 2023-02-25 14:22:15 +09:00
nymkappa
c31f10e7c9 Return zeroed out fee_amt_percentiles if there is no transaction 2023-02-25 14:22:15 +09:00
nymkappa
f9932d4cd2 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
04bbb3c6cc Remove block_time from indexed fields 2023-02-25 14:22:15 +09:00
nymkappa
b97ff16bc2 Index coinbase signature in ascii 2023-02-25 14:22:14 +09:00
nymkappa
6372496de9 Fix fee percentiles indexing 2023-02-25 14:22:14 +09:00
nymkappa
64831840b9 Dont compute fee percentile / median fee when indexing is disabled because we need summaries 2023-02-25 14:22:14 +09:00
nymkappa
35f213dd84 Fix median time indexing 2023-02-25 14:22:14 +09:00
nymkappa
b0ba5945bf Wrap orphaned blocks updater into try/catch 2023-02-25 14:22:13 +09:00
nymkappa
6083b79d5a List orphaned blocks in the new blocks-bulk API 2023-02-25 14:22:13 +09:00
nymkappa
d6a8c3c347 Compute median fee and fee percentiles in sats 2023-02-25 14:22:13 +09:00
nymkappa
4859b9c789 Fix median timestamp field - Fix reponse format when block is indexed on the fly 2023-02-25 14:22:13 +09:00
nymkappa
dc48c486f2 Remove unescessary data from the blocks-bulk API 2023-02-25 14:22:12 +09:00
nymkappa
bdcf848209 Implemented coinstatsindex indexing 2023-02-25 14:22:12 +09:00
nymkappa
2b39fa4cfa Get blocks data set by bulk (non indexed) 2023-02-25 14:22:11 +09:00
nymkappa
1656e70cc6 Fix DB migration 54 breaking liquid 2023-02-24 10:41:17 +09:00
wiz
7de512dda1 Merge branch 'master' into nymkappa/bugfix/optimize-price-frontend 2023-02-23 21:32:58 +09:00
softsimon
54a1e58894 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
wiz
bdaf9c3476 Merge pull request #3068 from mempool/mononaut/raise-memory-limits
Raise production memory limits
2023-02-23 15:26:53 +09:00
nymkappa
2a851be439 Only display reward and block fee charts in USD due to missing historical data 2023-02-23 15:13:30 +09:00
nymkappa
1000e30b7f Add missing db schema incrementation 2023-02-23 14:52:29 +09:00
nymkappa
656fa6fa16 Merge branch 'master' into nymkappa/bugfix/optimize-price-frontend 2023-02-23 14:51:46 +09:00
nymkappa
b579226ee2 Add database migration to re-index prices with negative values support 2023-02-23 14:50:20 +09:00
wiz
7bdfb2be47 Add simon's comment to $searchNodeByPublicKeyOrAlias() 2023-02-23 13:42:54 +09:00
wiz
10283ce473 Merge branch 'master' into simon/alias-search-syntax-error 2023-02-23 13:20:35 +09:00
nymkappa
a1905f624f Optimize price API response size reduce the number of query to that API 2023-02-23 13:13:20 +09:00
nymkappa
6594019c3e Cache price API for 5 minutes 2023-02-23 10:04:31 +09:00
nymkappa
53b9310169 Redo/Fix completely failed PR #3092 + add PR #3105 2023-02-23 09:50:34 +09:00
wiz
8d03d5a99c Merge branch 'master' into mononaut/raise-memory-limits 2023-02-22 15:29:17 +09:00
softsimon
5134cc1d23 Adding regex comments. 2023-02-22 10:19:32 +04:00
Mononaut
cbb20b86eb increase size of mempool_byte_weight db column 2023-02-21 22:07:12 -06:00
wiz
8528524870 Merge branch 'master' into simon/alias-search-syntax-error 2023-02-22 10:13:44 +09:00
softsimon
f44e95a6ff Fixes a syntax error with certain keywords 2023-02-21 17:14:51 +04:00
nymkappa
72779c8244 Use historical price for older blocks and transactions 2023-02-21 12:37:27 +09:00
nymkappa
3e4d27165a Show avg block heath in pool ranking pie chart 2023-02-20 18:14:12 +09:00
nymkappa
6b1c1e7cda Add avg mining pool block mathrate in pools stats API 2023-02-20 18:14:12 +09:00
Felipe Knorr Kuhn
ac9cddfdb8 Merge branch 'master' into mononaut/raise-memory-limits 2023-02-19 13:56:28 -08:00
nymkappa
a1b7a33b91 Fix database usage when database is disabled 2023-02-19 19:08:29 +09:00
Felipe Knorr Kuhn
c8d0a3a97f Merge branch 'master' into nymkappa/bugfix/remove-unused-config-setting 2023-02-18 18:43:04 -08:00
wiz
e08258992c Merge pull request #3041 from mempool/nymkappa/update-readme
Add `--reindex` doc to backend README
2023-02-19 10:23:59 +09:00
Mononaut
b8956cb0d8 Reuse HTTP connections to esplora backend 2023-02-18 21:34:09 +07:00
softsimon
f7fc4cf962 Merge branch 'master' into nymkappa/bugfix/price-update-invalid-response 2023-02-18 16:59:11 +07:00
softsimon
7fcc015a83 Merge pull request #3043 from mempool/nymkappa/bugfix/blocks-api
Fixes blocks api (missing fee range)
2023-02-18 15:26:08 +07:00
Mononaut
41c7ee598d Raise production memory limits
Increases maxmempool production bitcoin.conf setting to 2GB,
and raises `npm run start-production` nodejs memory limit to 8GB
2023-02-17 10:12:33 -06:00
nymkappa
d0e52f3695 Remove config.MEMPOOL.PRICE_FEED_UPDATE_INTERVAL 2023-02-16 09:44:52 +09:00
nymkappa
1e9dde975a Fix database used when database disabled 2023-02-15 17:45:29 +09:00
Mononaut
e12bfa2651 Add audit / block health config feature flag 2023-02-15 16:28:29 +09:00