mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-28 06:17:56 +00:00
Add attributes and documentation to fork_id (#10746)
* Add attributes and documentation to fork_id * Update client/chain-spec/src/chain_spec.rs Co-authored-by: Sacha Lansky <sacha@parity.io> Co-authored-by: Sacha Lansky <sacha@parity.io>
This commit is contained in:
@@ -164,6 +164,10 @@ struct ClientSpec<E> {
|
||||
boot_nodes: Vec<MultiaddrWithPeerId>,
|
||||
telemetry_endpoints: Option<TelemetryEndpoints>,
|
||||
protocol_id: Option<String>,
|
||||
/// Arbitrary string. Nodes will only synchronize with other nodes that have the same value
|
||||
/// in their `fork_id`. This can be used in order to segregate nodes in cases when multiple
|
||||
/// chains have the same genesis hash.
|
||||
#[serde(default = "Default::default", skip_serializing_if = "Option::is_none")]
|
||||
fork_id: Option<String>,
|
||||
properties: Option<Properties>,
|
||||
#[serde(flatten)]
|
||||
|
||||
Reference in New Issue
Block a user