-
Notifications
You must be signed in to change notification settings - Fork 0
MiscNotes
James Carnley edited this page Dec 29, 2023
·
4 revisions
EFS contract: -Security -Data integrity Write(subjectEfsId, protocol, action, args[toEfsId, etc], editions) Read(subjectEfsId, protocol, action, args[toEfsId, etc], editions) returns bytes
Protocol - Made by devs -Returns data to be stored in EFS structs -Actions and their config stored in /p//* Needs to know: Path Action - CRUD Action params Custom parameters
Edge type needs to know: from node to node Custom parameters
Data type needs to know: Data to validate
IEdition: -Name resolution -Data storage Resolve(parentEfsId, name) returns efsId Get() returns bytes Set() returns bool success
EFS structs: Node { Type, Edges { } }