my-cloud / ruthenium

Golang implementation of the Ruthenium protocol
The Unlicense
11 stars 1 forks source link

Unreachable poh contract might introduce unverified blocks #141

Open JeremyPansier opened 2 years ago

JeremyPansier commented 2 years ago

To Reproduce

  1. Run a node
  2. Proof of Humanity smart contract returns 503 Service Unavailable: internal server failure

Expected behavior

Actual behavior Validators not registered in the PoH registry are able to append a new block to the blockchain.

Tasks

JeremyPansier commented 1 year ago

see https://ethereum.org/en/developers/docs/nodes-and-clients/#light-node https://github.com/ethereum/devp2p/blob/master/caps/les.md

JeremyPansier commented 1 year ago

ChatGPT mention these steps to set up a local Ethereum node using Geth:

geth attach ./data/geth.ipc

This command connects to the running Geth instance over IPC and opens a JavaScript console. From the console, you can execute various Ethereum commands, such as sending transactions, deploying contracts, or querying the blockchain data.

That's it! You now have a fully functional Ethereum node running on your local machine, which you can use to interact with the Ethereum network or develop decentralized applications.