Merge branch 'master' into ui-2

This commit is contained in:
Jaco Greeff
2017-07-13 10:56:12 +02:00
142 changed files with 1300 additions and 1000 deletions

View File

@@ -21,6 +21,7 @@ export const ERROR_CODES = {
NO_WORK: -32001,
NO_AUTHOR: -32002,
NO_NEW_WORK: -32003,
NO_WORK_REQUIRED: -32004,
NOT_ENOUGH_DATA: -32006,
UNKNOWN_ERROR: -32009,
TRANSACTION_ERROR: -32010,
@@ -38,7 +39,7 @@ export const ERROR_CODES = {
COMPILATION_ERROR: -32050,
ENCRYPTION_ERROR: -32055,
FETCH_ERROR: -32060,
INVALID_PARAMS: -32602
INVALID_PARAMS: -32602,
};
export default class TransportError extends ExtendableError {

File diff suppressed because one or more lines are too long

View File

@@ -214,6 +214,9 @@ export default class Status {
const status = { netPeers, syncing, health };
health.overall = this._overallStatus(health);
health.peers = health.peers || {};
health.sync = health.sync || {};
health.time = health.time || {};
if (!isEqual(status, this._status)) {
this._store.dispatch(statusCollection(status));

View File

@@ -23,6 +23,7 @@
margin: .2em;
width: 1em;
height: 1em;
white-space: nowrap;
}
.radial {