Files
openethereum/js/src/DappRequests
Jaco Greeff 777bce8a13 Remove extraneous id hashing (#7269)
* Remove extraenous id hashing

* Update with latest js-shared
2017-12-12 12:09:24 +01:00
..
2017-09-01 14:29:57 +02:00
2017-12-12 12:09:24 +01:00

Terminology used

To be clear with the terminology used in the code here:

  • a method is an allowed JSON-RPC api method or a shell method
  • a methodGroup is the grouping of similar methods (see methodGroups.js)
  • a permission is a boolean which tells if an app is allowed to call a method or not
  • a request is when an app prompts the shell to call a method
  • a requestGroup is a map of the following form
{
  appId1: {
    methodGroup1: [request1, request2] // This is a requestGroup sub-item
  },
  appId2: {
    methodGroup1: [request1]
    methodGroup2: [request3]
  },
  // ...
}