Pass online/offline status indicators with staking accounts (#1265)

* staking online status

* restrict onlineStatus.online to validators

* get onlineStatus for stash/validator only

* tests

* fixes

* Add offline

* Revert stash, change to stashId, linting

* Heartbeat signature

* Make CodeClimate (slightly) happier

* keep compatibility

* change status type

* rv null possible

* cleanup
This commit is contained in:
kwingram25
2019-08-05 16:13:42 +00:00
committed by GitHub
parent 73f33d0168
commit 09ee77d0bc
9 changed files with 125 additions and 11 deletions
+1
View File
@@ -4,3 +4,4 @@
export * from './controllers';
export * from './info';
export * from './recentlyOffline';