10 votes
Accepted

What is the bootnode command in the go-ethereum documentation?

I think it had previously been a part of the "Geth and Tools" release package, but it's gone missing... An issue was raised a couple of days ago: #3703 With regards to what it does, further up the ...
user avatar
6 votes
Accepted

How do nodes find peers without bootnodes?

yes there is some built-in bootstrap nodes you could check the code in github : Geth : https://github.com/ethereum/go-ethereum/blob/ff2c966e7f0550f4c0cb2b482d1af3064e6db0fe/params/bootnodes.go // ...
user avatar
  • 17.6k
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.4k
4 votes
Accepted

Node discovery: unreachable bootnode in private distributed network

Well, apparently the reason why the connection is being refused is that "'Connection refused' is ok for the Go bootnode. [as i]t does not accept TCP connections", as suggested by fjl in the go-...
user avatar
4 votes

What is the bootnode command in the go-ethereum documentation?

bootnode is back in main source of go-ethereum (as of today). If you build from source, it will be available under build and for make you used; make all A network is initialized to a genesis state. ...
user avatar
4 votes
Accepted

The Ropsten bootnodes of the Eth Foundation are down, can anybody share any other?

Opening geth attach and adding some peers manually solved the problem for me. List of peers- admin.addPeer("enode://...
user avatar
3 votes

creating a private boot node based on geth

It turns out something changed with the last versions of the bootnode tool, you need to run wit -v5 flag for ti to work like instructed in the tutorials. I still don't get why it is like that, but ...
user avatar
3 votes
Accepted

MetaMask and Access Ethereum Private Chain from other PC in the same network (for test)

You can do it with using both ways, having the two computers networked together. Using Metamask; select network as Custom RPC put the custom url as http://[ComputerA's ip address]:[rpc port] eg: ...
user avatar
3 votes

How many bootnodes are hardcoded into Ethereum clients?

Have a look in bootnodes.go. It's still 3 for the Geth clients: // ETH/DEV Go Bootnodes discover.MustParseNode("enode://...
user avatar
2 votes
Accepted

Adding nodes in private network of docker containers hosted in different VMs

Prepare your nodekey for each node in advance. It is just a 512-bit random number. Then store them somewhere, along with the public ECDSA keys derived from there. The public keys are the components ...
user avatar
  • 2,351
2 votes

Private Network Handshaking With External Pools

I am having a similar issue. I am not overriding the bootnode and therefore I am not using the --nodiscover flag. However, I have 2 nodes -sharing the same genesis file and network id, running on 2 ...
user avatar
2 votes
Accepted

getsockopt: connection refused when running a bootnode

Finally it worked. I still don't really know what did it but I will list here some of the changes that got it to work. When I figure out what exactly did it I will update my answer. Use the --v5disc ...
user avatar
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

How does a program determine if the peer node is a bootnode or full node?

The RLPx protocol suite consists of at least two protocols: The Kademlia like discovery protocol, that involves UDP packets that are simply signed by the nodes and not encrypted The RLPx/devp2p ...
user avatar
  • 1,754
2 votes
Accepted

How to get Nodes on local Geth Private Network to Discover Peers OF THEIR PEERS

Bootnodes is a cheap and effective solution to aid the network self-discovery, but they need to catch up with a proper genesis file to isolate your network. When you run geth, the genesis block is ...
user avatar
  • 181
2 votes
Accepted

Do bootnodes require trust?

Generally speaking, the answer is yes, there needs to be some sort of trust in the Ethereum network as a whole, i.e. there are more good people than bad. Yuval Marcus, Ethan Heilman and Sharon ...
user avatar
2 votes
Accepted

Ethereum local node bootnodes not working

I'm assuming the geth instances on your private testnet are run from the same machine? (As opposed to separate machines with their own VLAN) Adding --nodiscover flag prevents your nodes peering ...
user avatar
  • 86
2 votes
Accepted

bootstrap node vs cmd/bootnode

The section Setting Up Networking here describes how to run a bootstrap node. It looks like you just need to provide the flag --nat with the IP address of the computer/server running the code when ...
user avatar
  • 1,206
1 vote
Accepted

What is nodekey of bootnode command?

Bootnodes must be identified by an enode. Enodes are derived from private key. Full quote: Each ethereum node, including a bootnode is identified by an enode identifier. These identifiers are ...
user avatar
1 vote

Bootnode connection error

You need to enable UDP rule for port 30310 for ec2 instance running bootnode. Problem while setting private ethereum network on AWS using bootnode
user avatar
1 vote
Accepted

Implications of IP change on boot node?

What is the correct way to do this and what are the implications of this? You have to update the IP in the chain spec or in your bootnodes configuration. Otherwise, Parity won't know the route over ...
user avatar
  • 31.4k
1 vote

How can we access private blockchain from another network?

You need to use same genesis file for both private-networks and keep the networkId same. The from first node type: admin.nodeInfo { enode: "enode://...
user avatar
1 vote

Bootnode failure!

You may produce the enode from nodekey by using option of --writeaddress Refer to how to produce enode from node key?
user avatar
  • 11
1 vote

Can't create Bootnode

to get the enode address use the -writeaddress command bootnode -nodekeyhex 435601bfc51df236b310517ef2233c046cbede662ed5a3c0de5a37c785350d7f -writeaddress Insert your own bootkey (that was generated)...
user avatar
  • 118
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

Bootnode Discovery with external IPs instead of local ones

So here is how I solved my issue. I host my kubernetes cluster in google cloud, but the same concepts should apply to any provider. First I created the clusters within a predefined VPC with subnets. ...
user avatar
  • 111
1 vote

Bootnode command not found

Probably you have already got the answer but since this thread is answerless. So here is your answer. It was a bug in ethereum ci package (check here) and you can install bootnode with following ...
user avatar
  • 175
1 vote

bootnodes on Parity

To run a bootnode, you should increase your --max-peers to something sensible like 1024, make sure port 30303 is open (or whatever your node's network port is) Other than that, that's it. Bootnodes ...
user avatar
  • 31.4k
1 vote
Accepted

Is Geth nodiscovery mode redundant behind a firewall without port forwarding

The --nodiscover option works the other way. If you run geth with this option, the geth node will not search for any peer and not connect to any peer. So yes, you will need a bootnode list or add ...
user avatar
  • 1,751
1 vote

MetaMask and Access Ethereum Private Chain from other PC in the same network (for test)

This answer is just a complementary to the answer provided by @Achala Dissanayake, and I'd like to thank him, again! To make two computers on different Internet networks (e.g. Wifi, under a firewall ...
user avatar
  • 1,957

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