hashcache

package
v0.0.0-...-985d544 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2022 License: CC0-1.0 Imports: 6 Imported by: 0

Documentation

Overview

Package hashcache implements a cache file for block hashes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(cacheDir string) ([]common.Hash, error)

Load block hashes from hash cache file in cacheDir.

func Save

func Save(cacheDir string, blocks []common.Hash) error

Save hashes from blocks in hash cache file in cacheDir.

Types

This section is empty.

Jump to

Keyboard shortcuts

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