···113113// MST tree node as gets serialized to CBOR. Note that the CBOR fields are all
114114// single-character.
115115type nodeData struct {
116116- Left *cid.Cid `cborgen:"l"` // [optional] pointer to lower-level subtree to the "left" of this path/key
116116+ Left *cid.Cid `cborgen:"l"` // [nullable] pointer to lower-level subtree to the "left" of this path/key
117117 Entries []treeEntry `cborgen:"e"` // ordered list of entries at this node
118118}
119119···122122 PrefixLen int64 `cborgen:"p"` // count of characters shared with previous path/key in tree
123123 KeySuffix []byte `cborgen:"k"` // remaining part of path/key (appended to "previous key")
124124 Val cid.Cid `cborgen:"v"` // CID pointer at this path/key
125125- Tree *cid.Cid `cborgen:"t"` // [optional] pointer to lower-level subtree to the "right" of this path/key entry
125125+ Tree *cid.Cid `cborgen:"t"` // [nullable] pointer to lower-level subtree to the "right" of this path/key entry
126126}
127127128128// MerkleSearchTree represents an MST tree node (NodeData type). It can be in