aboutsummaryrefslogtreecommitdiff
path: root/pkg/proof
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/proof')
-rw-r--r--pkg/proof/proof.go15
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"`
+}