aboutsummaryrefslogtreecommitdiff
path: root/pkg/proof/proof.go
blob: 14ad1acb2c540c0f982eb29a779d803165bd6361 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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"`
}