Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockData ¶
type BlockData struct { Leaf merkle_dag.DagLeaf Branch merkle_dag.ClassicTreeBranch }
type DownloadFilter ¶
type DownloadFilter struct { Leaves []string LeafRanges []LeafLabelRange IncludeContent bool // IncludeContent from LeafLabelRange always overrides this }
type DownloadMessage ¶
type DownloadMessage struct { Root string PublicKey string Signature string Filter *DownloadFilter }
type ErrorMessage ¶
type ErrorMessage struct {
Message string
}
type LeafLabelRange ¶
type ResponseMessage ¶
type ResponseMessage struct {
Ok bool
}
type UploadMessage ¶
type UploadMessage struct { Root string Count int Leaf merkle_dag.DagLeaf Parent string Branch *merkle_dag.ClassicTreeBranch PublicKey string Signature string }
Click to show internal directories.
Click to hide internal directories.