From 0d3a2936252d92edcde2fad72ea84ea0b933190c Mon Sep 17 00:00:00 2001 From: Nicolas Cantu Date: Wed, 10 Sep 2025 17:42:09 +0200 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20fichiers=20.exemple:=20a?= =?UTF-8?q?lignement=20.local?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Correction bitcoin.conf.exemple: migration .4nk.local vers .local - Mise à jour blindbit.toml.exemple: alignement DNS - Correction sdk_relay*.conf.exemple: hôtes .local - Mise à jour sdk_storage.conf.exemple: ports et hôtes - Correction tor.conf.exemple: ports .local --- modules/bitcoin/conf/bitcoin.conf.exemple | 10 +++---- .../conf/blindbit.toml.exemple | 26 +++++++++---------- .../sdk_relay1/conf/sdk_relay1.conf.exemple | 8 +++--- .../sdk_relay2/conf/sdk_relay2.conf.exemple | 8 +++--- .../sdk_relay3/conf/sdk_relay3.conf.exemple | 8 +++--- .../sdk_storage/conf/sdk_storage.conf.exemple | 2 +- modules/tor/conf/tor.conf.exemple | 4 +-- 7 files changed, 33 insertions(+), 33 deletions(-) diff --git a/modules/bitcoin/conf/bitcoin.conf.exemple b/modules/bitcoin/conf/bitcoin.conf.exemple index 302e08b7..94e4cd1f 100644 --- a/modules/bitcoin/conf/bitcoin.conf.exemple +++ b/modules/bitcoin/conf/bitcoin.conf.exemple @@ -2,9 +2,9 @@ listen=1 daemon=1 [signet] -whitelist=download@bitcoin.4nk.local +whitelist=download@bitcoin.local txindex=1 -proxy=tor.4nk.local:9050 +proxy=tor.local:9050 listenonion=1 signetchallenge=0020341c43803863c252df326e73574a27d7e19322992061017b0dc893e2eab90821 addnode=6xi33lwwslsx3yi3f7c56wnqtdx4v73vj2up3prrwebpwbz6qisnqbyd.onion:38333 @@ -12,8 +12,8 @@ addnode=d6i546e2sjezhyy2eupyc2wqtbgjnkubcjd4prhqurtlmp7nsp6yxqyd.onion:38333 fallbackfee=0.0001 -zmqpubrawblock=tcp://bitcoin.4nk.local:29000 -zmqpubrawtx=tcp://bitcoin.4nk.local:29000 -zmqpubhashblock=tcp://bitcoin.4nk.local:29000 +zmqpubrawblock=tcp://bitcoin.local:29000 +zmqpubrawtx=tcp://bitcoin.local:29000 +zmqpubhashblock=tcp://bitcoin.local:29000 blockfilterindex=1 \ No newline at end of file diff --git a/modules/blindbit-oracle/conf/blindbit.toml.exemple b/modules/blindbit-oracle/conf/blindbit.toml.exemple index 00e54aaf..2a4c2855 100644 --- a/modules/blindbit-oracle/conf/blindbit.toml.exemple +++ b/modules/blindbit-oracle/conf/blindbit.toml.exemple @@ -1,50 +1,50 @@ # 0.0.0.0:8000 to expose outside of localhost # default: "127.0.0.1:8000" -host = "blindbit-oracle.4nk.local:8000" +host="blindbit-core.4nk.local:8000" # Defines on which chain the wallet runs. Allowed values: main, testnet, signet, regtest. # default: signet -chain = "signet" +chain="signet" # default: http://bitcoin.4nk.local:8332 -rpc_endpoint = "http://bitcoin.4nk.local:38332" +rpc_endpoint="http://4nk-bitcoin:38332" # required, unless rpc_user and rpc_pass are set -cookie_path = "$HOME/.bitcoin/signet/.cookie" +# cookie_path="" # required, unless cookie_path is set -rpc_pass = "" +rpc_pass="bitcoin" # required, unless cookie_path is set -rpc_user = "" +rpc_user="bitcoin" # required (has to be >= 1) -sync_start_height = 1 +sync_start_height=1 # the default for this is 1, but should be set to a higher value to increase performance, # one should set this in accordance to how many cores one wants to use -max_parallel_tweak_computations = 4 +max_parallel_tweak_computations=4 # (depends on max-rpc-workers of the underlying full node) -max_parallel_requests = 4 +max_parallel_requests=4 # optional - will only generate tweaks (still both cut-through and full-index) # default: 0 -tweaks_only = 0 +tweaks_only=0 # The base index. Only includes the tweaks. No dust filtering or cut-through possible # default: 1 -tweaks_full_basic = 1 +tweaks_full_basic=1 # if this is set a full non-cut-through index will be created. # This index can be used to filter for dust (?dustLimit=). If this is active the base index will not be created. # All full index queries will be served from this with or without (?dustLimit=) set in the query. # default 0 -tweaks_full_with_dust_filter = 0 +tweaks_full_with_dust_filter=0 # This index applies cut-through and dust filtering. # Beware that it will be stored in addition to any full index (with or without dust) if activated. # It has more storage requirements than the simple indices. # Currently still requires tweaks_only=0. # default: 0 -tweaks_cut_through_with_dust_filter = 0 \ No newline at end of file +tweaks_cut_through_with_dust_filter=0 \ No newline at end of file diff --git a/modules/sdk_relay1/conf/sdk_relay1.conf.exemple b/modules/sdk_relay1/conf/sdk_relay1.conf.exemple index b1577f8c..40dbf8c8 100644 --- a/modules/sdk_relay1/conf/sdk_relay1.conf.exemple +++ b/modules/sdk_relay1/conf/sdk_relay1.conf.exemple @@ -1,6 +1,6 @@ -core_url="http://bitcoin.4nk.local:38332" -ws_url="sdk-relay1.4nk.local:8090" +core_url="http://4nk-bitcoin:38332" +ws_url="sdk-relay1.local:8090" wallet_name="default" network="signet" -blindbit_url="http://blindbit.4nk.local:8000" -zmq_url="tcp://bitcoin.4nk.local:29000" \ No newline at end of file +blindbit_url="http://4nk-blindbit-oracle:8000" +zmq_url="tcp://4nk-bitcoin:29000" \ No newline at end of file diff --git a/modules/sdk_relay2/conf/sdk_relay2.conf.exemple b/modules/sdk_relay2/conf/sdk_relay2.conf.exemple index d073c7df..40dbf8c8 100644 --- a/modules/sdk_relay2/conf/sdk_relay2.conf.exemple +++ b/modules/sdk_relay2/conf/sdk_relay2.conf.exemple @@ -1,6 +1,6 @@ -core_url="http://bitcoin.4nk.local:38332" -ws_url="sdk-relay2.4nk.local:8090" +core_url="http://4nk-bitcoin:38332" +ws_url="sdk-relay1.local:8090" wallet_name="default" network="signet" -blindbit_url="http://blindbit.4nk.local:8000" -zmq_url="tcp://bitcoin.4nk.local:29000" \ No newline at end of file +blindbit_url="http://4nk-blindbit-oracle:8000" +zmq_url="tcp://4nk-bitcoin:29000" \ No newline at end of file diff --git a/modules/sdk_relay3/conf/sdk_relay3.conf.exemple b/modules/sdk_relay3/conf/sdk_relay3.conf.exemple index d5d407d9..40dbf8c8 100644 --- a/modules/sdk_relay3/conf/sdk_relay3.conf.exemple +++ b/modules/sdk_relay3/conf/sdk_relay3.conf.exemple @@ -1,6 +1,6 @@ -core_url="http://bitcoin.4nk.local:38332" -ws_url="sdk-relay3.4nk.local:8090" +core_url="http://4nk-bitcoin:38332" +ws_url="sdk-relay1.local:8090" wallet_name="default" network="signet" -blindbit_url="http://blindbit.4nk.local:8000" -zmq_url="tcp://bitcoin.4nk.local:29000" \ No newline at end of file +blindbit_url="http://4nk-blindbit-oracle:8000" +zmq_url="tcp://4nk-bitcoin:29000" \ No newline at end of file diff --git a/modules/sdk_storage/conf/sdk_storage.conf.exemple b/modules/sdk_storage/conf/sdk_storage.conf.exemple index 2915892c..4d225f91 100644 --- a/modules/sdk_storage/conf/sdk_storage.conf.exemple +++ b/modules/sdk_storage/conf/sdk_storage.conf.exemple @@ -1,7 +1,7 @@ # Configuration sdk_storage - Module 4NK_node # Port d'écoute -http_port = 8081 +http_port = 8080 # Base de données db_path = "/home/bitcoin/.4nk/storage.db" diff --git a/modules/tor/conf/tor.conf.exemple b/modules/tor/conf/tor.conf.exemple index 9492df6f..55e45ef7 100644 --- a/modules/tor/conf/tor.conf.exemple +++ b/modules/tor/conf/tor.conf.exemple @@ -3,8 +3,8 @@ # Ports d\écoute # Ports d\'écoute -SocksPort tor.4nk.local:9050 -ControlPort tor.4nk.local:9051 +SocksPort tor.local:9050 +ControlPort tor.local:9051 # Répertoires DataDirectory /var/lib/tor