Capitalisation boursière: $3.0988T -2.890%
Volume(24h): $85.3515B 25.810%
  • Capitalisation boursière: $3.0988T -2.890%
  • Volume(24h): $85.3515B 25.810%
  • Indice de peur et de cupidité:
  • Capitalisation boursière: $3.0988T -2.890%
Cryptos
Les sujets
Cryptospedia
Nouvelles
CryptosTopics
Vidéos
Top News
Cryptos
Les sujets
Cryptospedia
Nouvelles
CryptosTopics
Vidéos
bitcoin
bitcoin

$95948.582879 USD

-0.40%

ethereum
ethereum

$2733.981661 USD

-2.16%

xrp
xrp

$2.499032 USD

-2.66%

tether
tether

$1.000127 USD

0.01%

bnb
bnb

$644.381094 USD

-3.18%

solana
solana

$161.557113 USD

-5.85%

usd-coin
usd-coin

$0.999977 USD

0.00%

dogecoin
dogecoin

$0.233287 USD

-4.70%

cardano
cardano

$0.747213 USD

-3.58%

tron
tron

$0.245310 USD

1.12%

chainlink
chainlink

$16.936759 USD

-5.38%

sui
sui

$3.363904 USD

-0.65%

avalanche
avalanche

$24.153930 USD

-5.68%

stellar
stellar

$0.322611 USD

-3.09%

litecoin
litecoin

$125.230744 USD

-1.45%

Articles d’actualité sur les crypto-monnaies

Il n'y a aucune indication que la signature appartient au propriétaire.

Jul 21, 2024 at 03:05 pm

Il n'y a aucune indication que la signature appartient au propriétaire.

      There is no indication that the signature belongs to the owner.

Rien n’indique que la signature appartient au propriétaire.

 

 

 

 

Primary key fingerprint: 15E6 6D94 1F69 7E28 F493 81F4 2641 6DC3 F306 74B0

Empreinte digitale de clé primaire : 15E6 6D94 1F69 7E28 F493 81F4 2641 6DC3 F306 74B0

“`

"`

If the checksum is verified, extract the files and move them into (/usr/local/bin) directory.

Si la somme de contrôle est vérifiée, extrayez les fichiers et déplacez-les dans le répertoire (/usr/local/bin).

Then clean up the working directory.

Nettoyez ensuite le répertoire de travail.

“`

"`

> tar xvf lighthouse-v5.2.1-x86_64-unknown-linux-gnu.tar.gz

> tar xvf phare-v5.2.1-x86_64-unknown-linux-gnu.tar.gz

> sudo cp lighthouse /usr/local/bin

> sudo cp phare /usr/local/bin

> rm -r lighthouse lighthouse-v5.2.1-x86_64-unknown-linux-gnu.tar.gz.asc lighthouse-v5.2.1-x86_64-unknown-linux-gnu.tar.gz

> rm -r phare phare-v5.2.1-x86_64-inconnu-linux-gnu.tar.gz.asc phare-v5.2.1-x86_64-inconnu-linux-gnu.tar.gz

“`

"`

Create an account called `lighthouse` without server access for lighthouse(the consensus layer software) to run as a background service. This type of user account will not have root access so it restricts potential attackers to only the lighthouse service in the unlikely event that attackers manage to infiltrate via a compromised client update.

Créez un compte appelé « lighthouse » sans accès au serveur pour que lighthouse (le logiciel de couche de consensus) s'exécute en tant que service d'arrière-plan. Ce type de compte utilisateur n'aura pas d'accès root, il limitera donc les attaquants potentiels au seul service Lighthouse dans le cas peu probable où des attaquants parviendraient à s'infiltrer via une mise à jour client compromise.

> sudo useradd –no-create-home –shell /bin/false lighthouse

> sudo useradd –no-create-home –shell /bin/false phare

 

 

 

 

Create a directory for lighthouse (the consensus layer software) to store the blockchain data of the consensus layer. Then set the owner of this directory to lighthouse (the user account) so that this user can read and write to the directory.

Créez un répertoire pour Lighthouse (le logiciel de couche de consensus) pour stocker les données blockchain de la couche de consensus. Définissez ensuite le propriétaire de ce répertoire sur lighthouse (le compte utilisateur) afin que cet utilisateur puisse lire et écrire dans le répertoire.

> sudo mkdir -p /var/lib/lighthouse

> sudo mkdir -p /var/lib/lighthouse

> sudo chown -R lighthouse:lighthouse /var/lib/lighthouse

> sudo chown -R phare:phare /var/lib/phare

 

 

 

 

Create a systemd configuration file for the lighthouse service to run in the background.

Créez un fichier de configuration systemd pour que le service Lighthouse s'exécute en arrière-plan.

 

 

 

 

> sudo vi /etc/systemd/system/lighthouse.service

> sudo vi /etc/systemd/system/lighthouse.service

 

 

 

 

Paste the configuration parameters below into the file:

Collez les paramètres de configuration ci-dessous dans le fichier :

 

 

 

 

“`

"`

[Unit]

[Unité]

Description=Lighthouse Consensus Client (Holesky)

Description=Client Consensus Lighthouse (Holesky)

After=network.target

Après = réseau.cible

Wants=network.target

Veut = réseau.cible

 

 

 

 

[Service]

[Service]

User=lighthouse

Utilisateur=phare

Group=lighthouse

Groupe=phare

Type=simple

Tapez=simple

Restart=always

Redémarrer = toujours

RestartSec=5

RedémarrerSec=5

ExecStart=/usr/local/bin/lighthouse \

ExecStart=/usr/local/bin/lighthouse \

  –chain holesky \

–chaîne trouée \

  –datadir=/var/lib/lighthouse \

–datadir=/var/lib/phare \

  –log.file.directory=/var/lib/lighthouse/logs \

–log.file.directory=/var/lib/lighthouse/logs \

  –authrpc.jwtsecret=/var/lib/jwtsecret/jwt.hex \

–authrpc.jwtsecret=/var/lib/jwtsecret/jwt.hex \

  –full \

-complet \

  –port 30303 \

–port 30303 \

  –http \

–http\

  –http.api eth,web3,net,txpool,debug,trace \

–http.api eth,web3,net,txpool,debug,trace \

  –http.addr \

–http.addr \

  –http.port 8547 \

–http.port 8547 \

  –ws \

–ws\

  –ws.addr \

–ws.addr \

  –ws.port 8548 \

–ws.port 8548 \

  –metrics 127.0.0.1:6060

–métriques 127.0.0.1:6060

  

  

[Install]

[Installer]

WantedBy=default.target

WantedBy = par défaut.target

“`

"`

Once you’re done, save with ESC → ENTER → :wq → ENTER

Une fois que vous avez terminé, enregistrez avec ESC → ENTER → :wq → ENTER

Understand and review your configuration summary and amend if needed.

Comprenez et examinez le résumé de votre configuration et modifiez-le si nécessaire.

lighthouse configuration summary:

Résumé de la configuration du phare :

 

 

 

 

Start lighthouse

Démarrer le phare

Reload the systemd daemon to register the changes made, start lighthouse and check its status to make sure its running.

Rechargez le démon systemd pour enregistrer les modifications apportées, démarrez Lighthouse et vérifiez son état pour vous assurer qu'il fonctionne.

> sudo systemctl daemon-reload

> sudo systemctl démon-reload

> sudo systemctl start lighthouse.service

> sudo systemctl start lighthouse.service

> sudo systemctl status lighthouse.service

> sudo systemctl statut phare.service

Expected output: The output should say lighthouse is “active (running)”. Press CTRL+C to exit and lighthouse will continue to run. It should take around 6 hours for lighthouse to sync on the Holesky testnet.

Résultat attendu : le résultat doit indiquer que le phare est « actif (en marche) ». Appuyez sur CTRL+C pour quitter et le phare continuera à fonctionner. La synchronisation du phare sur le testnet Holesky devrait prendre environ 6 heures.

 

 

 

 

Use the following command to check the logs of lighthouse’s syncing process. Watch out for any warnings or errors.

Utilisez la commande suivante pour vérifier les journaux du processus de synchronisation de Lighthouse. Méfiez-vous des avertissements ou des erreurs.

> sudo apt install ccze -y

> sudo apt install ccze -y

> sudo journalctl -fu lighthouse -o cat | ccze -A

> sudo journalctl -fu phare -o chat | ccze -A

 

 

 

 

Expected output

Production attendue

Press CTRL+C to exit.

Appuyez sur CTRL+C pour quitter.

See here(https://lighthouse-book.sigmaprime.io/advanced-topics/logs.html) for more details on how to interpret and understand lighthouse journalctl logs

Voir ici (https://lighthouse-book.sigmaprime.io/advanced-topics/logs.html) pour plus de détails sur la façon d'interpréter et de comprendre les journaux journalctl du phare

 

 

 

 

If the lighthouse service is running smoothly, we can now enable it to fire up automatically when rebooting our node.

Si le service Lighthouse fonctionne correctement, nous pouvons désormais lui permettre de se lancer automatiquement lors du redémarrage de notre nœud.

> sudo systemctl enable lighthouse.service

> sudo systemctl activer lighthouse.service

 

 

 

 

Expected output:

Production attendue:

> Created symlink /etc/systemd/system/default.target.wants/lighthouse.service → /etc/systemd/system/lighthouse.service.

> Création du lien symbolique /etc/systemd/system/default.target.wants/lighthouse.service → /etc/systemd/system/lighthouse.service.

 

 

 

 

Clause de non-responsabilité:info@kdj.com

Les informations fournies ne constituent pas des conseils commerciaux. kdj.com n’assume aucune responsabilité pour les investissements effectués sur la base des informations fournies dans cet article. Les crypto-monnaies sont très volatiles et il est fortement recommandé d’investir avec prudence après une recherche approfondie!

Si vous pensez que le contenu utilisé sur ce site Web porte atteinte à vos droits d’auteur, veuillez nous contacter immédiatement (info@kdj.com) et nous le supprimerons dans les plus brefs délais.

Autres articles publiés sur Feb 24, 2025