Documentation ¶
Index ¶
- func BytesToCurrency(bs []byte) string
- func CurrencyToBytes(currency string) []byte
- func CurrencyToUint256(str string) (ret keys.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 ShowStack()
- func Uint256SliceCut(is []keys.Uint256, l int) (ret []keys.Uint256)
- func Uint256ToCurrency(u *keys.Uint256) (ret string)
- func Uint64ToBytes(r uint64) []byte
- type Dirtys
- type H2Hash
- func (self *H2Hash) Add(id *keys.Uint256, hash *keys.Uint256)
- func (self *H2Hash) Clear()
- func (self *H2Hash) Del(id *keys.Uint256) (ret keys.Uint256)
- func (self *H2Hash) Get(id *keys.Uint256) (ret keys.Uint256)
- func (self *H2Hash) GetByDB(getter serodb.Getter, id *keys.Uint256) (ret keys.Uint256)
- func (self *H2Hash) GetByTri(tr tri.Tri, id *keys.Uint256) (ret keys.Uint256)
- func (self *H2Hash) K2Name(k *keys.Uint256) (ret []byte)
- func (self *H2Hash) SaveByDB(putter serodb.Putter, id *keys.Uint256)
- func (self *H2Hash) SaveByTri(tr tri.Tri, id *keys.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 keys.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 (b U256) MarshalJSON() ([]byte, error)
- func (self *U256) SubU(a *U256)
- func (self *U256) ToI256() (ret I256)
- func (b *U256) ToInt() *big.Int
- func (self *U256) ToIntRef() (ret *big.Int)
- func (self U256) ToRef() (ret *U256)
- func (self *U256) ToUint256() (ret keys.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 BytesToCurrency ¶
func CurrencyToBytes ¶
func CurrencyToUint256 ¶
func DecodeNumber ¶
func DecodeNumber32 ¶
func DeepSerial ¶
func DeepUnserial ¶
func EncodeNumber ¶
func EncodeNumber32 ¶
func Int64ToBytes ¶
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.