MCPcopy Create free account
hub / github.com/DeAI-Artist/Linkis / Reset

Method Reset

mempool/cache.go:17–17  ·  view source on GitHub ↗

Reset resets the cache to an empty state.

()

Source from the content-addressed store, hash-verified

15type TxCache interface {
16 // Reset resets the cache to an empty state.
17 Reset()
18
19 // Push adds the given raw transaction to the cache and returns true if it was
20 // newly added. Otherwise, it returns false.

Callers 15

FlushMethod · 0.65
FlushMethod · 0.65
ResetMethod · 0.65
TestResetValidatorFunction · 0.65
SendRequestMethod · 0.65
timeoutRoutineMethod · 0.65
resetFilePVFunction · 0.65
clearConfigFunction · 0.65
resetTimeoutMethod · 0.65
resetStateTimerMethod · 0.65
timeoutRoutineMethod · 0.65

Implementers 2

LRUTxCachemempool/cache.go
NopTxCachemempool/cache.go

Calls

no outgoing calls

Tested by 5

TestResetValidatorFunction · 0.52
clearConfigFunction · 0.52
loadPrivValidatorFunction · 0.52
TestWALEncoderDecoderFunction · 0.52
benchmarkWalDecodeFunction · 0.52