RIB · English Edition

RIB Transfer最小化模版1.0

RIB(中文) · RIB简单设计 · RIB2.0

一句话描述:

Transfer 是 RIB 的唯一原子事件,它在协议中同时携带物理时间(ts)与因果时间(prev + depth),从而把所有行为表达为“在某条件下,将某对象从 X 转到 Y”的可验证因果事件。

模版:

{

"id": "<hash>",

"from": "<object-id>",

"to": "<object-id>",

"what": "<object-id>",

"amt": "<string>",

"cond": "<condition>",

"ts": <unix-seconds>,

"prev": ["<event-id>", ...],

"depth": <integer>,

"sig": "<signature>"

}