package
3.0.0+incompatible
Repository: https://github.com/coschain/contentos-go.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package math provides integer math utilities.
No description provided by the author

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Fatalf formats a message to standard error and exits the program.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewUint128 returns a new Uint128 struct with default value.
NewUint128FromBigInt returns a new Uint128 struct with given value and have a check.
NewUint128FromFixedSizeBytes returns a new Uint128 struct with given fixed size byte array.
NewUint128FromFixedSizeByteSlice returns a new Uint128 struct with given fixed size byte slice.
NewUint128FromInt returns a new Uint128 struct with given value and have a check.
NewUint128FromString returns a new Uint128 struct with given value and have a check.
NewUint128FromUint returns a new Uint128 with given value.
No description provided by the author
No description provided by the author
No description provided by the author
Uint128Zero zero of uint128.
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Uint128Bits defines the number of bits for Uint128 type.
Uint128Bytes defines the number of bytes for Uint128 type.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ErrUint128InvalidBytesSize indicates the bytes size is not equal to Uint128Bytes.
ErrUint128InvalidString indicates the string is not valid when converted to uin128.
ErrUint128Overflow indicates the value is greater than uint128 maximum value 2^128.
ErrUint128Underflow indicates the value is smaller then uint128 minimum value 0.

# Structs

BlockID is a sha256 byte array, the first 2 byte is replaced by the block number.
No description provided by the author
Uint128 defines uint128 type, based on big.Int.

# Interfaces

BlockHeader ...
No description provided by the author
SignedBlock ...
SignedBlockHeader ...
No description provided by the author
No description provided by the author
No description provided by the author
Marshaller ...

# Type aliases

No description provided by the author
No description provided by the author