-
Notifications
You must be signed in to change notification settings - Fork 4.7k
adds validator flag to allow private ip addresses #18850
Conversation
Codecov Report
@@ Coverage Diff @@
## master #18850 +/- ##
=========================================
- Coverage 82.8% 82.8% -0.1%
=========================================
Files 443 443
Lines 126082 126294 +212
=========================================
+ Hits 104507 104636 +129
- Misses 21575 21658 +83 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💦 💦 That touched a lot more files than I was expecting it would!
But thanks, that was annoying I'm sure but the lack of a build feature is worth it.
r+ with solana-test-validator
supporting private addresses by default
@@ -21,6 +21,7 @@ use { | |||
signature::{read_keypair_file, write_keypair_file, Keypair, Signer}, | |||
system_program, | |||
}, | |||
solana_streamer::socket::SocketAddrSpace, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think solana-test-validator
should just allow private addresses by default (and it's probably fine to not have an option to only allow global this).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, true. I am merging this now not to get merge conflicts, but will follow up.
(cherry picked from commit d2d5f36) # Conflicts: # accounts-cluster-bench/Cargo.toml # bench-tps/Cargo.toml # cli/Cargo.toml # core/benches/cluster_info.rs # core/src/banking_stage.rs # core/src/broadcast_stage.rs # core/src/broadcast_stage/broadcast_duplicates_run.rs # core/src/broadcast_stage/fail_entry_verification_broadcast_run.rs # core/src/broadcast_stage/standard_broadcast_run.rs # core/src/cluster_slots_service.rs # core/src/repair_service.rs # core/src/tvu.rs # core/src/validator.rs # dos/Cargo.toml # gossip/src/cluster_info.rs # gossip/src/crds_gossip_pull.rs # gossip/src/crds_gossip_push.rs # gossip/src/gossip_service.rs # local-cluster/Cargo.toml # local-cluster/src/cluster_tests.rs # local-cluster/tests/local_cluster.rs # rpc/Cargo.toml # rpc/src/rpc.rs # tokens/Cargo.toml # validator/Cargo.toml # validator/src/main.rs
…18975) * adds validator flag to allow private ip addresses (#18850) (cherry picked from commit d2d5f36) # Conflicts: # accounts-cluster-bench/Cargo.toml # bench-tps/Cargo.toml # cli/Cargo.toml # core/benches/cluster_info.rs # core/src/banking_stage.rs # core/src/broadcast_stage.rs # core/src/broadcast_stage/broadcast_duplicates_run.rs # core/src/broadcast_stage/fail_entry_verification_broadcast_run.rs # core/src/broadcast_stage/standard_broadcast_run.rs # core/src/cluster_slots_service.rs # core/src/repair_service.rs # core/src/tvu.rs # core/src/validator.rs # dos/Cargo.toml # gossip/src/cluster_info.rs # gossip/src/crds_gossip_pull.rs # gossip/src/crds_gossip_push.rs # gossip/src/gossip_service.rs # local-cluster/Cargo.toml # local-cluster/src/cluster_tests.rs # local-cluster/tests/local_cluster.rs # rpc/Cargo.toml # rpc/src/rpc.rs # tokens/Cargo.toml # validator/Cargo.toml # validator/src/main.rs * removes backport merge conflicts Co-authored-by: behzad nouri <[email protected]>
Problem
To address mainnet issue, #18728 excludes private ip addresses.
As a side effect,
system-performance-tests
broke:#18728 (comment)
Summary of Changes