contracteventdb

package
v2.3.6 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package contracteventdb package

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContractEventDB

type ContractEventDB interface {

	// CommitBlock
	//  @Description: commits the event in an atomic operation
	//  @param blockInfo
	//  @param isCache
	//  @return error
	CommitBlock(blockInfo *serialization.BlockWithSerializedInfo, isCache bool) error

	// InitGenesis
	//  @Description: init contract event db
	//  @param genesis
	//  @return error
	InitGenesis(genesis *serialization.BlockWithSerializedInfo) error

	// GetLastSavepoint
	//  @Description: returns the last block height
	//  @return uint64
	//  @return error
	GetLastSavepoint() (uint64, error)

	// Close
	//  @Description: Close is used to close database
	Close()
}

ContractEventDB provides handle to contract event

@Description:

This implementation provides a mysql based data model

Directories

Path Synopsis
Package eventsqldb package
Package eventsqldb package

Jump to

Keyboard shortcuts

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