MCPcopy Create free account
hub / github.com/DNAProject/DNA / SaveEventNotifyByBlock

Method SaveEventNotifyByBlock

core/store/common/store.go:93–93  ·  view source on GitHub ↗

Save transaction hashes which have event notify gen

(height uint32, txHashs []common.Uint256)

Source from the content-addressed store, hash-verified

91 SaveEventNotifyByTx(txHash common.Uint256, notify *event.ExecuteNotify) error
92 //Save transaction hashes which have event notify gen
93 SaveEventNotifyByBlock(height uint32, txHashs []common.Uint256)
94 //GetEventNotifyByTx return event notify by transaction hash
95 GetEventNotifyByTx(txHash common.Uint256) (*event.ExecuteNotify, error)
96 //Commit event notify to store

Callers 1

saveBlockToEventStoreMethod · 0.65

Implementers 1

EventStorecore/store/ledgerstore/event_store.go

Calls

no outgoing calls

Tested by

no test coverage detected