Implemented status bar with some status information: sync process, connected nodes and blockchain height.

This commit is contained in:
Revertron
2021-02-27 18:57:15 +01:00
parent 0d3b8c3db0
commit e53245315f
12 changed files with 192 additions and 95 deletions
+6 -3
View File
@@ -4,10 +4,13 @@ pub enum Event {
MinerStopped,
KeyGeneratorStarted,
KeyGeneratorStopped,
KeyCreated {path: String, public: String},
KeyLoaded {path: String, public: String},
KeySaved {path: String, public: String},
KeyCreated { path: String, public: String },
KeyLoaded { path: String, public: String },
KeySaved { path: String, public: String },
NewBlockReceived,
BlockchainChanged,
ActionStopMining,
StatsCount { nodes: usize, blocks: u64 },
SyncStarted { have: u64, height: u64 },
ActionIdle,
}