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

Method Counter

types.go:128–128  ·  view source on GitHub ↗

Counter returns the counter to be used in augmented merkle tree of a claim which contains many shares. This counter must be increasing as shares share coming. In other words, later share must have bigger counter.

()

Source from the content-addressed store, hash-verified

126 // which contains many shares. This counter must be increasing as shares
127 // share coming. In other words, later share must have bigger counter.
128 Counter() *big.Int
129 // Difficulty returns the difficulty of the share that miner has solved.
130 ShareDifficulty() *big.Int
131 // Hash return the hash of the share to be used as leaf hash of the augmented

Callers 4

LessMethod · 0.65
AcceptSolutionMethod · 0.65
_augElementHashFunction · 0.65

Implementers 2

testShareprotocol/test_share.go
Shareethereum/share.go

Calls

no outgoing calls

Tested by 1