**Motivations:** - Export Signet and mining wallet backups to git with only 2 versions kept - Document and add backup/restore scripts for signet and mining wallet **Correctifs:** - Backup-to-git uses SSH URL for passwordless cron; copy timestamped files only; prune to 2 versions; remove *-latest from backup repo **Evolutions:** - data/backup-to-git-cron.sh: daily export to git.4nkweb.com/4nk/backup - save-signet-datadir-backup.sh, restore-signet-from-backup.sh, export-mining-wallet.sh, import-mining-wallet.sh - features/backup-to-git-daily-cron.md, docs/MAINTENANCE.md backup section - .gitignore: data/backup-to-git.log **Pages affectées:** - .gitignore, data/backup-to-git-cron.sh, docs/MAINTENANCE.md, features/backup-to-git-daily-cron.md - save-signet-datadir-backup.sh, restore-signet-from-backup.sh, export-mining-wallet.sh, import-mining-wallet.sh - Plus autres fichiers modifiés ou non suivis déjà présents dans le working tree
214 lines
7.6 KiB
HTML
214 lines
7.6 KiB
HTML
<!DOCTYPE html>
|
||
<html lang="fr">
|
||
<head>
|
||
<meta charset="UTF-8">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
<title>Rejoindre le Réseau Signet Custom - Bitcoin Ancrage</title>
|
||
<link rel="stylesheet" href="styles.css">
|
||
<style>
|
||
.join-section {
|
||
margin-bottom: 40px;
|
||
}
|
||
|
||
.config-section {
|
||
background: var(--card-background);
|
||
padding: 30px;
|
||
border-radius: 10px;
|
||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
|
||
margin-bottom: 30px;
|
||
border: 1px solid var(--border-color);
|
||
}
|
||
|
||
.config-section h2 {
|
||
color: var(--primary-color);
|
||
margin-bottom: 20px;
|
||
font-size: 1.8em;
|
||
}
|
||
|
||
.config-code {
|
||
background: #1e1e1e;
|
||
color: #d4d4d4;
|
||
padding: 20px;
|
||
border-radius: 5px;
|
||
font-family: 'Courier New', monospace;
|
||
font-size: 0.9em;
|
||
line-height: 1.6;
|
||
overflow-x: auto;
|
||
white-space: pre;
|
||
margin: 20px 0;
|
||
}
|
||
|
||
.copy-button {
|
||
background: var(--primary-color);
|
||
color: white;
|
||
border: none;
|
||
padding: 10px 20px;
|
||
border-radius: 5px;
|
||
cursor: pointer;
|
||
font-size: 1em;
|
||
margin-top: 10px;
|
||
transition: background 0.3s;
|
||
}
|
||
|
||
.copy-button:hover {
|
||
background: #e0820d;
|
||
}
|
||
|
||
.copy-button:active {
|
||
transform: scale(0.98);
|
||
}
|
||
|
||
.wallet-section {
|
||
background: var(--card-background);
|
||
padding: 30px;
|
||
border-radius: 10px;
|
||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
|
||
margin-bottom: 30px;
|
||
border: 1px solid var(--border-color);
|
||
}
|
||
|
||
.wallet-section h2 {
|
||
color: var(--primary-color);
|
||
margin-bottom: 20px;
|
||
font-size: 1.8em;
|
||
}
|
||
|
||
.info-box {
|
||
background: rgba(13, 202, 240, 0.15);
|
||
border-left: 4px solid #0dcaf0;
|
||
padding: 15px;
|
||
margin: 20px 0;
|
||
border-radius: 5px;
|
||
color: var(--text-color);
|
||
}
|
||
|
||
.info-box p {
|
||
margin: 5px 0;
|
||
}
|
||
|
||
.back-link {
|
||
display: inline-block;
|
||
margin-bottom: 20px;
|
||
color: var(--primary-color);
|
||
text-decoration: none;
|
||
font-weight: bold;
|
||
}
|
||
|
||
.back-link:hover {
|
||
text-decoration: underline;
|
||
}
|
||
|
||
code {
|
||
background: var(--card-background);
|
||
color: var(--primary-color);
|
||
padding: 2px 6px;
|
||
border-radius: 3px;
|
||
font-family: 'Courier New', monospace;
|
||
font-size: 0.9em;
|
||
border: 1px solid var(--border-color);
|
||
}
|
||
</style>
|
||
</head>
|
||
<body>
|
||
<div class="container">
|
||
<a href="/" class="back-link">← Retour au Dashboard</a>
|
||
|
||
<header>
|
||
<h1>Rejoindre le Réseau Signet Custom</h1>
|
||
<p class="subtitle">Configuration et accès au réseau Bitcoin Signet personnalisé</p>
|
||
</header>
|
||
|
||
<main>
|
||
<!-- Section Configuration -->
|
||
<section class="join-section">
|
||
<div class="config-section">
|
||
<h2>📋 Configuration bitcoin.conf</h2>
|
||
<p>Copiez cette configuration dans votre fichier <code>bitcoin.conf</code> pour rejoindre le réseau Signet custom :</p>
|
||
|
||
<div class="config-code" id="bitcoin-config">signet=1
|
||
txindex=1
|
||
blockfilterindex=1
|
||
peerblockfilters=1
|
||
coinstatsindex=1
|
||
dnsseed=0
|
||
persistmempool=1
|
||
uacomment=CustomSignet
|
||
|
||
[signet]
|
||
daemon=1
|
||
listen=1
|
||
server=1
|
||
discover=1
|
||
signetchallenge=5121028b8d4cea1b3d8582babc8405bc618fbbb281c0f64e6561aa85968251931cd0a651ae
|
||
rpcbind=0.0.0.0:38332
|
||
rpcallowip=0.0.0.0/0
|
||
whitelist=0.0.0.0/0
|
||
fallbackfee=0.0002
|
||
addnode=anchorage.certificator.4nkweb.com:38333</div>
|
||
|
||
<button class="copy-button" onclick="copyConfig()">📋 Copier la configuration</button>
|
||
|
||
<div class="info-box">
|
||
<p><strong>Note importante :</strong></p>
|
||
<p>• Remplacez <code>rpcuser</code> et <code>rpcpassword</code> par vos propres identifiants RPC</p>
|
||
<p>• Le port P2P par défaut est <code>38333</code></p>
|
||
<p>• Le port RPC par défaut est <code>38332</code></p>
|
||
<p>• L'adresse <code>anchorage.certificator.4nkweb.com:38333</code> est le nœud principal du réseau</p>
|
||
</div>
|
||
</div>
|
||
</section>
|
||
|
||
<!-- Section Informations Supplémentaires -->
|
||
<section class="join-section">
|
||
<div class="wallet-section">
|
||
<h2>ℹ️ Informations Supplémentaires</h2>
|
||
|
||
<div class="info-box">
|
||
<p><strong>Qu'est-ce que le wallet de mining ?</strong></p>
|
||
<p>Le wallet de mining contient :</p>
|
||
<ul style="margin-left: 20px; margin-top: 10px;">
|
||
<li>La clé privée (PRIVKEY) nécessaire pour miner des blocs</li>
|
||
<li>Les paramètres de configuration pour le mining (NBITS, BLOCKPRODUCTIONDELAY)</li>
|
||
<li>Les instructions complètes pour configurer votre nœud en mode mining</li>
|
||
</ul>
|
||
</div>
|
||
|
||
<div class="info-box">
|
||
<p><strong>Besoin d'aide ?</strong></p>
|
||
<p>Pour toute question, consultez la documentation complète dans le dépôt GitHub ou contactez l'équipe.</p>
|
||
</div>
|
||
</div>
|
||
</section>
|
||
</main>
|
||
|
||
<footer>
|
||
<p>Bitcoin Ancrage Dashboard - Équipe 4NK</p>
|
||
<a href="https://git.4nkweb.com/4nk/anchorage_layer_simple.git" target="_blank" rel="noopener noreferrer" class="git-link" title="Voir le code source sur Git">
|
||
<svg class="git-icon" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="currentColor">
|
||
<path d="M23.546 10.93L13.067.452c-.604-.603-1.582-.603-2.188 0L8.708 2.627l2.76 2.76c.645-.215 1.379-.07 1.889.441.516.515.658 1.258.438 1.9l2.658 2.66c.645-.223 1.387-.083 1.9.435.721.72.721 1.884 0 2.604-.719.719-1.881.719-2.6 0-.539-.541-.674-1.337-.404-1.996L12.86 8.955v6.525c.176.086.342.203.488.348.713.721.713 1.883 0 2.6-.719.721-1.884.721-2.599 0-.72-.719-.72-1.879 0-2.598.182-.18.387-.316.605-.406V8.835c-.217-.091-.424-.222-.6-.401-.545-.545-.676-1.342-.396-2.011L7.636 3.7.45 10.881c-.6.605-.6 1.584 0 2.189l10.48 10.477c.604.604 1.582.604 2.186 0l10.43-10.43c.605-.603.605-1.582 0-2.187"/>
|
||
</svg>
|
||
</a>
|
||
</footer>
|
||
</div>
|
||
|
||
<script>
|
||
function copyConfig() {
|
||
const configText = document.getElementById('bitcoin-config')?.textContent || '';
|
||
navigator.clipboard.writeText(configText).then(() => {
|
||
const button = event?.target;
|
||
if (button) {
|
||
const originalText = button.textContent;
|
||
button.textContent = '✅ Copié !';
|
||
setTimeout(() => {
|
||
button.textContent = originalText;
|
||
}, 2000);
|
||
}
|
||
}).catch(err => {
|
||
console.error('Erreur lors de la copie:', err);
|
||
alert('Erreur lors de la copie. Veuillez sélectionner et copier manuellement.');
|
||
});
|
||
}
|
||
</script>
|
||
</body>
|
||
</html>
|