* Merge changes to docs * Fix typo * Correct SUMMARY so it compiles; update .gitignore * Clean up statements.md Make syntax and notation consistent with Rust source code. * Fix statements for Merkle trees and compound types * First draft of custom statements and small updates to signedpod.md * Update book/src/merkletree.md Co-authored-by: Ahmad Afuni <root@ahmadafuni.com> * merklestatements correct typo Co-authored-by: Ahmad Afuni <root@ahmadafuni.com> * add todo for gadget ids Co-authored-by: Ahmad Afuni <root@ahmadafuni.com> * Remove custom statements, will do on separate branch * Restore Merkle examples and statements table --------- Co-authored-by: Ahmad Afuni <root@ahmadafuni.com>
786 B
786 B
SignedPod
A SignedPod consists of the following fields:
mt: key-values storage, internally it's a MerkleTree so that we can generate proofs on the key-values- it can only contain
ValueOfstatements. - the Signer's public key is one of the key-values in the
kvs.
- it can only contain
id: the Root of thekvsMerkleTreesignature: a signature over theidsigner: the public key attached to the digital signaturesignaturetype: the constantSIGNATURE
Example of SignedPod:
{
id: "05f7a6de...",
kvs : {
_signerKey: "5e1c0b3c...",
idNumber: "94e328a7...",
dateOfBirth: 1169909384,
socialSecurityNum: "1111"
},
signature: "68b615f7..."
}
