MCPcopy Create free account
hub / github.com/dfinity/orbit / default

Method default

core/station/impl/src/models/system.rs:77–91  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

75
76impl Default for SystemInfo {
77 fn default() -> Self {
78 Self {
79 name: "Station".to_string(),
80 last_upgrade_timestamp: time(),
81 change_canister_request: None,
82 upgrader_canister_id: None,
83 upgrader_wasm_module: None,
84 upgrader_backup_snapshots: BackupSnapshots::default(),
85 disaster_recovery_committee: None,
86 version: Some(SYSTEM_VERSION.to_string()),
87 stable_memory_version: Some(STABLE_MEMORY_VERSION),
88 cycle_obtain_strategy: CycleObtainStrategy::default(),
89 max_station_backup_snapshots: default_max_backup_snapshots(),
90 }
91 }
92}
93
94impl SystemInfo {

Callers

nothing calls this directly

Calls 2

timeFunction · 0.85

Tested by

no test coverage detected