From 2545ab790ca772a3a58dd9ccddc921a639b109b0 Mon Sep 17 00:00:00 2001 From: wiz Date: Thu, 14 Aug 2025 15:09:58 +0200 Subject: [PATCH] ops: Remove bisq stuff from production folder --- production/README.md | 17 +-------- production/mempool-build-all | 2 - production/mempool-config.bisq.json | 38 ------------------- production/mempool-frontend-config.bitb.json | 3 -- .../mempool-frontend-config.liquid.json | 3 -- .../mempool-frontend-config.mainnet.json | 1 - production/mempool-frontend-config.meta.json | 3 -- production/mempool-frontend-config.onbtc.json | 3 -- production/mempool-frontend-config.river.json | 3 -- .../mempool-frontend-config.strategy.json | 3 -- production/mempool-frontend-config.xxi.json | 3 -- production/newsyslog-mempool-nginx.conf | 2 - production/nginx/location-redirects.conf | 7 ---- 13 files changed, 1 insertion(+), 87 deletions(-) delete mode 100644 production/mempool-config.bisq.json diff --git a/production/README.md b/production/README.md index bf281fb1b..997020841 100644 --- a/production/README.md +++ b/production/README.md @@ -1,6 +1,6 @@ # Deploying an Enterprise Production Instance -These instructions are for setting up a serious production Mempool website for Bitcoin (mainnet, testnet, signet), Liquid (mainnet, testnet), and Bisq. +These instructions are for setting up a serious production Mempool website for Bitcoin (mainnet, testnet, signet), Liquid (mainnet, testnet). Again, this setup is no joke—home users should use [one of the other installation methods](../#installation-methods). Support is only provided to project sponsors through [Mempool EnterpriseĀ®](https://mempool.space/enterprise). @@ -38,7 +38,6 @@ nvm 3.62T 1.25T 2.38T - - 2% 34% 1.00x ONLINE For maximum flexibility of configuration, I recommend separate partitions for each data folder: ``` Filesystem Size Used Avail Capacity Mounted on -nvm/bisq 766G 1.1G 765G 0% /bisq nvm/bitcoin 766G 648M 765G 0% /bitcoin nvm/bitcoin/blocks 1.1T 375G 765G 33% /bitcoin/blocks nvm/bitcoin/chainstate 770G 4.5G 765G 1% /bitcoin/chainstate @@ -72,7 +71,6 @@ nvm/elements/liquidv1 777G 11G 765G 1% /elements/li nvm/mempool 789G 24G 765G 3% /mempool nvm/mysql 766G 648M 765G 0% /mysql tmpfs 1.0G 1.3M 1.0G 0% /var/cache/nginx -tmpfs 3.0G 1.9G 1.1G 63% /bisq/statsnode-data/btc_mainnet/db/json ``` ### Build Dependencies @@ -124,10 +122,6 @@ HiddenServiceDir /var/db/tor/mempool HiddenServicePort 80 127.0.0.1:81 HiddenServiceVersion 3 -HiddenServiceDir /var/db/tor/bisq -HiddenServicePort 80 127.0.0.1:82 -HiddenServiceVersion 3 - HiddenServiceDir /var/db/tor/liquid HiddenServicePort 80 127.0.0.1:83 HiddenServiceVersion 3 @@ -262,15 +256,6 @@ grant all on mempool_liquidtestnet.* to 'mempool_liquidtestnet'@'localhost' iden ``` -### Bisq - -Build bisq-statsnode normally and run using options like this: -``` -./bisq-statsnode --dumpBlockchainData=true --dumpStatistics=true -``` - -If Bisq is happy, it should dump JSON files for Bisq Markets and BSQ data into `/bisq` for the Mempool backend to use. - ### Mempool After all 3 electrs instances are fully indexed, install your 3 Mempool nodes: diff --git a/production/mempool-build-all b/production/mempool-build-all index 3c566d4ef..35bff9a81 100755 --- a/production/mempool-build-all +++ b/production/mempool-build-all @@ -110,8 +110,6 @@ build_backend() -e "s!__MEMPOOL_LIQUID_PASS__!${MEMPOOL_LIQUID_PASS}!" \ -e "s!__MEMPOOL_LIQUIDTESTNET_USER__!${MEMPOOL_LIQUIDTESTNET_USER}!" \ -e "s!__MEMPOOL_LIQUIDTESTNET_PASS__!${MEMPOOL_LIQUIDTESTNET_PASS}!" \ - -e "s!__MEMPOOL_BISQ_USER__!${MEMPOOL_BISQ_USER}!" \ - -e "s!__MEMPOOL_BISQ_PASS__!${MEMPOOL_BISQ_PASS}!" \ "mempool-config.json" fi npm install --omit=dev --omit=optional || exit 1 diff --git a/production/mempool-config.bisq.json b/production/mempool-config.bisq.json deleted file mode 100644 index 4913cb986..000000000 --- a/production/mempool-config.bisq.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "MEMPOOL": { - "OFFICIAL": true, - "NETWORK": "bisq", - "BACKEND": "esplora", - "HTTP_PORT": 8996, - "MINED_BLOCKS_CACHE": 144, - "API_URL_PREFIX": "/api/v1/", - "POLL_RATE_MS": 2000 - }, - "SYSLOG" : { - "MIN_PRIORITY": "debug" - }, - "CORE_RPC": { - "USERNAME": "__BITCOIN_RPC_USER__", - "PASSWORD": "__BITCOIN_RPC_PASS__" - }, - "ESPLORA": { - "REST_API_URL": "http://127.0.0.1:5000", - "UNIX_SOCKET_PATH": "/bitcoin/socket/esplora-bitcoin-mainnet" - }, - "DATABASE": { - "ENABLED": false, - "HOST": "127.0.0.1", - "SOCKET": "/var/run/mysql/mysql.sock", - "USERNAME": "__MEMPOOL_BISQ_USER__", - "PASSWORD": "__MEMPOOL_BISQ_PASS__", - "DATABASE": "mempool_bisq" - }, - "STATISTICS": { - "ENABLED": true, - "TX_PER_SECOND_SAMPLE_PERIOD": 150 - }, - "BISQ": { - "ENABLED": true, - "DATA_PATH": "/bisq/statsnode-data/btc_mainnet/db" - } -} diff --git a/production/mempool-frontend-config.bitb.json b/production/mempool-frontend-config.bitb.json index 5e79db71d..7a9d0312a 100644 --- a/production/mempool-frontend-config.bitb.json +++ b/production/mempool-frontend-config.bitb.json @@ -4,12 +4,9 @@ "TESTNET4_ENABLED": true, "LIQUID_ENABLED": true, "LIQUID_TESTNET_ENABLED": true, - "BISQ_ENABLED": true, - "BISQ_SEPARATE_BACKEND": true, "SIGNET_ENABLED": true, "MEMPOOL_WEBSITE_URL": "https://mempool.space", "LIQUID_WEBSITE_URL": "https://liquid.network", - "BISQ_WEBSITE_URL": "https://bisq.markets", "ITEMS_PER_PAGE": 25, "LIGHTNING": true, "ACCELERATOR": true, diff --git a/production/mempool-frontend-config.liquid.json b/production/mempool-frontend-config.liquid.json index 09bde34a6..c807a76b1 100644 --- a/production/mempool-frontend-config.liquid.json +++ b/production/mempool-frontend-config.liquid.json @@ -5,12 +5,9 @@ "TESTNET4_ENABLED": true, "LIQUID_ENABLED": true, "LIQUID_TESTNET_ENABLED": true, - "BISQ_ENABLED": true, - "BISQ_SEPARATE_BACKEND": true, "SIGNET_ENABLED": true, "MEMPOOL_WEBSITE_URL": "https://mempool.space", "LIQUID_WEBSITE_URL": "https://liquid.network", - "BISQ_WEBSITE_URL": "https://bisq.markets", "ITEMS_PER_PAGE": 25, "MEMPOOL_BLOCKS_AMOUNT": 2, "KEEP_BLOCKS_AMOUNT": 16 diff --git a/production/mempool-frontend-config.mainnet.json b/production/mempool-frontend-config.mainnet.json index e0cdbf030..7950ada86 100644 --- a/production/mempool-frontend-config.mainnet.json +++ b/production/mempool-frontend-config.mainnet.json @@ -8,7 +8,6 @@ "SIGNET_ENABLED": true, "MEMPOOL_WEBSITE_URL": "https://mempool.space", "LIQUID_WEBSITE_URL": "https://liquid.network", - "BISQ_WEBSITE_URL": "https://bisq.markets", "MAINNET_BLOCK_AUDIT_START_HEIGHT": 773911, "TESTNET_BLOCK_AUDIT_START_HEIGHT": 2417829, "SIGNET_BLOCK_AUDIT_START_HEIGHT": 127609, diff --git a/production/mempool-frontend-config.meta.json b/production/mempool-frontend-config.meta.json index dad27de53..67bd73745 100644 --- a/production/mempool-frontend-config.meta.json +++ b/production/mempool-frontend-config.meta.json @@ -4,12 +4,9 @@ "TESTNET4_ENABLED": true, "LIQUID_ENABLED": true, "LIQUID_TESTNET_ENABLED": true, - "BISQ_ENABLED": true, - "BISQ_SEPARATE_BACKEND": true, "SIGNET_ENABLED": true, "MEMPOOL_WEBSITE_URL": "https://mempool.space", "LIQUID_WEBSITE_URL": "https://liquid.network", - "BISQ_WEBSITE_URL": "https://bisq.markets", "ITEMS_PER_PAGE": 25, "LIGHTNING": true, "ACCELERATOR": true, diff --git a/production/mempool-frontend-config.onbtc.json b/production/mempool-frontend-config.onbtc.json index f1df1dff5..102828ad4 100644 --- a/production/mempool-frontend-config.onbtc.json +++ b/production/mempool-frontend-config.onbtc.json @@ -4,12 +4,9 @@ "TESTNET4_ENABLED": true, "LIQUID_ENABLED": true, "LIQUID_TESTNET_ENABLED": true, - "BISQ_ENABLED": true, - "BISQ_SEPARATE_BACKEND": true, "SIGNET_ENABLED": true, "MEMPOOL_WEBSITE_URL": "https://mempool.space", "LIQUID_WEBSITE_URL": "https://liquid.network", - "BISQ_WEBSITE_URL": "https://bisq.markets", "ITEMS_PER_PAGE": 25, "LIGHTNING": true, "ACCELERATOR": true, diff --git a/production/mempool-frontend-config.river.json b/production/mempool-frontend-config.river.json index e6758f392..c90cc3e31 100644 --- a/production/mempool-frontend-config.river.json +++ b/production/mempool-frontend-config.river.json @@ -4,12 +4,9 @@ "TESTNET4_ENABLED": true, "LIQUID_ENABLED": true, "LIQUID_TESTNET_ENABLED": true, - "BISQ_ENABLED": true, - "BISQ_SEPARATE_BACKEND": true, "SIGNET_ENABLED": true, "MEMPOOL_WEBSITE_URL": "https://mempool.space", "LIQUID_WEBSITE_URL": "https://liquid.network", - "BISQ_WEBSITE_URL": "https://bisq.markets", "ITEMS_PER_PAGE": 25, "LIGHTNING": true, "ACCELERATOR": true, diff --git a/production/mempool-frontend-config.strategy.json b/production/mempool-frontend-config.strategy.json index 7ca10da80..f15e3752a 100644 --- a/production/mempool-frontend-config.strategy.json +++ b/production/mempool-frontend-config.strategy.json @@ -4,12 +4,9 @@ "TESTNET4_ENABLED": true, "LIQUID_ENABLED": true, "LIQUID_TESTNET_ENABLED": true, - "BISQ_ENABLED": true, - "BISQ_SEPARATE_BACKEND": true, "SIGNET_ENABLED": true, "MEMPOOL_WEBSITE_URL": "https://mempool.space", "LIQUID_WEBSITE_URL": "https://liquid.network", - "BISQ_WEBSITE_URL": "https://bisq.markets", "ITEMS_PER_PAGE": 25, "LIGHTNING": true, "ACCELERATOR": true, diff --git a/production/mempool-frontend-config.xxi.json b/production/mempool-frontend-config.xxi.json index 2aa4645a1..29f1a60d2 100644 --- a/production/mempool-frontend-config.xxi.json +++ b/production/mempool-frontend-config.xxi.json @@ -4,12 +4,9 @@ "TESTNET4_ENABLED": true, "LIQUID_ENABLED": true, "LIQUID_TESTNET_ENABLED": true, - "BISQ_ENABLED": true, - "BISQ_SEPARATE_BACKEND": true, "SIGNET_ENABLED": true, "MEMPOOL_WEBSITE_URL": "https://mempool.space", "LIQUID_WEBSITE_URL": "https://liquid.network", - "BISQ_WEBSITE_URL": "https://bisq.markets", "ITEMS_PER_PAGE": 25, "LIGHTNING": true, "ACCELERATOR": true, diff --git a/production/newsyslog-mempool-nginx.conf b/production/newsyslog-mempool-nginx.conf index 876613e1c..0d4d468c4 100644 --- a/production/newsyslog-mempool-nginx.conf +++ b/production/newsyslog-mempool-nginx.conf @@ -1,7 +1,5 @@ /var/log/nginx/access.log www:www 644 10 * @T00 C /var/run/mempool.pid 30 /var/log/nginx/error.log www:www 644 10 * @T00 C /var/run/mempool.pid 30 -/var/log/nginx/bisq-access.log www:www 644 10 * @T00 C /var/run/mempool.pid 30 -/var/log/nginx/bisq-error.log www:www 644 10 * @T00 C /var/run/mempool.pid 30 /var/log/nginx/liquid-access.log www:www 644 10 * @T00 C /var/run/mempool.pid 30 /var/log/nginx/liquid-error.log www:www 644 10 * @T00 C /var/run/mempool.pid 30 /var/log/nginx/mempool-access.log www:www 644 10 * @T00 C /var/run/mempool.pid 30 diff --git a/production/nginx/location-redirects.conf b/production/nginx/location-redirects.conf index d330b9deb..d7ac56394 100644 --- a/production/nginx/location-redirects.conf +++ b/production/nginx/location-redirects.conf @@ -13,13 +13,6 @@ location = /liquidtestnet { return 308; } -# redirect mempool.space/bisq to bisq.markets -location = /bisq { - rewrite /bisq/(.*) https://bisq.markets/$1; - rewrite /bisq https://bisq.markets/; - return 308; -} - # redirect /api to /docs/api location = /api { return 308 https://$host/docs/api;