Number | Category | Status | Author | Organization | Created |
---|---|---|---|---|---|
0008 |
Standards Track |
Proposal |
Ian Yang |
Nervos Foundation |
2018-12-17 |
CKB use two major serialization format, CFB and JSON.
CFB (Canonical FlatBuffers) is a restricted variant of FlatBuffers for producing unequivocal transfer syntax. Since CFB generated binary is still valid FlatBuffers, any FlatBuffers reader can parse the serialized messages, but only CFB builder can serialize messages into valid binary.
CFB is in the proposal stage, and is not ready yet. Now plain FlatBuffers is used to serialize P2P messages.