Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SmartPool/smartpool-client
/ NewWork
Function
NewWork
ethereum/work.go:62–64 ·
view source on GitHub ↗
(h *types.Header, ph string, sh string, diff *big.Int)
Source
from the content-addressed store, hash-verified
60
}
61
62
func
NewWork(h *types.Header, ph string, sh string, diff *big.Int) *Work {
63
return
&Work{h, ph, sh, diff, time.Now()}
64
}
Callers
1
newTestWork
Function · 0.85
Calls
no outgoing calls
Tested by
1
newTestWork
Function · 0.68