diff options
| author | Fuwn <[email protected]> | 2026-02-26 14:46:02 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-02-26 14:48:52 -0800 |
| commit | 0099d621e97b6048971fadb5c71918cc9f2b5a09 (patch) | |
| tree | a38ba31585200bacd61f453ef7158de7f0aaf7a3 /pkg/proof | |
| parent | Initial commit (diff) | |
| download | plutia-test-0099d621e97b6048971fadb5c71918cc9f2b5a09.tar.xz plutia-test-0099d621e97b6048971fadb5c71918cc9f2b5a09.zip | |
feat: initial Plutia release — verifiable high-performance PLC mirror (mirror + resolver modes)
Diffstat (limited to 'pkg/proof')
| -rw-r--r-- | pkg/proof/proof.go | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/pkg/proof/proof.go b/pkg/proof/proof.go new file mode 100644 index 0000000..14ad1ac --- /dev/null +++ b/pkg/proof/proof.go @@ -0,0 +1,15 @@ +package proof + +import "github.com/Fuwn/plutia/internal/merkle" + +type DIDInclusionProof struct { + DID string `json:"did"` + ChainTipHash string `json:"chain_tip_hash"` + LeafHash string `json:"leaf_hash"` + MerkleRoot string `json:"merkle_root"` + Siblings []merkle.Sibling `json:"siblings"` + CheckpointSeq uint64 `json:"checkpoint_sequence"` + CheckpointHash string `json:"checkpoint_hash"` + CheckpointSig string `json:"checkpoint_signature"` + CheckpointKeyID string `json:"checkpoint_key_id"` +} |