74 Commits

Author SHA1 Message Date
nymkappa
06a83efef0 Add config.MEMPOOOL.MAX_BLOCKS_BULK_QUERY parameter (default to 0, API disable) 2023-02-25 14:22:17 +09:00
nymkappa
d0e52f3695 Remove config.MEMPOOL.PRICE_FEED_UPDATE_INTERVAL 2023-02-16 09:44:52 +09:00
Mononaut
240b4cb6e2 Add audit / block health config feature flag 2023-02-14 12:32:30 -06:00
Mononaut
105ca296e2 Rename TRANSACTION_INDEXING to CPFP_INDEXING and add to mainnet prod config 2023-01-09 10:36:08 -06:00
Mononaut
f46e8bd3ce Make forensics backend call rate limiting configurable 2022-12-03 11:17:53 +09:00
softsimon
4f8d7efb84 Mempool GBT config 2022-11-30 17:56:53 +09:00
Mononaut
bc076a850e calculate & index cpfp packages 2022-11-29 11:42:07 +09:00
Mononaut
38fea03f94 move long-running forensics scans to separate service, throttle backend calls 2022-11-23 10:38:24 +09:00
Mononaut
9a3be34450 guard new tx selection algo behind config setting 2022-11-22 14:43:58 +09:00
softsimon
03db2df7d7 Disable mempool config
fixes #2090
2022-10-21 21:08:48 +04:00
Erik Arvstedt
6d6e7ce108 backend: Add config file env var 2022-09-02 11:08:42 +02:00
nymkappa
4139e64492 Add missing lightning configuration variables where needed 2022-08-19 22:08:36 +02:00
wiz
4138d69c5e Merge branch 'master' into nymkappa/feature/config-pools-json 2022-08-10 22:40:04 +09:00
nymkappa
6ba7d5c9ad Make mining pools url configurable 2022-08-09 15:52:24 +02:00
nymkappa
295f0dd8ff Refactor the LN backend and add more logs 2022-08-09 09:20:25 +02:00
nymkappa
6317d0867a Run node stats every 10 minutes, only keep the latest entry per day 2022-08-04 18:27:36 +02:00
nymkappa
ae006579a6 Wrote some utility functions to convert clightning output to our db schema 2022-08-02 18:34:19 +02:00
nymkappa
068f7392dd Import LN historical statistics (network wide + per node) 2022-08-02 16:00:38 +02:00
Antoni Spaanderman
5264738e5f use lnd rest api 2022-07-30 21:52:58 +02:00
wiz
2878561e52 Correct maxmind geoip-db GEOLITE2_ISP to GEOIP2_ISP 2022-07-23 23:53:28 +02:00
nymkappa
6795f69343 Integrate GeoIP2 ISP database 2022-07-23 23:33:13 +02:00
softsimon
f305f4f96f Use maxmind to store node locations 2022-07-11 17:52:38 +02:00
wiz
39361497bf Merge branch 'master' into simon/lightning-pr 2022-07-10 14:00:02 +02:00
nymkappa
918d991cdd Disable automatic block re-indexing by default 2022-07-09 19:04:35 +02:00
softsimon
d0288a3fd5 Renaming config LND_NODE_AUTH to LND 2022-07-08 18:55:26 +02:00
nymkappa
d1cfdd5931 Merge Lightning backend into Mempool backend 2022-07-08 18:55:26 +02:00
nymkappa
f98b829678 Index block summaries in db 2022-06-18 16:48:02 +02:00
Ayanami
b4b814e2f9 Temporary disable retries
Until we find out how to sync async
2022-06-07 04:16:37 +09:00
Ayanami
0cc970ce68 Added missing config value
addressing comments from @knorrium
2022-06-07 04:16:36 +09:00
Ayanami
1629d8f1c6 Added configurable user-agent for axios
Will use `mempool/v${backendInfo.getBackendInfo().version}` for default
2022-06-07 04:16:36 +09:00
Ayanami
cdf645f68e Handle Error with basic retry while syncing external assets ( Price Data )
+ Removed unused External Assets value

+ Make static URL dynamic

+ Added config options for syncing pool data

+ Added retry interval & max retry
2022-06-07 04:16:36 +09:00
nymkappa
fa574f6d73 mempool.space/.../pools.json => raw.githubusercontent.com/.../pools.json 2022-03-17 16:07:58 +01:00
wiz
5a04ffd128 Merge pull request #1358 from mempool/wiz/increase-default-indexing-blocks-amount
Increase default INDEXING_BLOCKS_AMOUNT by 10x to 11000 blocks
2022-03-14 13:15:54 +00:00
wiz
d8ac35027e Cleanup MySQL unix socket code and add to sample config 2022-03-14 13:11:04 +00:00
Djuri Baars
bc729dc6f4 Add MySQL socket support 2022-03-14 13:45:34 +01:00
wiz
398dbb5e98 Increase default INDEXING_BLOCKS_AMOUNT by 10x to 11000 blocks 2022-03-13 13:57:20 +00:00
Antoni Spaanderman
c1e83c9c7c Merge branch 'master' into log-priority 2022-02-07 08:59:01 +01:00
Felipe Knorr Kuhn
ff20316d2e Rename PRICENODE to PRICE_DATA_SERVER 2022-02-05 07:58:35 -08:00
Felipe Knorr Kuhn
38db073726 Reduce currency rates polling interval from 1 hour to 10 minutes 2022-02-05 00:33:16 -08:00
Felipe Knorr Kuhn
78090a9676 Make the Currency Conversion Service URLs configurable and log when queried 2022-02-04 22:48:16 -08:00
Antoni Spaanderman
723ef1056e Merge branch 'master' into log-priority
fix conflicts in backend/src/config.ts and backend/mempool-config.sample.json
2022-02-04 12:32:08 +01:00
Felipe Knorr Kuhn
e6a318d310 Query conversion rates service over clearnet or Tor with mempool User-Agent 2022-02-03 23:23:57 -08:00
nymkappa
6e61de3a96 Small improvements on the mining page UX
- INDEXING_BLOCKS_AMOUNT = 0 disable indexing, INDEXING_BLOCKS_AMOUNT = -1 indexes everything
- Show only available timespan in the mining page according to available datas
- Change default INDEXING_BLOCKS_AMOUNT to 1100

Don't use unfiltered mysql user input

Enable http cache header for mining pools (1 min)
2022-01-28 15:01:24 +09:00
nymkappa
7188d0d55d Added MEMPOOL.INDEXING_BLOCKS_AMOUNT in the config (default 432 blocks) 2022-01-28 15:01:23 +09:00
Antoni Spaanderman
5a1d1a2e95 add log priority option for stdout log 2022-01-23 12:20:32 +01:00
nymkappa
1abfa4a82e Add pools.json file in default config.ts - Handle file exception - Only import pools for MAINNET 2022-01-20 22:59:10 +09:00
softsimon
c36ff22d68 Support for Test Liquid Native Asset 2021-12-29 00:40:55 +04:00
softsimon
401ba3e9e7 Adding sync external assets feature. 2021-12-21 02:00:50 +04:00
softsimon
5219ffa439 Refactoring the MINFEE node configuration into new configs. 2021-09-19 02:40:16 +04:00
softsimon
ccee78bc57 Refactoring Bitcoin RPC client implementation 2021-09-18 13:18:47 +04:00