Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Big0 is 0 represented as type "math/big" Big0 = big.NewInt(0) // Big1 is 1 represented as type "math/big" Big1 = big.NewInt(1) // Big2Exp232 is 2^232 respresented as type "math/big" Big2Exp232 = util.BigExp(2, 232) // Big2Exp256 is 2^256 respresented as type "math/big" Big2Exp256 = util.BigExp(2, 256) )
Commonly used "math/big" type numbers
View Source
var ( // MaxUint256 is the maximum uint232 number represented as type "math/big" MaxUint232 = util.BigSub(Big2Exp232, Big1) // MaxUint256 is the maximum uint256 number represented as type "math/big" MaxUint256 = util.BigSub(Big2Exp256, Big1) )
Commonly used max values represented as type "math/big"
View Source
var ( // MaxTarget is the maximum target, which also represents the minimum // difficulty MaxTarget = MaxUint256 // MinTarget is the minimum target, which also represents the maximum // difficulty MinTarget = Big1 )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Source Files
¶
- big.go
Click to show internal directories.
Click to hide internal directories.