aboutsummaryrefslogtreecommitdiffstats
path: root/common/big.go
diff options
context:
space:
mode:
authorGustav Simonsson <gustav.simonsson@gmail.com>2015-10-07 00:39:42 +0800
committerGustav Simonsson <gustav.simonsson@gmail.com>2015-10-13 23:44:14 +0800
commit2db97986460c57ba74a563d97a704a45a270df7d (patch)
treeca25e74a5436945c20bb0b95281235d43a2d2167 /common/big.go
parent44fd3951410fb5923d7e578ac97942a7ea791e96 (diff)
downloaddexon-2db97986460c57ba74a563d97a704a45a270df7d.tar
dexon-2db97986460c57ba74a563d97a704a45a270df7d.tar.gz
dexon-2db97986460c57ba74a563d97a704a45a270df7d.tar.bz2
dexon-2db97986460c57ba74a563d97a704a45a270df7d.tar.lz
dexon-2db97986460c57ba74a563d97a704a45a270df7d.tar.xz
dexon-2db97986460c57ba74a563d97a704a45a270df7d.tar.zst
dexon-2db97986460c57ba74a563d97a704a45a270df7d.zip
common, crypto: add ICAP functions
Diffstat (limited to 'common/big.go')
-rw-r--r--common/big.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/big.go b/common/big.go
index a5d512d0d..4ce87ee0c 100644
--- a/common/big.go
+++ b/common/big.go
@@ -27,6 +27,9 @@ var (
BigTrue = Big1
BigFalse = Big0
Big32 = big.NewInt(32)
+ Big36 = big.NewInt(36)
+ Big97 = big.NewInt(97)
+ Big98 = big.NewInt(98)
Big256 = big.NewInt(0xff)
Big257 = big.NewInt(257)
MaxBig = String2Big("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff")