package
0.0.0-20250220111111-81faaa5d65da
Repository: https://github.com/transparency-dev/static-ct.git
Documentation: pkg.go.dev

# Functions

CheckConsistency is a wapper function which simplifies verifying consistency between two or more checkpoints.
FetchCheckpoint retrieves and opens a checkpoint from the log.
FetchLeafHashes fetches N consecutive leaf hashes starting with the leaf at index first.
FetchRangeNodes returns the set of nodes representing the compact range covering a log of size s.
GetEntryBundle fetches the entry bundle at the given _tile index_.
NewHTTPFetcher creates a new HTTPFetcher for the log rooted at the given URL, using the provided HTTP client.
NewLogStateTracker creates a newly initialised tracker.
NewProofBuilder creates a new ProofBuilder object for a given tree size.
UnilateralConsensus blindly trusts the source log, returning the checkpoint it provided.

# Structs

ErrInconsistency should be returned when there has been an error proving consistency between log states.
FileFetcher knows how to fetch log artifacts from a filesystem rooted at Root.
HTTPFetcher knows how to fetch log artifacts from a log being served via HTTP.
LogStateTracker represents a client-side view of a target log's state.
ProofBuilder knows how to build inclusion and consistency proofs from tiles.

# Type aliases

CheckpointFetcherFunc is the signature of a function which can retrieve the latest checkpoint from a log's data storage.
ConsensusCheckpointFunc is a function which returns the largest checkpoint known which is signed by logSigV and satisfies some consensus algorithm.
EntryBundleFetcherFunc is the signature of a function which can fetch the raw data for a given entry bundle.
TileFetcherFunc is the signature of a function which can fetch the raw data for a given tile.