update submodule

This commit is contained in:
Nicolas Cantu 2025-09-22 05:27:34 +00:00
parent e11dc78fdc
commit f9574e0144
3 changed files with 2 additions and 47 deletions

View File

@ -1,10 +0,0 @@
# Dockerfile personnalisé pour BlindBit avec pgrep et wget
FROM git.4nkweb.com/4nk/blindbit-oracle:dev
# Installer pgrep, wget et autres outils utiles pour les healthchecks
USER root
RUN apt-get update && apt-get install -y procps wget curl && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# Revenir à l'utilisateur par défaut
USER root

View File

@ -1,28 +0,0 @@
# Configuration pour blindbit-oracle
http_host = "0.0.0.0:8000"
# Définit la chaîne sur laquelle le wallet fonctionne
chain = "signet"
# Point d'accès RPC Bitcoin
rpc_endpoint = "http://bitcoin:38332"
# Chemin vers le fichier cookie RPC Bitcoin
cookie_path = "/home/bitcoin/.bitcoin/signet/.cookie"
# Identifiants RPC Bitcoin (non utilisés avec cookie_path)
rpc_user = ""
rpc_pass = ""
# Hauteur de départ pour la synchronisation
sync_start_height = 1
# Paramètres de performance
max_parallel_tweak_computations = 4
max_parallel_requests = 4
# Configuration des index
tweaks_only = 0
tweaks_full_basic = 1
tweaks_full_with_dust_filter = 1
tweaks_cut_through_with_dust_filter = 1

View File

@ -8,15 +8,8 @@ if pgrep main > /dev/null 2>/dev/null; then
echo 'BlindBit ready: Oracle service responding'
exit 0
else
# Récupérer les logs récents pour voir la progression
scan_logs=$(tail -20 /var/log/blindbit/blindbit.log 2>/dev/null | grep -E "(scanning|scan|blocks|tweaks|processing)" | tail -1 || echo "")
if [ -n "$scan_logs" ]; then
echo "BlindBit processing: $scan_logs"
exit 1
else
echo 'BlindBit starting: Oracle service initializing'
exit 1
fi
echo 'BlindBit starting: Oracle service initializing'
exit 1
fi
else
echo 'BlindBit starting: Process not ready'