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

Method Big

types.go:98–98  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

96func (h BranchElement) Str() string { return string(h[:]) }
97func (h BranchElement) Bytes() []byte { return h[:] }
98func (h BranchElement) Big() *big.Int { return BytesToBig(h[:]) }
99func (h BranchElement) Hex() string { return hexutil.Encode(h[:]) }
100
101func BranchElementFromHash(a, b SPHash) BranchElement {

Callers 2

CounterBranchArrayMethod · 0.95
HashBranchArrayMethod · 0.95

Calls 1

BytesToBigFunction · 0.85

Tested by

no test coverage detected