Creates a new StateProofFields
object.
Optional
partOptional
positionsOptional
reveals?: StateProofReveal[]Optional
saltOptional
sigOptional
sigOptional
signedOptional
part(P)
Optional
positions(pr) Sequence of reveal positions.
Optional
reveals(r) Note that this is actually stored as a map[uint64] - Reveal in the actual msgp
Optional
salt(v) Salt version of the merkle signature.
Optional
sig(c)
Optional
sig(S)
Optional
signed(w)
Get an object ready for encoding to either JSON or msgpack.
Use true to indicate that the encoding can handle raw binary objects (Uint8Arrays). Use false to indicate that raw binary objects should be converted to base64 strings. True should be used for objects that will be encoded with msgpack, and false should be used for objects that will be encoded with JSON.
Static
from_Generated using TypeDoc
(sp) represents a state proof. Definition: crypto/stateproof/structs.go : StateProof