MCPcopy 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
62func NewWork(h *types.Header, ph string, sh string, diff *big.Int) *Work {
63 return &Work{h, ph, sh, diff, time.Now()}
64}

Callers 1

newTestWorkFunction · 0.85

Calls

no outgoing calls

Tested by 1

newTestWorkFunction · 0.68