Use enode RPC in UI (#3108)

* add enode rpc

* spaces -> tabs

* Added Enode to JSAPI // Use it to display in Status (#3106)

* Added enode to JSON RPC Interfaces #3108
This commit is contained in:
Nicolas Gotchac
2016-11-03 12:04:25 +01:00
committed by Gav Wood
parent d101cb5247
commit d99f1b517c
6 changed files with 62 additions and 2 deletions

View File

@@ -58,6 +58,11 @@ export default class Ethcore {
.execute('ethcore_dropNonReservedPeers');
}
enode () {
return this._transport
.execute('ethcore_enode');
}
extraData () {
return this._transport
.execute('ethcore_extraData');