Documentation
¶
Overview ¶
package: main / vectors_broken type: cmd job: the records every implementation must reject, each isolating one failure — a wrong id, a record stored bare where an envelope belongs, an unresolvable contributor, a declared height that is not the derived one, content that misses its hash limits: derives from the toy graph (-> graph.go); each case breaks one thing, so a rejection names a cause
package: main / vectors_graph type: cmd job: the toy graph every implementation must verify — one claim per ADT shape, small enough that a reader can check each record against §4.1 by eye limits: valid records only; the rejected ones derive from these (-> broken.go)
package: main / vectors type: cmd job: generates the cross-implementation reference artifacts — a toy graph of claim records plus records that must be rejected, described by a manifest limits: renders bytes only; the artifacts are the spec's, and which of them are correct is settled against the paper, not against this program
package: main / vectors_malformed type: cmd job: the records no builder here will produce — a timestamp outside the form `V-TIME` fixes, and a record carrying both content slots `V-CONTENT` forbids — each offered under an id that holds for its bytes, so the named defect is the only one limits: patches the CBOR of a record this program built (-> graph.go); what the rule requires is read from the paper, never from what this repo's decoder happens to do