staking

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: May 7, 2021 License: BSD-3-Clause Imports: 12 Imported by: 15

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateStakingKeyCert

func GenerateStakingKeyCert(keyPath, certPath string) error

GenerateStakingKeyCert generates a self-signed TLS key/cert pair to use in staking The key and files will be placed at [keyPath] and [certPath], respectively If there is already a file at [keyPath], returns nil

func NewStakerKeys added in v1.4.0

func NewStakerKeys() ([]byte, []byte, error)

func NewTLSCert added in v1.4.0

func NewTLSCert() (*tls.Certificate, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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