MCPcopy Create free account
hub / github.com/SmartPool/smartpool-client / Share

Struct Share

ethereum/share.go:21–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19)
20
21type Share struct {
22 blockHeader *types.Header
23 nonce types.BlockNonce
24 mixDigest common.Hash
25 shareDifficulty *big.Int
26 SolutionState int
27 dt *mtree.DagTree
28}
29
30func (s *Share) Difficulty() *big.Int { return s.blockHeader.Difficulty }
31func (s *Share) ShareDifficulty() *big.Int { return s.shareDifficulty }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected