Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Create solana-bootnode for better node bootstrapping (Validator public testnet configuration) #349

Closed
6 tasks
aeyakovenko opened this issue Jun 13, 2018 · 7 comments · May be fixed by adamlaska/solana#107, adamlaska/solana#117 or adamlaska/solana#121

Comments

@aeyakovenko
Copy link
Member

  • validator at boot connects to drone with a TCP connection
  • drone looks at the client's IP address that is in the TCP connection
  • drone checks that all the expected UDP ports are reachable
  • drone sends validator the IP address that is reachable
  • validator advertirzes that IP on the gossip network
  • validator binds to 0.0 locally, so we need a way to distinguish an advertise address and bind address in the configuration of the validator
@aeyakovenko aeyakovenko added this to the v0.7.0 milestone Jun 13, 2018
@garious
Copy link
Contributor

garious commented Jun 14, 2018

Does this need to be on v0.7.0? I have plenty of questions, but don't want to ask them if the testnet will run without this feature. Biggest question, is it possible for the validator to already know everything its asking of the drone? And so if trying to set up a validator from behind a firewall, the advice would be, "yep, don't do that."

@aeyakovenko
Copy link
Member Author

For a bear bones mvp, no.

@garious
Copy link
Contributor

garious commented Jun 15, 2018

Cool, stretch goals are good, thanks.

@garious
Copy link
Contributor

garious commented Jun 30, 2018

Bitcoin bootstrapping: https://en.bitcoin.it/wiki/Network#Bootstrapping
Ethereum bootstrapping: https://github.com/ethereum/go-ethereum/wiki/Connecting-to-the-network

I don't think we should extend the drone into this space. Instead, we should create a new executable called solana-bootnode (or solana-beacon). The drone should stay extremely minimum and possibly never exist outside a testnet. A bootnode, however, which I believe is what's been described by this ticket, should stick around for the long haul.

@mvines mvines changed the title Validator public testnet configuration Create solana-bootnode for better node bootstrapping (Validator public testnet configuration) Jul 16, 2018
@mvines mvines removed this from the v0.7.0 milestone Jul 16, 2018
@mvines
Copy link
Contributor

mvines commented Jul 16, 2018

Renamed issue title and booted from 0.7.0 as this is not required for this release.

@mvines mvines added this to the The Future! milestone Sep 5, 2018
@garious
Copy link
Contributor

garious commented Sep 6, 2018

@aeyakovenko, this one needs a lot of historical context to guess what should be done. What do you think about opening a new updated ticket and closing this one?

@aeyakovenko
Copy link
Member Author

@garious i think @rob-solana knows what to do by now :)

@garious garious modified the milestones: The Future!, v0.11 Tabletops Dec 9, 2018
vkomenda pushed a commit to vkomenda/solana that referenced this issue Aug 29, 2021
* Safer pack/unpack

* fix cli

* clippy

* fix swap

* nit

* clippy

Co-authored-by: Michael Vines <mvines@gmail.com>
lijunwangs pushed a commit to lijunwangs/solana that referenced this issue Mar 21, 2024
… binaries (backport of solana-labs#155) (solana-labs#349)

Use agave prefix in scripts for pre-installed binaries (solana-labs#155)

(cherry picked from commit 68be105)

Co-authored-by: Justin Starry <justin@anza.xyz>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants