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

Method CounterBytes

mtree/aug_mt.go:30–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28}
29
30func (ad AugData) CounterBytes() []byte {
31 max := msbPadding(ad.Max.(*big.Int).Bytes(), 16)
32 min := msbPadding(ad.Min.(*big.Int).Bytes(), 16)
33 return append(max, min...)
34}
35
36type AugTree struct {
37 MerkleTree

Callers 2

CounterBranchArrayMethod · 0.95
_augHashFunction · 0.80

Calls 2

msbPaddingFunction · 0.85
BytesMethod · 0.45

Tested by

no test coverage detected