-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
Description
A nice enhancement to the dispute tracker is to be able to get additional information about dispute initiators, like hw information and OS. This would save a lot of time when trying to figure out who initiated disputes and why.
pub struct SysInfo {
/// The exact CPU model.
pub cpu: Option<String>,
/// The total amount of memory, in bytes.
pub memory: Option<u64>,
/// The number of physical CPU cores.
pub core_count: Option<u32>,
/// The Linux kernel version.
pub linux_kernel: Option<String>,
/// The exact Linux distribution used.
pub linux_distro: Option<String>,
/// Whether the node's running under a virtual machine.
pub is_virtual_machine: Option<bool>,
}
We just need to:
- add option to specify a telemetry server
- when configured, connect and search for validators
network_id
which should by address we have from chain - fetch the additional information that is sent when the connection to telemetry backend is made, see below
pub struct ConnectionMessage {
/// Node's name.
pub name: String,
/// Node's implementation.
pub implementation: String,
/// Node's version.
pub version: String,
/// Node's configuration.
pub config: String,
/// Node's chain.
pub chain: String,
/// Node's genesis hash.
pub genesis_hash: String,
/// Node is an authority.
pub authority: bool,
/// Node's startup time.
pub startup_time: String,
/// Node's network ID.
pub network_id: String,
/// Node's OS.
pub target_os: String,
/// Node's ISA.
pub target_arch: String,
/// Node's target platform ABI or libc.
pub target_env: String,
/// Node's software and hardware information.
pub sysinfo: Option<SysInfo>,
}
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Backlog
Status
Backlog