-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Visible accounts for dapps (default whitelist) #3898
Conversation
jacogr
commented
Dec 19, 2016
•
edited
Loading
edited
- UI for global whitelist portion of https://github.com/ethcore/parity/pull/3792
- Closes https://github.com/ethcore/parity/issues/3825
There is a massive issue here though - none of our internal dapps use eth_accounts so it doesn't reflect only the accounts it is supposed to see... All dapps needs to be updated to use a combination of eth_accounts & parity_accountsInfo again. |
i don't understand - does one of |
It seems like
Registry dapp still shows all accounts. However using the Js console -
&&
|
|
The built-in dapps do use |
Dapp issues & accountsInfo/allAccountsInfo addressed in https://github.com/ethcore/parity/pull/3931 |
needs resolving |
needs resolving again. @ngotchac / @derhuerst a review would be good, too... |
# Conflicts: # js/src/ui/Icons/index.js
@@ -17,6 +17,14 @@ | |||
import { inAddress, inData, inHex, inNumber16, inOptions } from '../../format/input'; | |||
import { outAccountInfo, outAddress, outChainStatus, outHistogram, outNumber, outPeers, outTransaction } from '../../format/output'; | |||
|
|||
function inAddresses (addresses) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why isn't this in format/input
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point, I initially moved it to the top to get going (testing), but never moved it to the formatters as it should be. (Nor really major since it is the only place it is used, but still not consistent.)
return (addresses || []).map(inAddress); | ||
} | ||
|
||
function outAddresses (addresses) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why isn't this in format/output
?
Looks good. Small grumble, also the |