Extend Protocol
This commit is contained in:
parent
c0508cb2d3
commit
0052f8ab60
18
notes/.obsidian/workspace.json
vendored
18
notes/.obsidian/workspace.json
vendored
|
@ -4,16 +4,16 @@
|
||||||
"type": "split",
|
"type": "split",
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
"id": "8aab114180050524",
|
"id": "a5f8ef865112d597",
|
||||||
"type": "tabs",
|
"type": "tabs",
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
"id": "4f9428c0d7e6ec10",
|
"id": "394ad00be71f8b2e",
|
||||||
"type": "leaf",
|
"type": "leaf",
|
||||||
"state": {
|
"state": {
|
||||||
"type": "markdown",
|
"type": "markdown",
|
||||||
"state": {
|
"state": {
|
||||||
"file": "UwUsched/UwUSched.md",
|
"file": "UwUsched/Protocol.md",
|
||||||
"mode": "source",
|
"mode": "source",
|
||||||
"source": false
|
"source": false
|
||||||
}
|
}
|
||||||
|
@ -85,7 +85,7 @@
|
||||||
"state": {
|
"state": {
|
||||||
"type": "backlink",
|
"type": "backlink",
|
||||||
"state": {
|
"state": {
|
||||||
"file": "UwUsched/UwUSched.md",
|
"file": "UwUsched/Protocol.md",
|
||||||
"collapseAll": false,
|
"collapseAll": false,
|
||||||
"extraContext": false,
|
"extraContext": false,
|
||||||
"sortOrder": "alphabetical",
|
"sortOrder": "alphabetical",
|
||||||
|
@ -102,7 +102,7 @@
|
||||||
"state": {
|
"state": {
|
||||||
"type": "outgoing-link",
|
"type": "outgoing-link",
|
||||||
"state": {
|
"state": {
|
||||||
"file": "UwUsched/UwUSched.md",
|
"file": "UwUsched/Protocol.md",
|
||||||
"linksCollapsed": false,
|
"linksCollapsed": false,
|
||||||
"unlinkedCollapsed": true
|
"unlinkedCollapsed": true
|
||||||
}
|
}
|
||||||
|
@ -125,7 +125,7 @@
|
||||||
"state": {
|
"state": {
|
||||||
"type": "outline",
|
"type": "outline",
|
||||||
"state": {
|
"state": {
|
||||||
"file": "UwUsched/UwUSched.md"
|
"file": "UwUsched/Protocol.md"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -146,10 +146,10 @@
|
||||||
"command-palette:Open command palette": false
|
"command-palette:Open command palette": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"active": "4f9428c0d7e6ec10",
|
"active": "394ad00be71f8b2e",
|
||||||
"lastOpenFiles": [
|
"lastOpenFiles": [
|
||||||
|
"UwUsched/UwUSched.md",
|
||||||
"UwUsched/Protocol.md",
|
"UwUsched/Protocol.md",
|
||||||
"UwUsched/Cluster Architecture.md",
|
"UwUsched/Cluster Architecture.md"
|
||||||
"UwUsched/UwUSched.md"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
|
@ -8,6 +8,7 @@
|
||||||
## Pull
|
## Pull
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
|
"protocol_id":<protocol_id>,
|
||||||
"uuid":<uuid>,
|
"uuid":<uuid>,
|
||||||
"hashmap_id":<hashmap_id>,
|
"hashmap_id":<hashmap_id>,
|
||||||
}
|
}
|
||||||
|
@ -16,6 +17,7 @@
|
||||||
## Response
|
## Response
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
|
"protocol_id":<protocol_id>,
|
||||||
"status":<OK|HASH_ERR|TIMEOUT_ERR>,
|
"status":<OK|HASH_ERR|TIMEOUT_ERR>,
|
||||||
"uuid":<uuid>,
|
"uuid":<uuid>,
|
||||||
"hashmap_id":<hashmap_id>
|
"hashmap_id":<hashmap_id>
|
||||||
|
@ -25,6 +27,7 @@
|
||||||
## Push
|
## Push
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
|
"protocol_id":<protocol_id>,
|
||||||
"uuid":<uuid>,
|
"uuid":<uuid>,
|
||||||
"hashmap_id":<hashmap_id>,
|
"hashmap_id":<hashmap_id>,
|
||||||
"length_decomp": <length_decomp>,
|
"length_decomp": <length_decomp>,
|
||||||
|
@ -41,6 +44,8 @@
|
||||||
|
|
||||||
----
|
----
|
||||||
|
|
||||||
|
## JSON-Field Descriptions
|
||||||
|
|
||||||
**Data-Related**
|
**Data-Related**
|
||||||
`uuid`: sha-256 of decompressed data
|
`uuid`: sha-256 of decompressed data
|
||||||
`hashmap_identifier`: identifier of associated HashMap
|
`hashmap_identifier`: identifier of associated HashMap
|
||||||
|
@ -52,4 +57,5 @@
|
||||||
`attributes`: Implementation specific *EXTRAWURST*
|
`attributes`: Implementation specific *EXTRAWURST*
|
||||||
|
|
||||||
**Control Flow**
|
**Control Flow**
|
||||||
|
`protocol_id`: `data_push | data_pull | data_response | hash_push | hash_pull | hash_response`
|
||||||
`status`: error codes indicating success of transmission
|
`status`: error codes indicating success of transmission
|
Loading…
Reference in a new issue