anchorage_layer_simple/ETAT_SYSTEME.md
ncantu 20d115a31c feat: Add APIs, dashboard, documentation and improve scripts
**Motivations:**
- Add API services for anchorage and faucet functionality
- Add dashboard interface for signet monitoring
- Improve documentation and maintenance guides
- Enhance existing scripts for better functionality

**Root causes:**
- Need for API services to interact with Bitcoin Signet
- Need for user-friendly dashboard interface
- Need for comprehensive documentation
- Scripts required improvements for better reliability

**Correctifs:**
- Updated Dockerfile with better configuration
- Improved gen-bitcoind-conf.sh and gen-signet-keys.sh scripts
- Enhanced mine.sh, miner, run.sh, and setup-signet.sh scripts
- Updated env.example with new configuration options

**Evolutions:**
- Added api-anchorage service with anchor functionality
- Added api-faucet service for testnet coin distribution
- Added signet-dashboard for monitoring and management
- Added comprehensive documentation in docs/ directory
- Added configure-nginx-proxy.sh for proxy configuration
- Added update-signet.sh for signet updates
- Added ETAT_SYSTEME.md and START_DASHBOARD_AND_FAUCET.md guides
- Added .bitcoin-version file for version tracking

**Pages affectées:**
- Dockerfile
- env.example
- gen-bitcoind-conf.sh
- gen-signet-keys.sh
- mine.sh
- miner
- run.sh
- setup-signet.sh
- api-anchorage/ (new)
- api-faucet/ (new)
- signet-dashboard/ (new)
- docs/ (new)
- configure-nginx-proxy.sh (new)
- update-signet.sh (new)
- ETAT_SYSTEME.md (new)
- START_DASHBOARD_AND_FAUCET.md (new)
- .bitcoin-version (new)
- .env (modified)
- mempool/ (added)
2026-01-24 02:40:25 +01:00

2.1 KiB

État du Système Bitcoin Signet

Date : 2026-01-23

État de la Chaîne

  • Chaîne : Signet
  • Hauteur : 0 (bloc genesis)
  • Hash du meilleur bloc : 00000008819873e925422c1ff0f99f7cc9bbb232af63a077a480a3633bee1ef6
  • Statut : UP - Chaîne opérationnelle

État du Miner

  • bitcoind : UP - Processus actif (PID visible)
  • mine.sh : UP - Script de mining actif
  • Statut : UP - Miner opérationnel

💰 Balance du Miner

  • Balance mature : 0.00000000 BTC
  • Balance immature : 0.00000000 BTC
  • Total : 0.00000000 BTC

Note : La balance est à 0 car aucun bloc n'a encore été miné depuis le bloc genesis. Le prochain bloc miné apportera la récompense de minage.

⚠️ API d'Ancrage

  • Port : 3010
  • Statut : DOWN - API non accessible
  • Action requise : Lancer l'API d'ancrage

⚠️ Dashboard et API Faucet

  • Node.js : NON INSTALLÉ sur cette machine
  • Dashboard (port 3020) : NON LANCÉ - Nécessite Node.js
  • API Faucet (port 3021) : NON LANCÉ - Nécessite Node.js

Actions Requises

Pour lancer le Dashboard et l'API Faucet

  1. Installer Node.js (version >= 18.0.0) :

    # Sur Ubuntu/Debian
    curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -
    sudo apt-get install -y nodejs
    
  2. Installer les dépendances :

    cd signet-dashboard && npm install
    cd ../api-faucet && npm install
    
  3. Configurer les fichiers .env :

    cd signet-dashboard && cp .env.example .env
    cd ../api-faucet && cp .env.example .env
    
  4. Lancer les services :

    # Dashboard
    cd signet-dashboard && npm start &
    
    # API Faucet
    cd api-faucet && npm start &
    

Pour lancer l'API d'Ancrage

Vérifier si l'API d'ancrage est configurée et la lancer si nécessaire.

Vérification

Une fois les services lancés, vérifier avec :

# Dashboard
curl http://localhost:3020/api/blockchain/info

# API Faucet
curl http://localhost:3021/health

# API Anchor
curl http://localhost:3010/health