Documentation ¶
Index ¶
- Constants
- Variables
- func Uint256_To_Uint64(v *Uint256) (ret uint64)
- type Asset
- type BalanceDesc
- type Einfo
- type LICr
- type NetType
- type PKr
- func (self *PKr) BASEr() (ret Uint256)
- func (self *PKr) IsEndEmpty() bool
- func (b PKr) MarshalText() ([]byte, error)
- func (self PKr) NewRef() (ret *PKr)
- func (self *PKr) ToUint512() (ret Uint512)
- func (b *PKr) UnmarshalText(input []byte) error
- func (self *PKr) VPKr() (ret Uint256)
- func (self *PKr) ZPKr() (ret Uint256)
- type Proof
- type SignN
- type Tk
- type Uint128
- type Uint256
- type Uint512
Constants ¶
View Source
const DEPTH = 29
View Source
const ETEXT_WIDTH = 32 + 32 + 32 + 32 + 64
Currency+Value+Ticket+rPK+Memo
View Source
const INFO_WIDTH = 32 + 32 + 32 + 32 + 32 + 64
currency+value+category+value+rsk+memo
View Source
const PROOF_WIDTH = 131
Variables ¶
View Source
var Empty_PKr = PKr{}
View Source
var Empty_SignN = SignN{}
View Source
var Empty_Tk = Tk{}
View Source
var Empty_Uint256 = Uint256{}
View Source
var Empty_Uint512 = Uint512{}
Functions ¶
func Uint256_To_Uint64 ¶
Types ¶
type BalanceDesc ¶
type PKr ¶
type PKr [96]byte
func NewPKrByBytes ¶
func (*PKr) IsEndEmpty ¶
func (PKr) MarshalText ¶
func (*PKr) UnmarshalText ¶
type Uint128 ¶
type Uint128 [16]byte
func RandUint128 ¶
func RandUint128() (hash Uint128)
func (Uint128) MarshalText ¶
func (*Uint128) UnmarshalText ¶
type Uint256 ¶
type Uint256 [32]byte
func RandUint256 ¶
func RandUint256() (hash Uint256)
func Uint64_To_Uint256 ¶
func (Uint256) MarshalText ¶
func (*Uint256) UnmarshalText ¶
type Uint512 ¶
type Uint512 [64]byte
func RandUint512 ¶
func RandUint512() (hash Uint512)
func (Uint512) MarshalText ¶
func (*Uint512) UnmarshalText ¶
Click to show internal directories.
Click to hide internal directories.