Limiting accounts returned by parity_accountInfo (#3931)
* Limiting accountNames returned by parity_accountNames * Fixing middleware * Change RPC interface * Enhance tests for RPC layer * UI uses parity_allAccountsInfo * Update dapps to use parity_accountsInfo * Don't filter by uuid (deprecated) * Consistency in calls * Fix js tests (missed stub call)
This commit is contained in:
@@ -27,18 +27,18 @@ export default class Parity {
|
||||
.execute('parity_acceptNonReservedPeers');
|
||||
}
|
||||
|
||||
accounts () {
|
||||
return this._transport
|
||||
.execute('parity_accounts')
|
||||
.then(outAccountInfo);
|
||||
}
|
||||
|
||||
accountsInfo () {
|
||||
return this._transport
|
||||
.execute('parity_accountsInfo')
|
||||
.then(outAccountInfo);
|
||||
}
|
||||
|
||||
allAccountsInfo () {
|
||||
return this._transport
|
||||
.execute('parity_allAccountsInfo')
|
||||
.then(outAccountInfo);
|
||||
}
|
||||
|
||||
addReservedPeer (encode) {
|
||||
return this._transport
|
||||
.execute('parity_addReservedPeer', encode);
|
||||
|
||||
Reference in New Issue
Block a user