Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CPChain/chain
/ Now
Method
Now
commons/cache/lru_expire_cache.go:11–11 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
9
10
type
Clock
interface
{
11
Now() time.Time
12
}
13
14
type
realClock
struct
{}
Callers
15
Put
Method · 0.65
AllBefore
Method · 0.65
loop
Method · 0.65
promoteTx
Method · 0.65
addTx
Method · 0.65
updateLoop
Method · 0.65
InsertReceiptChain
Method · 0.65
insertChain
Method · 0.65
report
Method · 0.65
InsertHeaderChain
Method · 0.65
call
Method · 0.65
Create
Method · 0.65
Implementers
1
realClock
commons/cache/lru_expire_cache.go
Calls
no outgoing calls
Tested by
15
TestWatchNoDir
Function · 0.52
TestUpdatedKeyfileContents
Function · 0.52
TestSignRace
Function · 0.52
TestStatusLocked
Function · 0.52
TestStatusUnlocked
Function · 0.52
TestContainsTrue
Function · 0.52
TestContainsFalse
Function · 0.52
TestTokenBucket
Function · 0.52
generateNH
Function · 0.52
Test_dporHelper_verifyHeader
Function · 0.52
Test_dporHelper_verifyCascadingFields
Function · 0.52
Test_dporHelper_verifySeal
Function · 0.52