coreunsafe

package
v0.0.0-...-414a959 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2017 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package coreunsafe contains Core logic that is unsafe for production.

It is used in the Developer Edition and in command-line utilities but shouldn't be used in production.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResetBlockchain

func ResetBlockchain(ctx context.Context, db pg.DB) error

ResetBlockchain deletes all blockchain data, resulting in an unconfigured core. It does not delete access tokens or mockhsm keys.

func ResetEverything

func ResetEverything(ctx context.Context, db pg.DB) error

ResetEverything deletes all of a Core's data.

Types

This section is empty.

Jump to

Keyboard shortcuts

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