From 37030356dd9ad91e69aa29b6d28371a05e4f4a54 Mon Sep 17 00:00:00 2001 From: natsoni Date: Fri, 23 Aug 2024 14:14:42 +0200 Subject: [PATCH] Add API V2 URL prefix to production backend --- production/mempool-config.liquid.json | 1 + production/mempool-config.liquidtestnet.json | 1 + production/mempool-config.mainnet-lightning.json | 3 ++- production/mempool-config.mainnet.json | 1 + production/mempool-config.signet-lightning.json | 3 ++- production/mempool-config.signet.json | 1 + production/mempool-config.testnet-lightning.json | 3 ++- production/mempool-config.testnet.json | 1 + production/mempool-config.testnet4.json | 1 + 9 files changed, 12 insertions(+), 3 deletions(-) diff --git a/production/mempool-config.liquid.json b/production/mempool-config.liquid.json index 9051bba74..94baf9661 100644 --- a/production/mempool-config.liquid.json +++ b/production/mempool-config.liquid.json @@ -7,6 +7,7 @@ "MINED_BLOCKS_CACHE": 144, "SPAWN_CLUSTER_PROCS": 0, "API_URL_PREFIX": "/api/v1/", + "API_V2_URL_PREFIX": "/api/v2/", "POLL_RATE_MS": 1000, "DISK_CACHE_BLOCK_INTERVAL": 1 }, diff --git a/production/mempool-config.liquidtestnet.json b/production/mempool-config.liquidtestnet.json index ae6d7b1ac..e3eb01e7b 100644 --- a/production/mempool-config.liquidtestnet.json +++ b/production/mempool-config.liquidtestnet.json @@ -7,6 +7,7 @@ "MINED_BLOCKS_CACHE": 144, "SPAWN_CLUSTER_PROCS": 0, "API_URL_PREFIX": "/api/v1/", + "API_V2_URL_PREFIX": "/api/v2/", "POLL_RATE_MS": 1000, "DISK_CACHE_BLOCK_INTERVAL": 1 }, diff --git a/production/mempool-config.mainnet-lightning.json b/production/mempool-config.mainnet-lightning.json index b113a3c8a..fa24b9de7 100644 --- a/production/mempool-config.mainnet-lightning.json +++ b/production/mempool-config.mainnet-lightning.json @@ -6,7 +6,8 @@ "BACKEND": "esplora", "HTTP_PORT": 8993, "INDEXING_BLOCKS_AMOUNT": 0, - "API_URL_PREFIX": "/api/v1/" + "API_URL_PREFIX": "/api/v1/", + "API_V2_URL_PREFIX": "/api/v2/" }, "SYSLOG": { "MIN_PRIORITY": "debug" diff --git a/production/mempool-config.mainnet.json b/production/mempool-config.mainnet.json index b6ee68da1..441931d7e 100644 --- a/production/mempool-config.mainnet.json +++ b/production/mempool-config.mainnet.json @@ -8,6 +8,7 @@ "MINED_BLOCKS_CACHE": 144, "SPAWN_CLUSTER_PROCS": 0, "API_URL_PREFIX": "/api/v1/", + "API_V2_URL_PREFIX": "/api/v2/", "CLEAR_PROTECTION_MINUTES": 5, "POLL_RATE_MS": 1000, "INDEXING_BLOCKS_AMOUNT": -1, diff --git a/production/mempool-config.signet-lightning.json b/production/mempool-config.signet-lightning.json index c087a9104..5b89524e4 100644 --- a/production/mempool-config.signet-lightning.json +++ b/production/mempool-config.signet-lightning.json @@ -6,7 +6,8 @@ "BACKEND": "esplora", "HTTP_PORT": 8991, "INDEXING_BLOCKS_AMOUNT": 0, - "API_URL_PREFIX": "/api/v1/" + "API_URL_PREFIX": "/api/v1/", + "API_V2_URL_PREFIX": "/api/v2/" }, "SYSLOG": { "MIN_PRIORITY": "debug" diff --git a/production/mempool-config.signet.json b/production/mempool-config.signet.json index 57cb37443..bf17a7f1f 100644 --- a/production/mempool-config.signet.json +++ b/production/mempool-config.signet.json @@ -7,6 +7,7 @@ "MINED_BLOCKS_CACHE": 144, "SPAWN_CLUSTER_PROCS": 0, "API_URL_PREFIX": "/api/v1/", + "API_V2_URL_PREFIX": "/api/v2/", "INDEXING_BLOCKS_AMOUNT": -1, "AUTOMATIC_POOLS_UPDATE": true, "AUDIT": true, diff --git a/production/mempool-config.testnet-lightning.json b/production/mempool-config.testnet-lightning.json index 130410dc4..cd966dd8b 100644 --- a/production/mempool-config.testnet-lightning.json +++ b/production/mempool-config.testnet-lightning.json @@ -6,7 +6,8 @@ "BACKEND": "esplora", "HTTP_PORT": 8992, "INDEXING_BLOCKS_AMOUNT": 0, - "API_URL_PREFIX": "/api/v1/" + "API_URL_PREFIX": "/api/v1/", + "API_V2_URL_PREFIX": "/api/v2/" }, "SYSLOG": { "MIN_PRIORITY": "debug" diff --git a/production/mempool-config.testnet.json b/production/mempool-config.testnet.json index 1a216c54b..1aaf1c24b 100644 --- a/production/mempool-config.testnet.json +++ b/production/mempool-config.testnet.json @@ -7,6 +7,7 @@ "MINED_BLOCKS_CACHE": 144, "SPAWN_CLUSTER_PROCS": 0, "API_URL_PREFIX": "/api/v1/", + "API_V2_URL_PREFIX": "/api/v2/", "INDEXING_BLOCKS_AMOUNT": -1, "AUTOMATIC_POOLS_UPDATE": true, "AUDIT": true, diff --git a/production/mempool-config.testnet4.json b/production/mempool-config.testnet4.json index db7f68ea4..098520fae 100644 --- a/production/mempool-config.testnet4.json +++ b/production/mempool-config.testnet4.json @@ -7,6 +7,7 @@ "MINED_BLOCKS_CACHE": 144, "SPAWN_CLUSTER_PROCS": 0, "API_URL_PREFIX": "/api/v1/", + "API_V2_URL_PREFIX": "/api/v2/", "INDEXING_BLOCKS_AMOUNT": -1, "AUTOMATIC_POOLS_UPDATE": true, "AUDIT": true,