**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)
66 lines
1.9 KiB
Markdown
66 lines
1.9 KiB
Markdown
# Documentation Bitcoin Signet Custom
|
|
|
|
Ce dossier contient toute la documentation nécessaire pour la maintenance et l'utilisation du Bitcoin Signet custom.
|
|
|
|
## Fichiers de Documentation
|
|
|
|
- **[MAINTENANCE.md](./MAINTENANCE.md)** : Documentation complète de maintenance
|
|
- Architecture et structure
|
|
- Configuration et variables d'environnement
|
|
- Commandes de maintenance
|
|
- Gestion du conteneur
|
|
- Mining
|
|
- Accès RPC et API
|
|
- Mise à jour
|
|
- Dépannage
|
|
- Sauvegarde et restauration
|
|
|
|
- **[INSTALLATION_NEW_NODE.md](./INSTALLATION_NEW_NODE.md)** : Guide d'installation d'un nouveau nœud
|
|
- Installation initiale
|
|
- Configuration pour rejoindre une chaîne existante
|
|
- Configuration du mining
|
|
- Vérification et dépannage
|
|
- Partage d'informations avec d'autres nœuds
|
|
|
|
- **[INTERFACES.md](./INTERFACES.md)** : Documentation des interfaces disponibles
|
|
- API REST d'ancrage
|
|
- Interface RPC Bitcoin Core
|
|
- Interface ligne de commande (CLI)
|
|
- Interface ZMQ (ZeroMQ)
|
|
- Interface Docker
|
|
- Interface de configuration
|
|
- Interface de logs
|
|
|
|
## Démarrage Rapide
|
|
|
|
### Installation
|
|
|
|
```bash
|
|
cd /home/ncantu/Bureau/code/bitcoin
|
|
sudo docker build -t bitcoin-signet .
|
|
sudo docker run --env-file .env -d --name bitcoin-signet-instance \
|
|
-p 38332:38332 -p 38333:38333 -p 28332:28332 -p 28333:28333 -p 28334:28334 \
|
|
bitcoin-signet
|
|
```
|
|
|
|
### Vérification
|
|
|
|
```bash
|
|
sudo docker exec bitcoin-signet-instance bitcoin-cli -datadir=/root/.bitcoin getblockchaininfo
|
|
```
|
|
|
|
### Logs
|
|
|
|
```bash
|
|
sudo docker logs -f bitcoin-signet-instance
|
|
```
|
|
|
|
## Informations Importantes
|
|
|
|
- **Ports** : RPC (38332), P2P (38333), ZMQ (28332-28334)
|
|
- **Configuration** : Fichier `.env` à la racine du projet
|
|
- **Données** : Stockées dans `/root/.bitcoin/` dans le conteneur
|
|
- **Clés** : Générées automatiquement, stockées dans `.env` et `/root/.bitcoin/PRIVKEY.txt`
|
|
|
|
Pour plus de détails, consultez [MAINTENANCE.md](./MAINTENANCE.md).
|