Commit Graph

1428 Commits

Author SHA1 Message Date
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
nymkappa
7e913e4d34
Show geolocation in node channels ranking widget 2023-02-23 18:57:55 +09:00
wiz
7929500dd2
Merge branch 'master' into mononaut/block-health-calculation 2023-02-23 15:27:04 +09:00
wiz
1b92099004
Merge pull request #3068 from mempool/mononaut/raise-memory-limits
Raise production memory limits
2023-02-23 15:26:53 +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
2d03332333
Add missing db schema incrementation 2023-02-23 14:52:29 +09:00
nymkappa
3f95d094a3
Merge branch 'master' into nymkappa/bugfix/optimize-price-frontend 2023-02-23 14:51:46 +09:00
nymkappa
5cfd715d4a
Add database migration to re-index prices with negative values support 2023-02-23 14:50:20 +09:00
wiz
10bfb51215
Add simon's comment to $searchNodeByPublicKeyOrAlias() 2023-02-23 13:42:54 +09:00
wiz
03be3ab561
Merge branch 'master' into simon/alias-search-syntax-error 2023-02-23 13:20:35 +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
62e1fa03c1
Cache price API for 5 minutes 2023-02-23 10:04:31 +09:00
nymkappa
f44eacd5d5
Redo/Fix completely failed PR #3092 + add PR #3105 2023-02-23 09:50:34 +09:00
wiz
4203972a49
Merge branch 'master' into mononaut/raise-memory-limits 2023-02-22 15:29:17 +09:00
softsimon
b6792784e8
Adding regex comments. 2023-02-22 10:19:32 +04:00
Mononaut
32b38e6cd1
increase size of mempool_byte_weight db column 2023-02-21 22:07:12 -06:00
Mononaut
2ff930ef3e
Ignore coinbase tx in block health calculation 2023-02-21 22:01:30 -06:00
wiz
c1a3b5f045
Merge branch 'master' into simon/alias-search-syntax-error 2023-02-22 10:13:44 +09:00
softsimon
8f51e20b2e
Fixes a syntax error with certain keywords 2023-02-21 17:14:51 +04:00
nymkappa
3c94755a69
Use historical price for older blocks and transactions 2023-02-21 12:37:27 +09:00
nymkappa
0dc2a598c3
Show avg block heath in pool ranking pie chart 2023-02-20 18:14:12 +09:00
nymkappa
e3e7271c9d
Add avg mining pool block mathrate in pools stats API 2023-02-20 18:14:12 +09:00
Felipe Knorr Kuhn
89319d9117
Merge branch 'master' into nymkappa/bugfix/node-sockets-lnd 2023-02-19 13:56:48 -08:00
Felipe Knorr Kuhn
c260b4f0f2
Merge branch 'master' into mononaut/raise-memory-limits 2023-02-19 13:56:28 -08:00
Felipe Knorr Kuhn
6a285064af
Merge branch 'master' into mononaut/optimize-mempool-block-7 2023-02-19 13:56:18 -08:00
nymkappa
761edbce9a
Fix database usage when database is disabled 2023-02-19 19:08:29 +09:00
Felipe Knorr Kuhn
3d1d29bd3b
Merge branch 'master' into nymkappa/bugfix/remove-unused-config-setting 2023-02-18 18:43:04 -08:00
wiz
bc4d21577d
Merge pull request #3041 from mempool/nymkappa/update-readme
Add `--reindex` doc to backend README
2023-02-19 10:23:59 +09:00
Mononaut
7f54e30a26
Reuse HTTP connections to esplora backend 2023-02-18 21:34:09 +07:00
softsimon
71b373463b
Merge branch 'master' into nymkappa/bugfix/price-update-invalid-response 2023-02-18 16:59:11 +07:00
softsimon
3f0bcbe64c
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
59f08247ef
Reduce data sent to mempool block 7 subscription 2023-02-17 19:11:12 -06:00
Mononaut
77686821ba
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
ce012b7d55
Remove config.MEMPOOL.PRICE_FEED_UPDATE_INTERVAL 2023-02-16 09:44:52 +09:00
nymkappa
9734052477
Fix database used when database disabled 2023-02-15 17:45:29 +09:00
Mononaut
2363631326
Add audit / block health config feature flag 2023-02-15 16:28:29 +09:00
nymkappa
6c0dc34dd6
Run database migration before running any business logic 2023-02-15 16:13:10 +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
nymkappa
56dad33fce
Always return fully extended block in blocks API even if indexing is disabled 2023-02-14 22:14:28 +09:00
nymkappa
1fc6e13bf8
Fix node socket parsing with LND 2023-02-13 18:01:15 +09:00
nymkappa
cf720c4bef
Fix missing fee range in blocks api when querying non indexed blocks 2023-02-13 15:50:22 +09:00
nymkappa
0176afa394
Add --reindex doc to backend README 2023-02-13 14:58:35 +09:00
Mononaut
8f3b8276c5
safer mempool cloning for different GBT algorithms 2023-02-10 07:43:39 -06:00
softsimon
241850beca
Merge pull request #3010 from mempool/mononaut/cpfp-error-handling
More robust error checking & handling in CPFP repositories
2023-02-04 09:18:10 +07: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
e8c3273541
fix drift in next block viz with mixed template algos 2023-01-30 16:26:37 -06:00
softsimon
4407b42aab
Merge branch 'master' into nymkappa/bugfix/tx-fetcher-crash 2023-01-26 17:02:35 +04:00
softsimon
6ed4e24f86
Merge pull request #2950 from mempool/mononaut/fix-cpfp-table-drops
Correctly drop legacy cpfp db tables
2023-01-26 13:39:35 +04:00
softsimon
59eb271782
Merge pull request #2824 from mempool/mononaut/more-rbf-info
cache, serve & display more comprehensive RBF info
2023-01-25 17:29:21 +04:00
Mononaut
fc0af50ab5
Fix bugged mempool block gradients 2023-01-19 11:09:03 -06:00
Mononaut
7da308c1e1
fix RBF detection 2023-01-17 19:25:00 -06:00
Mononaut
d778530620
keep cached RBF info for 24 hours after tx leaves the mempool 2023-01-17 19:24:57 -06:00
Mononaut
0481f57304
cache, serve & display more comprehensive RBF info 2023-01-17 16:09:16 -06:00
Mononaut
eead4d0af8
Correctly drop legacy cpfp db tables 2023-01-13 16:34:04 -06:00
softsimon
9fa19e7b26
Updating patch releases 2023-01-13 13:16:50 +04:00
Felipe Knorr Kuhn
04f00ca521
Merge branch 'master' into simon/backend-dependencies-29-12 2023-01-12 22:27:10 -08:00
wiz
b2b8911030
Merge branch 'master' into mononaut/scrollable-blockchain 2023-01-12 22:01:45 +09:00
wiz
3b8802d39e
Merge branch 'master' into mononaut/document-backend-config 2023-01-12 21:32:28 +09:00
Mononaut
bd30f2eb12
migrate cpfp data from old to new schemas 2023-01-11 08:44:11 -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
7793eaecbc
fix cpfp indexing rate calculation 2023-01-11 08:44:10 -06:00
Mononaut
ee95d033ac
remove slow cpfp indexing path 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
Felipe Knorr Kuhn
5379ec0f30
Expose whether Lightning is enabled on the backend 2023-01-10 21:54:34 -08:00