Documentation ¶
Index ¶
- Constants
- Variables
- func GetNowTimeMs() int64
- func InitializePprofDumper(logger log.Logger, dumpPath string, coolDownStr string, abciElapsed int64)
- func OnAppBeginBlockEnter(height int64)
- func OnAppBeginBlockExit()
- func OnAppDeliverTxEnter()
- func OnAppDeliverTxExit()
- func OnAppEndBlockEnter()
- func OnAppEndBlockExit()
- func OnCommitEnter()
- func OnCommitExit()
- func RunFuncName() string
- func StartTxLog(oper string)
- func StopTxLog(oper string)
- type DbRecord
Constants ¶
View Source
const ( READ = 1 WRITE = 2 EVMALL = 3 UNKNOWN_TYPE = 4 EVM_FORMAT = "read<%dms>, write<%dms>, execute<%dms>" EVMCORE = "evmcore" )
Variables ¶
View Source
var ( STATEDB_WRITE = []string{"AddBalance", "SubBalance", "SetNonce", "SetState", "SetCode", "AddLog", "AddPreimage", "AddRefund", "SubRefund", "AddAddressToAccessList", "AddSlotToAccessList", "PrepareAccessList", "AddressInAccessList", "Suicide", "CreateAccount", "ForEachStorage"} STATEDB_READ = []string{"SlotInAccessList", "GetBalance", "GetNonce", "GetCode", "GetCodeSize", "GetCodeHash", "GetState", "GetCommittedState", "GetRefund", "HasSuicided", "Snapshot", "RevertToSnapshot", "Empty", "Exist"} EVM_OPER = []string{EVMCORE} )
Functions ¶
func GetNowTimeMs ¶
func GetNowTimeMs() int64
func InitializePprofDumper ¶
func OnAppBeginBlockEnter ¶
func OnAppBeginBlockEnter(height int64)
func OnAppBeginBlockExit ¶
func OnAppBeginBlockExit()
func OnAppDeliverTxEnter ¶
func OnAppDeliverTxEnter()
func OnAppDeliverTxExit ¶
func OnAppDeliverTxExit()
func OnAppEndBlockEnter ¶
func OnAppEndBlockEnter()
func OnAppEndBlockExit ¶
func OnAppEndBlockExit()
func OnCommitEnter ¶
func OnCommitEnter()
func OnCommitExit ¶
func OnCommitExit()
func RunFuncName ¶
func RunFuncName() string
func StartTxLog ¶
func StartTxLog(oper string)
Types ¶
Click to show internal directories.
Click to hide internal directories.