Commit Graph

1562 Commits

Author SHA1 Message Date
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
nymkappa
fcd34eb876
Add new mempool lightning nodes and format the array so it's human readable 2023-01-10 16:13:16 +01:00
Mononaut
2e45dab4b7
Rename TRANSACTION_INDEXING to CPFP_INDEXING and add to mainnet prod config 2023-01-09 10:36:08 -06:00
Mononaut
7f903b0331
Add missing vars to docker config & readme 2023-01-09 10:36:08 -06:00
nymkappa
71d1c3de04
Update bitcoin-api-factory so we can use core only if needed 2023-01-08 11:24:23 +01:00
nymkappa
9f4107319f
Fetch coinbase tx with core when esplora fails to do so 2023-01-07 11:17:30 +01:00
Mononaut
befafaa60c
add paginated virtual scrolling to blockchain blocks bar 2023-01-06 10:13:53 -06:00
softsimon
05a8154db0
Merge pull request #2851 from mempool/nymkappa/bugfix/error-500-blocks-list
Fix error 500 when querying /blocks using `"INDEXING_BLOCKS_AMOUNT": 0`
2023-01-05 01:16:09 +04:00
softsimon
dcc8b81ca6
Merge branch 'master' into nymkappa/bugfix/cleanup-logs 2023-01-05 00:46:21 +04:00
softsimon
2ca12a72f8
Updating dependencies to please dependabot 2022-12-30 16:28:48 +04:00
nymkappa
a975936d3c
Don't try to import LN historical stats if no topology folder is set 2022-12-28 12:13:41 +01:00
wiz
4bcb4e37e8
Merge branch 'master' into nymkappa/bugfix/price-update-invalid-response 2022-12-26 13:13:30 +09:00
wiz
e986aaf1d9
Merge branch 'master' into mononaut/cpfp-indexer-fixes 2022-12-25 22:41:39 +09:00
nymkappa
db4bf52596
Fix error 500 when querying /blocks using "INDEXING_BLOCKS_AMOUNT": 0 2022-12-16 17:43:37 +01:00
Mononaut
fb137e6247
Fix & reenable cpfp indexer optimized path 2022-12-07 18:58:03 -06:00
Mononaut
56b6f79f97
improve thread error handling 2022-12-07 14:52:02 -06:00
Mononaut
4d0637768d
Refactor advanced gbt to minimize inter-thread comms 2022-12-07 14:52:01 -06:00
softsimon
07987ff4b6
Merge pull request #2790 from mempool/nymkappa/bugfix/sql-query
Handle ISP with no nodes
2022-12-07 17:40:36 +04:00
softsimon
484c503f6d
Merge pull request #2779 from mempool/mononaut/fix-block-summaries-repo
Fix block summaries repo upsert race condition
2022-12-07 17:23:00 +04:00
softsimon
c59ab2a129
Merge pull request #2778 from mempool/mononaut/advanced-gbt-fixes
Fix bugs related to advanced GBT transaction selection
2022-12-07 16:13:16 +04:00
nymkappa
3a7dffbe09
Fix crash when channel short id is not valid 2022-12-06 10:51:01 +01:00
nymkappa
685433fe4c
Handle ISP with no nodes 2022-12-05 08:11:46 +01:00
Mononaut
79f6ae3b6f
fix post-block advanced gbt call 2022-12-03 12:11:21 +09:00
Mononaut
e54e896e56
fix skipped descendant updates on tx inclusion 2022-12-03 12:10:54 +09:00
Mononaut
3126a559a0
Make forensics backend call rate limiting configurable 2022-12-03 11:17:53 +09:00
Mononaut
132e848fdc
Fix block summaries repo upsert race condition 2022-12-03 10:49:10 +09:00
nymkappa
efb48271f9
Cleanup logs 2022-12-01 15:52:06 +01:00
nymkappa
a671bfc226
Make sure exchange API response format is valid before using it 2022-12-01 12:05:23 +01:00
wiz
2b411aad0a
Merge pull request #2730 from mempool/nymkappa/bugfix/node-map
Don't select nodes which do not have country info
2022-12-01 17:13:12 +09:00
wiz
13b52c427c
Merge branch 'master' into nymkappa/bugfix/node-map 2022-12-01 16:55:22 +09:00
softsimon
1db11d1d67
Downgrading axios to latest 0.27.x release 2022-12-01 16:15:19 +09:00
wiz
175bcf7467
Merge branch 'master' into simon/update-backend-packages 2022-12-01 16:01:42 +09:00
softsimon
59f1b031c8
Run schema update synchronously 2022-12-01 14:41:37 +09:00
softsimon
3d45054e38
Update backend npm modules 2022-12-01 14:24:41 +09:00
Mononaut
03a3320e45
block audit truncation in separate db migrations. bump timeout to 1 hour. 2022-11-30 23:03:51 +09:00
Mononaut
ead60aaa21
save db schema version after each successful migration 2022-11-30 22:58:01 +09:00
wiz
c7cca500fa
Merge branch 'master' into simon/mempool-gbt-config 2022-11-30 21:45:25 +09:00
Mononaut
ba10df69b7
improve precision of output attribution for mutual closes 2022-11-30 18:24:00 +09:00
Mononaut
ded11892f5
merge forensics columns into main channels table 2022-11-30 18:24:00 +09:00
Mononaut
609f68eb24
move linked channel scan into forensics task, add backend throttling 2022-11-30 18:24:00 +09:00
Mononaut
dc7d5bc94d
handle batched channel opens. infer funding balances in both directions. 2022-11-30 18:24:00 +09:00
Mononaut
35ae672177
break long-running forensics tasks 2022-11-30 18:24:00 +09:00
Mononaut
8f0830f6d1
detect channels opened from change outputs 2022-11-30 18:24:00 +09:00
Mononaut
cf89ded14d
detect links between channel close and open txs 2022-11-30 18:23:59 +09:00
softsimon
030889250f
Mempool GBT config 2022-11-30 17:56:53 +09:00
wiz
272b6d2437
Disable optimization in CPFP indexing when block summaries indexing is enabled 2022-11-29 23:47:43 +09:00
wiz
89293b4358
Merge branch 'master' into mononaut/index-cpfp-info 2022-11-29 16:41:12 +09:00
wiz
cc30da0b4d
Merge branch 'master' into nymkappa/bugfix/block-timestamp 2022-11-29 14:25:45 +09:00
Mononaut
6d6dd09d11
get blocks from esplora for cpfp indexer 2022-11-29 11:42:08 +09:00
Mononaut
f2ad184d1f
optimize cpfp indexing 2022-11-29 11:42:08 +09:00
Mononaut
ab5308e1c8
adjust database migration compatibility 2022-11-29 11:42:08 +09:00
Mononaut
205d832d31
return more complete cpfp data for mempool transactions 2022-11-29 11:42:08 +09:00
Mononaut
9b6a012476
calculate & index cpfp packages 2022-11-29 11:42:07 +09:00
nymkappa
3eb4ea9048
Disable ON UPDATE for blocks.blockTimestamp field 2022-11-28 17:33:07 +09:00
Mononaut
2290f98011
only query blocks_audits on bitcoin networks 2022-11-28 14:26:28 +09:00
Mononaut
e627122239
move block audit endpoint from mining to bitcoin routes 2022-11-25 19:32:50 +09:00
Mononaut
201b32bdcd
better fallbacks for missing block summaries data 2022-11-25 10:16:58 +09:00
Mononaut
de04914851
optimize block audit scores db query 2022-11-24 17:11:45 +09:00
Mononaut
5fc3b8b70c
merge block-audit and block pages 2022-11-24 17:10:53 +09:00
Mononaut
276470474d
save 'fresh' transactions in block audit repository 2022-11-24 17:10:53 +09:00
nymkappa
1461cb1b17
Don't select nodes which do not have country info 2022-11-24 16:56:13 +09:00
Mononaut
6ada839282
reduce forensics throttle delay from 100ms to 20ms 2022-11-23 19:32:14 +09:00
softsimon
7de068368c
Update backend/src/tasks/lightning/forensics.service.ts 2022-11-23 19:24:41 +09:00
wiz
0d797ff7fd
Merge branch 'master' into mononaut/ln-penalty-scan-optimization 2022-11-23 19:14:20 +09:00
softsimon
74dbd6cee1
Add support for application/base64 content type 2022-11-23 18:43:37 +09:00
Mononaut
7d3ec63335
move long-running forensics scans to separate service, throttle backend calls 2022-11-23 10:38:24 +09:00
softsimon
584f443f56
Adding new getTransactionHex api 2022-11-22 21:45:05 +09:00
softsimon
4f3296566a
Make api available on all backends 2022-11-22 19:08:09 +09:00
wiz
1309a63430
Merge branch 'master' into junderw/psbt-complete-inputs 2022-11-22 18:57:36 +09:00
wiz
802d38c363
Merge branch 'master' into nymkappa/bugfix/404-ftx-not-found 2022-11-22 18:18:14 +09:00
wiz
2b94849881
Merge branch 'master' into junderw/psbt-complete-inputs 2022-11-22 17:59:50 +09:00
wiz
28d5ec34b3
Merge branch 'master' into nymkappa/bugfix/node-count 2022-11-22 17:25:23 +09:00
softsimon
5e72ecfdc9
Support Maxmind Lite
fixes #2553
2022-11-22 16:13:27 +09:00
Mononaut
b9a761fb88
add ADVANCED_TRANSACTION_SELECTION default to config test 2022-11-22 15:10:24 +09:00
Mononaut
b1d490972b
refactor async mempool/block update callbacks 2022-11-22 14:43:58 +09:00
Mononaut
786d73625a
guard new tx selection algo behind config setting 2022-11-22 14:43:58 +09:00
Mononaut
08ad6a0da3
move new tx selection algorithm into thread worker 2022-11-22 14:43:55 +09:00
wiz
38cb45e026
Merge pull request #2664 from mononaut/block-audit-db-migration
db migration to clear obsolete block audit data
2022-11-22 14:40:33 +09:00
Mononaut
24dba5a2ef
Bump db migration query timeout to 900s 2022-11-22 14:25:57 +09:00
Mononaut
a32f960c4a
db migration to clear obsolete audit data 2022-11-22 14:07:29 +09:00
nymkappa
9d5717f30d
Make sure we handle all isp id in the queried list 2022-11-22 11:58:16 +09:00
wiz
5da8f2b6dc
Merge branch 'master' into nymkappa/feature/rename-mining-pool 2022-11-22 10:54:20 +09:00
wiz
adcc1ba4f0
Merge branch 'master' into fix-block-summary-vsize 2022-11-21 21:03:45 +09:00
Mononaut
373e02a5b0
Store & expose node extension TLV data in backend 2022-11-21 20:27:03 +09:00
wiz
eb03fc18ad
Merge branch 'master' into scan-for-penalty-txs 2022-11-21 19:19:22 +09:00
Mononaut
5b6f713ef3
Fetch missing block audit scores 2022-11-21 18:45:34 +09:00
Mononaut
29f7c89c53
Tweak block audit algo to reduce false positives 2022-11-21 18:43:52 +09:00
wiz
7232c4755d
Merge branch 'master' into nymkappa/bugfix/node-count 2022-11-21 18:19:53 +09:00
wiz
e051758ca7
Merge pull request #2564 from mempool/junderw/search-blocktime
[Feature] Search for block by timestamp
2022-11-21 17:45:02 +09:00
wiz
be3acf8694
Merge branch 'master' into junderw/psbt-complete-inputs 2022-11-21 17:34:26 +09:00
wiz
5957b71774
Merge branch 'master' into simon/disable-mempool-config 2022-11-21 17:23:34 +09:00
wiz
8cc252642b
Merge branch 'master' into simon/updated-mempool-debug-output 2022-11-21 17:12:07 +09:00
nymkappa
7c7273b696
Remove FTX from the price feeds 2022-11-20 19:23:51 +09:00
Mononaut
c1e741a025
Rescan unresolved LN channel force closes 2022-11-19 17:30:56 +09:00
nymkappa
d32d97fbaf
Add support for renaming a mining pool without changing regex or addresses 2022-11-09 06:43:46 +01:00
Felipe Knorr Kuhn
b069196c27
Merge branch 'master' into junderw/psbt-complete-inputs 2022-11-07 07:21:24 -08:00
Felipe Knorr Kuhn
48e2df3f7a
Merge branch 'master' into junderw/search-blocktime 2022-11-07 07:21:14 -08:00
Mononaut
9c6799e193
Fix rounded vsize in block summaries 2022-11-04 10:37:14 -06:00
Mononaut
f3eb403c17
Add match rate to block page 2022-10-28 18:49:29 -06:00
Mononaut
b6343ddc2d
Clean up block audit page & tweak color scheme 2022-10-28 18:49:28 -06:00
Mononaut
6d28259515
disable block audits unless indexing is enabled 2022-10-28 15:16:03 -06:00
Mononaut
968d7b827b
Optimize makeBlockTemplates 2022-10-27 10:25:16 -06:00
Mononaut
832ccdac46
improve audit analysis and scoring 2022-10-27 10:25:15 -06:00
Mononaut
39afa4cda1
Fix errors in block audit tx selection algorithm 2022-10-27 10:25:15 -06:00
Mononaut
702ff2796a
New projected block transaction selection algo 2022-10-27 10:25:15 -06:00
softsimon
a5c4f8e2f3
Adding migration to force rescan of closed channels 2022-10-21 23:42:37 +04:00
nymkappa
27c39ef557
Only show active nodes is isp page 2022-10-21 20:09:20 +02:00
softsimon
601a559784
Adding MEMPOOL.ENABLED config to Docker 2022-10-21 21:08:48 +04:00
softsimon
0e0ac363cf
Updating unit test 2022-10-21 21:08:48 +04:00
softsimon
b31642e554
Disable mempool config
fixes #2090
2022-10-21 21:08:48 +04:00
Mononaut
022785a555
Fix ln close classification logic 2022-10-20 17:59:36 +00:00
wiz
76764936f9
Merge branch 'master' into nymkappa/bugfix/log-counter 2022-10-17 04:25:27 +09:00
Mononaut
f4df51dd21
API method for node fee histogram data 2022-10-15 00:57:34 +00:00
nymkappa
0a4c1c24af
Fixes #2592 2022-09-30 19:10:11 +02:00
wiz
cc79b2b2a2
Merge branch 'master' into nymkappa/bugfix/incorrect-log 2022-09-25 08:03:40 +09:00
nymkappa
1ead34d42d
Show tor+clearnet node series in chart 2022-09-22 15:23:50 +02:00
junderw
5d1c5b51dd
Fix: Add hash and reverse search order 2022-09-19 16:44:53 +09:00
junderw
19467de809
Backend: Add block height from timestamp endpoint 2022-09-18 22:30:09 +09:00
softsimon
a43f0454f9
Mempool node group page 2022-09-17 11:06:49 +02:00
junderw
bd4cf980bd
Spelling fix 2022-09-10 16:09:43 +09:00
junderw
9b1fc1e000
Fix response codes for various error states 2022-09-10 16:03:31 +09:00
Felipe Knorr Kuhn
90db8c15f2
Merge branch 'master' into junderw/psbt-complete-inputs 2022-09-09 21:23:14 -07:00
wiz
0e090f940a
Merge pull request #2367 from mempool/simon/eslint-triple-equals
Tooling: Eslint force triple equals
2022-09-09 19:20:03 +02:00
wiz
b30483572d
Merge branch 'master' into nymkappa/feature/cltv 2022-09-09 18:06:44 +02:00
nymkappa
faec398cf0
Log correct maxmind mysql updates - fix stats import processed files counter 2022-09-09 14:59:49 +02:00
nymkappa
dcfcac2cc6
Show summary stats and world map in isp and country node list page 2022-09-09 14:56:18 +02:00
softsimon
249a65bb57
Merge pull request #2518 from mempool/nymkappa/feature/only-scan-closed-chan-new-block
Only scan for closed channels when there is a new block
2022-09-08 17:44:10 +02:00
softsimon
f015b165ee
Merge pull request #2512 from mempool/nymkappa/feature/closed-channel-info
If a channel is closed, show closing date instead of last update
2022-09-08 15:49:39 +02:00
wiz
d0b4d1da4a
Merge branch 'master' into nymkappa/feature/node-world-map 2022-09-07 15:03:46 +02:00
wiz
11d6b372ba
Merge pull request #2096 from erikarvstedt/backend-packaging
Simplify packaging for backend
2022-09-07 15:01:18 +02:00
wiz
01588305fc
Merge branch 'master' into nymkappa/bugfix/node-list-location-label 2022-09-06 22:58:59 +02:00
nymkappa
367c06dca6
Show clearnet nodes on world map 2022-09-06 19:33:07 +02:00
nymkappa
eb18625802
Only scan for closed channels when there is a new block 2022-09-06 11:42:19 +02:00
junderw
f062132636
Feature: Add endpoint for PSBT nonWitnessUtxo inclusion 2022-09-05 23:13:45 +09:00
nymkappa
5086f132f8
If a channel is closed, show closing date instead of last update 2022-09-04 19:12:01 +02:00
nymkappa
a75262d79e
Only show active channels on world map 2022-09-04 09:35:31 +02:00
nymkappa
dac3a43c1b
When using clightning, use listchannels.delay as cltv_delta 2022-09-04 09:23:49 +02:00
Erik Arvstedt
34c8ad614a
backend: Rename build variable DOCKER_COMMIT_HASH -> MEMPOOL_COMMIT_HASH
This var is useful for all build methods, not only Docker.

This is an internal renaming that doesn't change the public Docker
backend image API.
2022-09-02 12:50:44 +02:00
Erik Arvstedt
be72c5109a
backend: Create npm script package
This script creates a directory `backend/package` which only contains the
files required by the backend at runtime:
- The contents of `dist`
- `node_modules` minus `typescript` and `@typescript-eslint`.
  These packages are build-only and are larger than the remaining whole package.

By using only `backend/package` in the Docker image,
the backend content size in the image is decreased by 70% to 31M.
This, along with the improved copying in the Dockerfile, reduces the
backend image size by 44% to 200M.
(Step `RUN chown -R 1000:1000 /backend ...` created a layer that effectively
duplicated the backend.)
2022-09-02 12:50:43 +02:00
Erik Arvstedt
d591f7c456
backend: Fetch package version at build time
Extract `fetch-version.ts` which is called at build time to create
file `dist/api/version.json`.
This file is read by `backend-info.ts` at runtime.

This also fixes handing over the Git commit hash to the backend app
in the Docker backend image, which was broken as of 2022-07-12.
(Reason: The commit hash was previously required at runtime, but was
only provided at build time.)
2022-09-02 12:50:43 +02:00
Erik Arvstedt
5683f639ed
backend: Read mtgox-weekly.json from dist 2022-09-02 11:10:47 +02:00
Erik Arvstedt
8f0fc3af57
backend: Add config file env var 2022-09-02 11:08:42 +02:00
nymkappa
ee23d1695d
Use shared component in node ranking list 2022-09-02 10:08:25 +02:00
Felipe Knorr Kuhn
1aad4f2926
Merge branch 'master' into simon/eslint-triple-equals 2022-09-01 22:51:07 -07:00
wiz
8a2925ab0c
Merge pull request #2474 from mempool/simon/search-results-greyed
Grey out inactive search results
2022-08-31 14:55:40 +02:00
wiz
38324575e8
Merge branch 'master' into simon/search-results-greyed 2022-08-31 14:45:04 +02:00
wiz
1a10acf8ce
Merge branch 'master' into nymkappa/bugfix/mysql-inject 2022-08-31 14:41:56 +02:00
wiz
78298d16d7
Merge branch 'master' into nymkappa/feature/closed-channels-sort 2022-08-31 14:22:25 +02:00
nymkappa
ff1aae853e
Save latest node channel update in node.updated_at field in db 2022-08-31 09:37:19 +02:00
nymkappa
08833b08a0
Fix possible mysql injectin in channels.api 2022-08-31 08:53:21 +02:00
nymkappa
434963e8a0
Sort closed channels by closing_date, updated_at 2022-08-31 07:44:18 +02:00
softsimon
c593ded864
Grey out inactive search results 2022-08-30 23:58:58 +02:00
nymkappa
c150129d74
CLN - Add brakets around ipv6 2022-08-30 20:31:04 +02:00
wiz
51d35ec7d2
Merge branch 'master' into nymkappa/bugfix/asn-mapping 2022-08-30 19:45:31 +02:00
wiz
d9320574d8
Merge branch 'master' into simon/da-api-handle-error 2022-08-30 19:35:57 +02:00
nymkappa
cd2ef20d5c
Harcode lunanode, FDCservers and cogent asn 2022-08-30 17:06:48 +02:00
wiz
af805f15c7
Merge pull request #2441 from mempool/nymkappa/feature/ip-check
Fix wrong ASN for Lunanode ip ranges
2022-08-30 15:53:19 +02:00
softsimon
89f93d23b6
Merge pull request #2445 from mempool/nymkappa/bugfix/dashboard-percentages
When there is no stats for the past 7 days, don't show % changes
2022-08-30 13:39:43 +02:00
nymkappa
aec6d57fc3
When there is no stats for the past 7 days, don't show % changes 2022-08-30 09:08:34 +02:00
nymkappa
1d571c284c
Fix wrong ASN for Lunanode ip ranges 2022-08-29 23:36:18 +02:00
wiz
1a5ee32565
Merge branch 'master' into nymkappa/bugfix/historical-node-decoding 2022-08-29 23:05:30 +02:00
nymkappa
0847e15d07
Update node sockets during historical import so we don't have to truncate 2022-08-29 09:01:07 +02:00
nymkappa
f25ec08f5e
Format historical node sockets with update topology outputs 2022-08-29 08:43:26 +02:00
wiz
6d027dd7ce
Merge pull request #2416 from mempool/nymkappa/feature/ln-logger-tag
Update <lightning> log tag to show the network if non mainnet
2022-08-28 17:06:46 +02:00
wiz
01e745e389
Merge branch 'master' into nymkappa/feature/ln-logger-tag 2022-08-28 16:46:05 +02:00
softsimon
9c09c00fab
Updated mempool debug log 2022-08-28 15:56:57 +02:00
wiz
1cd0796428
Merge branch 'master' into nymkappa/bugfix/disable-ln-import-testsignet 2022-08-28 14:24:05 +02:00