In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article shows you what the problems and solutions encountered in the use of bootnode are, the content is concise and easy to understand, and it will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.
1. What is bootnode?
Bootnode is similar to a stable node, which allows other nodes to find this node first to synchronize data. For example, if you start an Ethernet Fong node, it will automatically go to the bootnode node of Ethernet Square to synchronize data. So bootnode is used for network node discovery, and there is no api to call.
2. What if bootnode-nodekey key does not return an enode string?
Some of the old posts described are bootnode-nodekey key and then you can directly come out of the enode, and then copy the enode string. But maybe not now.
You should now need to type bootnode-- nodekeyhex $(cat boot.key)-- writeaddress. Then copy the returned string, and that is the enode value. Then copy it and paste it into the parameter after-- bootnodes. Here's what I do here.
Geth-datadir / tmp/data1-bootnodes "enode://7cfc691960dd65599bc07ab08d9ae8363dd84a223ec3802f972c2f31ff726432d410af8d8490df1eb9481467df6229609e881e5d52b3f3d78d0c36d4eb0d6bd5@127.0.0.1:30301" console
3. What if net.peerCoount=0 or admin.peers returns [] after starting multiple nodes?
If you start multiple nodes here and bootnode doesn't find them, it's probably a problem with pc's firewall. Check to see if your firewall is on. The result of my test is that after you turn off the firewall, you can find multiple nodes.
The above is the problems encountered in the use of bootnode and what are the solutions? have you learned the knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.