package
2.0.0+incompatible
Repository: https://github.com/asciiu/libgrin.git
Documentation: pkg.go.dev

# Functions

NewCuckarooCtx instantiates a new CuckarooContext as a PowContext.
NewCuckaroodCtx instantiates a new CuckaroodContext as a PowContext.
NewCuckatooCtx instantiates a new CuckatooContext as a PowContext.
SipHash24 is an utility function to compute a single siphash 2-4 based on a seed and a nonce.
SipHashBlock builds a block of siphash values by repeatedly hashing from the nonce truncated to its closest block start, up to the end of the block.

# Structs

CuckarooContext is a Cuckatoo cycle context.
CuckaroodContext is a Cuckatoo cycle context.
CuckatooContext is a Cuckatoo solver context.
CuckooParams is a utility struct to calculate commonly used Cuckoo parameters calculated from header, nonce, edge_bits, etc.
Proof is a Cuck(at)oo Cycle proof of work, consisting of the edge_bits to get the graph size (i.e.
ProofOfWork is a block header information pertaining to the proof of work.

# Interfaces

PowContext is a generic interface for a solver/verifier providing common interface into Cuckoo-family PoW.