Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any tutorial for setting up a lightweight node for bootnodes sync only #287

Open
walkerlala opened this issue Jun 28, 2024 · 0 comments
Open
Labels
state: backlog This is pending further review

Comments

@walkerlala
Copy link
Contributor

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?

@wbnns wbnns added the state: backlog This is pending further review label Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state: backlog This is pending further review
Projects
None yet
Development

No branches or pull requests

2 participants