Added a decent reaction to a new block in chain in mining process.

This commit is contained in:
Revertron
2021-03-16 18:16:31 +01:00
parent ffd70c92a6
commit 96ec25c0d0
5 changed files with 46 additions and 12 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ pub enum Event {
KeyLoaded { path: String, public: String, hash: String },
KeySaved { path: String, public: String, hash: String },
NewBlockReceived,
BlockchainChanged,
BlockchainChanged { index: u64 },
ActionStopMining,
ActionMineLocker { index: u64, hash: Bytes },
NetworkStatus { nodes: usize, blocks: u64 },