Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnchorFile ¶
type AnchorFile struct { // BatchFileHash is encoded hash of the batch file BatchFileHash string `json:"batchFileHash"` // UniqueSuffixes is an array of suffixes (the unique portion of the ID string that differentiates // one document from another) for all documents that are declared to have operations within the associated batch file. UniqueSuffixes []string `json:"uniqueSuffixes"` }
AnchorFile defines the schema of a Anchor File
type BatchFile ¶
type BatchFile struct { // operations included in this batch file, each operation is an encoded string Operations []string `json:"operations"` }
BatchFile defines the schema of a Batch File and its related operations.
type Handler ¶
type Handler struct{}
Handler creates batch/anchor files from operations
func (*Handler) CreateAnchorFile ¶
CreateAnchorFile will create anchor file for Sidetree transaction returns anchor file bytes
Click to show internal directories.
Click to hide internal directories.