570fc56af7
* Group similar methods in same grouping * Add a shell_getMethodGroups API * Small code clean changes * Fix bug dapp.name not showing * Additional error handling * Store sources in own map * Remove observable variables where not needed * Refactor code and fix bug dapp not showing on approve
10 lines
459 B
Markdown
10 lines
459 B
Markdown
# 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 an array of *requests* whose methods are in the same *methodGroup*
|