node
node copied to clipboard
Any tutorial for setting up a lightweight node for bootnodes sync only
I am trying to built a bootnode from the op-geth repo and act a bootnode for other fullnodes.
However, the bootnode command does not have options to specify "chain", "other bootnodes", etc.
Usage of ./build/bin/bootnode:
-addr string
listen address (default ":30301")
-genkey string
generate a node key
-nat string
port mapping mechanism (any|none|upnp|pmp|pmp:<IP>|extip:<IP>) (default "none")
-netrestrict string
restrict network communication to the given IP networks (CIDR masks)
-nodekey string
private key filename
-nodekeyhex string
private key as hex (for testing)
-v5
run a v5 topic discovery bootnode
-verbosity int
log verbosity (0-5) (default 3)
-vmodule string
log verbosity pattern
-writeaddress
write out the node's public key and quit
Whenever I run the bootnode, it simply hang after the New local node record log:
INFO [06-28|05:37:51.983] Attempting port mapping proto=udp extport=30301 intport=30301 interface=ExtIP(34.168.75.49)
INFO [06-28|05:37:51.983] NAT mapped alternative port proto=udp extport=0 intport=30301 interface=ExtIP(34.168.75.49)
enode://e03847b7dadef88933fad01f9344be91bddb72639510759ca803c3e79e77c78cd62c9a3c1947155a2773f277754f354f3216f698b7967007357ba09304c86f82@34.168.11.22:0
Note: you're using cmd/bootnode, a developer tool.
We recommend using a regular node as bootstrap node for production deployments.
INFO [06-28|05:37:51.985] New local node record seq=1,719,553,071,984 id=b01e2472fae296b2 ip=34.168.11.22 udp=0 tcp=0
Is setting up a lightweight fullnode possible for Base chain?