Skip to content

Commit

Permalink
tpu_forwards_addr address in CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
lijunwangs committed Feb 27, 2025
1 parent 50bd1be commit e070729
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 8 additions & 0 deletions validator/src/commands/run/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,14 @@ pub fn add_args<'a>(app: App<'a, 'a>, default_args: &'a DefaultArgs) -> App<'a,
--entrypoint or localhostwhen --entrypoint is not provided]",
),
)
.arg(
Arg::with_name("tpu_vortexor_receiver_address")
.long("tpu-vortexor-receiver-address")
.value_name("HOST:PORT")
.takes_value(true)
.validator(solana_net_utils::is_host_port)
.help("TPU Vortexor Receiver address to which verified transaction packet will be forwarded."),
)
.arg(
Arg::with_name("public_rpc_addr")
.long("public-rpc-address")
Expand Down
8 changes: 0 additions & 8 deletions validator/src/commands/set_public_address/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,6 @@ pub fn command(_default_args: &DefaultArgs) -> App<'_, '_> {
.validator(solana_net_utils::is_host_port)
.help("TPU Forwards address to advertise in gossip"),
)
.arg(
Arg::with_name("tpu_vortexor_receiver_address")
.long("receiver")
.value_name("HOST:PORT")
.takes_value(false)
.validator(solana_net_utils::is_host_port)
.help("TPU Vortexor Receiver address to which verified transaction packet will be forwarded."),
)
.group(
ArgGroup::with_name("set_public_address_details")
.args(&["tpu_addr", "tpu_forwards_addr"])
Expand Down

0 comments on commit e070729

Please sign in to comment.