Rename --subscribe-all-data-column-subnets to --supernode and make it visible in help (#8083)

Rename `--subscribe-all-data-column-subnets` to `--supernode` as it's now been officially accepted in the spec. Also make it visible in help in preparation for the fusaka release.

https://github.com/ethereum/consensus-specs/blob/dev/specs/fulu/p2p-interface.md#supernodes


  


Co-Authored-By: Jimmy Chen <jchen.tc@gmail.com>
This commit is contained in:
Jimmy Chen
2025-09-19 17:01:16 +10:00
committed by GitHub
parent 78d330e4b7
commit 4efe47b3c3
4 changed files with 29 additions and 8 deletions

View File

@@ -47,16 +47,17 @@ pub fn cli_app() -> Command {
* Network parameters.
*/
.arg(
Arg::new("subscribe-all-data-column-subnets")
.long("subscribe-all-data-column-subnets")
Arg::new("supernode")
.long("supernode")
.alias("subscribe-all-data-column-subnets")
.action(ArgAction::SetTrue)
.help_heading(FLAG_HEADER)
.help("Subscribe to all data column subnets and participate in data custody for \
all columns. This will also advertise the beacon node as being long-lived \
subscribed to all data column subnets. \
NOTE: this is an experimental flag and may change any time without notice!")
.help("Run as a voluntary supernode. This node will subscribe to all data column \
subnets, custody all data columns, and perform reconstruction and cross-seeding. \
This requires significantly more bandwidth, storage, and computation requirements but \
the node will have direct access to all blobs via the beacon API and it \
helps network resilience by serving all data columns to syncing peers.")
.display_order(0)
.hide(true)
)
.arg(
// TODO(das): remove this before PeerDAS release

View File

@@ -1162,7 +1162,7 @@ pub fn set_network_config(
config.network_dir = data_dir.join(DEFAULT_NETWORK_DIR);
};
if parse_flag(cli_args, "subscribe-all-data-column-subnets") {
if parse_flag(cli_args, "supernode") {
config.subscribe_all_data_column_subnets = true;
}