Documentation ¶
Index ¶
- func Base58Decode(str string, bytes []byte) (e error)
- func Base58Encode(bytes []byte) (ret *string)
- func BytesToCurrency(bs []byte) string
- func CurrencyToBytes(currency string) []byte
- func CurrencyToUint256(str string) (ret c_type.Uint256)
- func DecodeNumber(data []byte) uint64
- func DecodeNumber32(data []byte) uint32
- func DeepCopy(dst, src interface{})
- func DeepSerial(src interface{}) (ret bytes.Buffer)
- func DeepUnserial(buf *bytes.Buffer, dst interface{})
- func EncodeNumber(number uint64) []byte
- func EncodeNumber32(number uint32) []byte
- func Int64ToBytes(r int64) []byte
- func NewPKrChecker() (ret pkrsChecker)
- func ParseAmount(s string) (*big.Int, error)
- func ShowStack()
- func Uint256SliceCut(is []c_type.Uint256, l int) (ret []c_type.Uint256)
- func Uint256ToCurrency(u *c_type.Uint256) (ret string)
- func Uint64ToBytes(r uint64) []byte
- type Dirtys
- type H2Hash
- func (self *H2Hash) Add(id *c_type.Uint256, hash *c_type.Uint256)
- func (self *H2Hash) Clear()
- func (self *H2Hash) Del(id *c_type.Uint256) (ret c_type.Uint256)
- func (self *H2Hash) Get(id *c_type.Uint256) (ret c_type.Uint256)
- func (self *H2Hash) GetByDB(getter axisdb.Getter, id *c_type.Uint256) (ret c_type.Uint256)
- func (self *H2Hash) GetByTri(tr tri.Tri, id *c_type.Uint256) (ret c_type.Uint256)
- func (self *H2Hash) K2Name(k *c_type.Uint256) (ret []byte)
- func (self *H2Hash) SaveByDB(putter axisdb.Putter, id *c_type.Uint256)
- func (self *H2Hash) SaveByTri(tr tri.Tri, id *c_type.Uint256)
- type HSet
- type I256
- func (self I256) Abs() (ret U256)
- func (self *I256) AddI(a *I256)
- func (self *I256) AddU(a *U256)
- func (self *I256) Cmp(a *I256) int
- func (b *I256) DecodeRLP(s *rlp.Stream) error
- func (self I256) DeepCopy() interface{}
- func (b I256) EncodeRLP(w io.Writer) error
- func (z *I256) GobDecode(buf []byte) error
- func (x *I256) GobEncode() ([]byte, error)
- func (self I256) IsPositive() bool
- func (b I256) MarshalText() ([]byte, error)
- func (self *I256) Reverse()
- func (self *I256) SubI(a *I256)
- func (self *I256) SubU(a *U256)
- func (self *I256) ToIntRef() (ret *big.Int)
- func (self I256) ToRef() (ret *I256)
- func (self *I256) ToUint256() (ret c_type.Uint256)
- func (b *I256) UnmarshalJSON(input []byte) error
- func (b *I256) UnmarshalText(input []byte) error
- type Proc
- type Procs
- type ProcsPool
- type Progress
- type Runner
- type Snapshot
- type Snapshots
- type TimeRecord
- type U256
- func (self *U256) AddU(a *U256)
- func (self *U256) Cmp(a *U256) int
- func (b *U256) DecodeRLP(s *rlp.Stream) error
- func (self U256) DeepCopy() interface{}
- func (b U256) EncodeRLP(w io.Writer) error
- func (z *U256) GobDecode(buf []byte) error
- func (x *U256) GobEncode() ([]byte, error)
- func (self U256) IsValid() bool
- func (b U256) MarshalJSON() ([]byte, error)
- func (self *U256) SubU(a *U256)
- func (b *U256) ToBEBytes() (ret []byte)
- func (self *U256) ToI256() (ret I256)
- func (b *U256) ToInt() *big.Int
- func (self *U256) ToIntRef() (ret *big.Int)
- func (self *U256) ToLEBytes() (ret []byte)
- func (self U256) ToRef() (ret *U256)
- func (self *U256) ToUint256() (ret c_type.Uint256)
- func (b *U256) UnmarshalJSON(input []byte) error
- func (b *U256) UnmarshalText(input []byte) error
- type Uint256s
- type WorkChain
- type WorkResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Base58Decode ¶
func Base58Encode ¶
func BytesToCurrency ¶
func CurrencyToBytes ¶
func CurrencyToUint256 ¶
func DecodeNumber ¶
func DecodeNumber32 ¶
func DeepSerial ¶
func DeepUnserial ¶
func EncodeNumber ¶
func EncodeNumber32 ¶
func Int64ToBytes ¶
func NewPKrChecker ¶
func NewPKrChecker() (ret pkrsChecker)
func Uint256ToCurrency ¶
func Uint64ToBytes ¶
Types ¶
type I256 ¶
func (I256) IsPositive ¶
func (I256) MarshalText ¶
func (*I256) UnmarshalJSON ¶
func (*I256) UnmarshalText ¶
type ProcsPool ¶
type ProcsPool struct {
// contains filtered or unexported fields
}
func NewProcsPool ¶
type Progress ¶
type Progress struct {
// contains filtered or unexported fields
}
func NewProgress ¶
type TimeRecord ¶
type TimeRecord struct {
// contains filtered or unexported fields
}
func TR_enter ¶
func TR_enter(name string) (tr TimeRecord)
func TR_enter_f ¶
func TR_enter_f(name string) (tr TimeRecord)
func (*TimeRecord) Leave ¶
func (tr *TimeRecord) Leave() time.Duration
func (*TimeRecord) Renter ¶
func (tr *TimeRecord) Renter(name string)
type U256 ¶
func NewU256_ByKey ¶
func (U256) MarshalJSON ¶
func (*U256) UnmarshalJSON ¶
func (*U256) UnmarshalText ¶
type WorkChain ¶
type WorkChain struct {
// contains filtered or unexported fields
}
func NewWorkChain ¶
type WorkResult ¶
type WorkResult struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.