Hot answers tagged

20 votes

What is an Enode ID in Ethereum?

An enode is a way to describe an Ethereum node in the form of a URI. The hexadecimal node ID is encoded in the username portion of the URL, separated from the host by an @ sign. The hostname can only ...
user avatar
14 votes
Accepted

What is an Enode ID in Ethereum?

Expanding on Hudson Jameson's answer: "The hexadecimal node ID is encoded in the username portion of the URL" The username portion is a 512-bit public key that is used to verify communication came ...
user avatar
  • 5,808
7 votes

How to install Parity on Ubuntu?

The Parity page has a one-line install command provided: bash <(curl https://get.parity.io -Lk) -r stable
user avatar
7 votes

How to use static-nodes.json / trusted-nodes.json to prevent connection loss on private network?

Data format [ "enode://f4642fa65af50cfdea8fa7414a5def7bb7991478b768e296f5e4a54e8b995de102e0ceae2e826f293c481b5325f89be6d207b003382e18a8ecba66fbaf6416c0@33.4.2.1:30303", "enode://pubkey@ip:...
user avatar
  • 9,253
5 votes
Accepted

geth not connecting to private network

What am I missing? Please let me know if there is other information I can supply. Thank you. Next time tag your question with parity, to make sure I wont miss it :p Cross-client private networks: ...
user avatar
  • 31.3k
5 votes
Accepted

How to get my enode URL to use/show external IP

There are a couple of issues here, that I hadn't outlined when I posted the question. The first is that you may have other nodes running in your LAN that you may or may not be aware of - the ...
user avatar
  • 1,145
4 votes
Accepted

Is it dangerous to publish the enode address?

You can already see the enodes (node ID, aka the public key, and IP address) of nodes your node is connected to, for example by typing "admin.peers" into the geth console. So worst case is your node ...
user avatar
3 votes

Where to place static-nodes.json for geth

Where do we place static-nodes.json? Additionally, where do we place trusted-nodes.json? If you specify --datadir=./ when running your node, the files: static-nodes.json and trusted-nodes.json should ...
user avatar
3 votes
Accepted

How do I update Parity's enode id?

Changing or removing the network key changes the enode address: ~/.local/share/io.parity.ethereum/network/key You could increment the value by one or generate a new one or remove it and parity will ...
user avatar
  • 31.3k
3 votes

Is it dangerous to publish the enode address?

Most likely your IP and Enode is already public via ethernodes.org.
user avatar
  • 565
2 votes

Sharing enodeURLs on a private blockchain

I'd consider using a distributed key-value store such as ETCD (https://coreos.com/etcd/docs/latest/getting-started-with-etcd.html). You could set up an ETCD alongside ethereum and share arbitrary data ...
user avatar
2 votes
Accepted

What's the point of having static nodes when IP addresses keep changing?

You should only write nodes with a static IP in <datadir>/static-nodes.json. Incidentally, the enode is a way for the client to ensure it does not loop back to itself.
user avatar
2 votes
Accepted

Is it possible to use domain names in place of IP addresses for peer nodes (static nodes) or bootnotes in the configuration for starting a geth node?

referring to the official doc, no it is not possible to use DNS domain names in enode URL: The hostname can only be given as an IP address, DNS domain names are not allowed https://github.com/...
user avatar
  • 571
2 votes
Accepted

Does --nodekey work with geth or just bootnode?

Yes geth --nodkey=key.txt will (re)generate the same enode url repeatedly as the cli options would suggest. It wasn't working for me due to the unfortunate combination of a typo in my sh script and a ...
user avatar
2 votes

What is the username / node ID in an enode URL?

Found some more information: https://github.com/ethereum/devp2p/blob/38d70bb9fe9badaa48ef5262e9f78641b46d1ff4/rlpx.md nodeId is the secp256k1 public key corresponding to the node's private key. ...
user avatar
2 votes
Accepted

Can I hardcode an enode hex-section in a local network?

TL;DR: no. The hex part of the enode address is the public key of the node. It's the one generated from the node's private key. Having the same public key would mean having the same private key on ...
user avatar
2 votes
Accepted

How to retrieve IP address and Port from Ethereum Node Records (ENR)?

There is also a rust enr-cli library to assist with decoding ENR strings. You can install it via cargo install enr-cli --version 0.1.0-alpha An example of its use is: $ enr-cli -e -...
user avatar
  • 36
1 vote
Accepted

What does IP address 127.0.0.1 mean in enode URI?

This means the node was incorrectly configured by its owner and advertised the localhost instead of the IP visible from anyone on the internet. It may come from a setup where the user ran multiple ...
user avatar
1 vote

How to retrieve IP address and Port from Ethereum Node Records (ENR)?

You can use the enr library (written in rust). use enr::Enr; fn main() { let enr_string = "-Iu4QGuiaVXBEoi4kcLbsoPYX7GTK9ExOODTuqYBp9CyHN_PSDtnLMCIL91ydxUDRPZ-jem-...
user avatar
  • 419
1 vote
Accepted

What are the list of nodes at the bottom of kovan.json?

As per spec.rs, the nodes key contains hard-coded boot node values: /// Spec deserialization. #[derive(Debug, PartialEq, Deserialize)] #[serde(deny_unknown_fields)] #[serde(rename_all = "camelCase")] ...
user avatar
1 vote
Accepted

Does each node dynamically connects to its connected nodes' peers?

According to my understanding, when a new node is added in the blockchain network a mesh network is formed among the nodes. This is the core conceptual idea of decentralization. If some node is down ...
user avatar
  • 2,381
1 vote

Is there a way to get enode:// addresses of etherscan and infura nodes?

Etherscan and infura do not publish an enode list, and you can only connect to them by chance.
user avatar
  • 3,790
1 vote

When launching a GETH node to Ropsten do I have to define the --bootnodes flag?

You shouldn't need to manually specify these - they're hard-coded as part of the Geth binary. As long as you're using --testnet, which defaults to Ropsten, it should just work. Also, It looks like ...
user avatar
1 vote

How to configure extraData field in genesis file

Please read this article: https://github.com/ethereum/EIPs/issues/650, it should address all of the questions you pose.
user avatar
  • 1,607
1 vote

Set up Custom nodes in Quorum

Recently, I made a quorum network(ibft) using ansible as a tool to raise the validators and regulars nodes. I have also created dockerfiles.i gu If you want you can review the documentation at https://...
user avatar
1 vote

How to install Parity on Ubuntu?

parity is available using snap sudo snap install parity
user avatar
  • 17.4k
1 vote
Accepted

How to add an enode with Ubuntu and Parity UI?

In Parity UI, in the Node health Dapp (Home>Node health) you can click on the cogwheel and add any enode to your peers. In the command line, you could use the flag --reserved-peers --reserved-peers=[...
user avatar
  • 121
1 vote

Different comportement when bootnodes are set in command line and in static-nodes.json

At least one difference between the two is that the --bootnodes argument sets explicitly the boot node addresses, whereas the static-nodes.json file sets the addresses of static full nodes (peers).
user avatar
  • 131
1 vote

Is it possible to use domain names in place of IP addresses for peer nodes (static nodes) or bootnotes in the configuration for starting a geth node?

There is an update to this and DNS names are being accepted to add peeers from geth version of 1.9.3. https://github.com/ethereum/go-ethereum/releases/tag/v1.9.3
user avatar
1 vote
Accepted

Find out enode url

You can find the enodes for the current standard Quorum 7Nodes example in the permissioned-nodes.json file: [ "enode://...
user avatar
  • 8,612

Only top scored, non community-wiki answers of a minimum length are eligible