coreunsafe

package
v0.0.0-...-024a0a0 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2017 License: AGPL-3.0 Imports: 9 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, sdb *sinkdb.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, sdb *sinkdb.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