kzg

package
v0.1.1-experimental.5 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadTrustedSetup

func ReadTrustedSetup(filePath string) (*gokzg4844.JSONTrustedSetup, error)

ReadTrustedSetup reads the trusted setup from the file system.

Types

type Config

type Config struct {
	// TrustedSetupPath is the path to the trusted setup.
	TrustedSetupPath string `mapstructure:"trusted-setup-path"`

	// Implementation is the KZG implementation to use.
	Implementation string `mapstructure:"implementation"`
}

func DefaultConfig

func DefaultConfig() Config

DefaultConfig returns the default configuration.

Jump to

Keyboard shortcuts

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