Documentation ¶
Index ¶
- func ComputeHash(input []byte) []byte
- func ComputeStringHash(input string) []byte
- func DecodeReverseOrderVarUint64(bytes []byte) (uint64, int)
- func EncodeReverseOrderVarUint64(number uint64) []byte
- func GetSortedKeys(m interface{}) []string
- func GetValuesBySortedKeys(mapPtr interface{}, listPtr interface{})
- type TxValidationFlags
- func (obj TxValidationFlags) Flag(txIndex int) peer.TxValidationCode
- func (obj TxValidationFlags) IsInvalid(txIndex int) bool
- func (obj TxValidationFlags) IsSetTo(txIndex int, flag peer.TxValidationCode) bool
- func (obj TxValidationFlags) IsValid(txIndex int) bool
- func (obj TxValidationFlags) SetFlag(txIndex int, flag peer.TxValidationCode)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeHash ¶
func ComputeStringHash ¶
func GetSortedKeys ¶
func GetSortedKeys(m interface{}) []string
func GetValuesBySortedKeys ¶
func GetValuesBySortedKeys(mapPtr interface{}, listPtr interface{})
Types ¶
type TxValidationFlags ¶
type TxValidationFlags []uint8
func NewTxValidationFlags ¶
func NewTxValidationFlags(size int) TxValidationFlags
func NewTxValidationFlagsSetValue ¶
func NewTxValidationFlagsSetValue(size int, value peer.TxValidationCode) TxValidationFlags
func (TxValidationFlags) Flag ¶
func (obj TxValidationFlags) Flag(txIndex int) peer.TxValidationCode
func (TxValidationFlags) IsInvalid ¶
func (obj TxValidationFlags) IsInvalid(txIndex int) bool
func (TxValidationFlags) IsSetTo ¶
func (obj TxValidationFlags) IsSetTo(txIndex int, flag peer.TxValidationCode) bool
func (TxValidationFlags) IsValid ¶
func (obj TxValidationFlags) IsValid(txIndex int) bool
func (TxValidationFlags) SetFlag ¶
func (obj TxValidationFlags) SetFlag(txIndex int, flag peer.TxValidationCode)
Click to show internal directories.
Click to hide internal directories.