ascc

package
v0.0.0-...-ea48f79 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package ascc implements handlers for our newly created system chaincode (ascc: archiving system chaincode) of archiving features.

Functions

The following feature are currently implemented.

VerifyBlockfile

Monitoring threads

This package also starts 2 Go routine to monitor local disk usage for archiver feature and archiving (discarding) feature.

Index

Constants

View Source
const (
	VerifyBlockfile string = "VerifyBlockfile"
)

These are function names from Invoke first parameter

Variables

This section is empty.

Functions

This section is empty.

Types

type ArchiveSysCC

type ArchiveSysCC struct {
}

func New

func New(metricsProvider metrics.Provider) *ArchiveSysCC

New returns an implementation of the chaincode interface

func (*ArchiveSysCC) Chaincode

func (s *ArchiveSysCC) Chaincode() shim.Chaincode

func (*ArchiveSysCC) Enabled

func (s *ArchiveSysCC) Enabled() bool

func (*ArchiveSysCC) Init

Init implements the chaincode shim interface

func (*ArchiveSysCC) InitArgs

func (s *ArchiveSysCC) InitArgs() [][]byte

func (*ArchiveSysCC) InvokableCC2CC

func (s *ArchiveSysCC) InvokableCC2CC() bool

func (*ArchiveSysCC) InvokableExternal

func (s *ArchiveSysCC) InvokableExternal() bool

func (*ArchiveSysCC) Invoke

Invoke implements the chaincode shim interface

func (*ArchiveSysCC) Name

func (s *ArchiveSysCC) Name() string

func (*ArchiveSysCC) Path

func (s *ArchiveSysCC) Path() string

Jump to

Keyboard shortcuts

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