proof

package
v1.3.2-beta.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 23, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetProof

func GetProof(l zerolog.Logger, ent *connection.EntConnection, maxProofMessageSize int) gin.HandlerFunc

Types

type GetProofRequest

type GetProofRequest struct {
	Message []string `json:"messages" binding:"required"`
}

type GetProofResponse

type GetProofResponse struct {
	Leaves []string    `json:"leaves"`
	Nodes  []string    `json:"nodes"`
	Bitmap string      `json:"bitmap"`
	Depth  string      `json:"depth"`
	Root   string      `json:"root"`
	Anchor interface{} `json:"anchor"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL