core

package
v0.0.0-...-79eae96 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalcResult

func CalcResult(r Result) (string, error)

Types

type GenesisBlock

type GenesisBlock struct {
	Data []byte `json:"data"`
	Pos  [2]int `json:"pos"`
}

genesis block origin block !!!

type Result

type Result struct {
	Blocks []GenesisBlock `json:"blocks"`
}
func Search(ctx context.Context, data []byte, sampleSize int, originSize int) (*Result, error)

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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