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:
committed by
Gav Wood
parent
d101cb5247
commit
d99f1b517c
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user