Documentation ¶
Index ¶
- Variables
- func CheckAddNoexist(s *setting.Setting, h ...tx.Hash) ([]tx.Hash, error)
- func Confirm(s *setting.Setting, hs ...tx.Hash) ([]tx.Hash, error)
- func ExistInUnresolved(s *setting.Setting, h tx.Hash) (bool, error)
- func GetDistribution(s *setting.Setting) ([]int64, error)
- func GetFollowingHashes(s *setting.Setting, ls []tx.Hash) ([]tx.Hash, error)
- func GetHisoty(s *aklib.DBConfig, adrstr string, utxoOnly bool) ([]*tx.InoutHash, error)
- func GetLatestTxs(s *setting.Setting) ([]tx.Hash, error)
- func GetMinableTx(s *setting.Setting, h tx.Hash, typ tx.Type) (*tx.Transaction, error)
- func GetMultisig(bdb *bolt.DB, madr []byte) (*tx.MultisigStruct, error)
- func GetNoexist(s *setting.Setting) ([]tx.Hash, error)
- func GetOTATxs(bdb *bolt.DB, skip, max int) ([]tx.Hash, error)
- func GetOutput(s *aklib.DBConfig, ih *tx.InoutHash) (*tx.Output, error)
- func GetPendings(s *setting.Setting) ([]tx.Hash, error)
- func GetRandomFeeTx(s *setting.Setting, min uint64) (*tx.Transaction, error)
- func GetRandomTicketTx(s *setting.Setting) (*tx.Transaction, error)
- func GetRejected(s *setting.Setting) ([]tx.Hash, error)
- func GetTx(akdb *bolt.DB, hash []byte) (*tx.Transaction, error)
- func GetTxNo(s *setting.Setting) uint64
- func GetUnresolvedTxs(s *setting.Setting) ([]tx.Hash, error)
- func GetUnresolvedTxsNum(s *setting.Setting) (int, error)
- func Has(bdb *bolt.DB, hash []byte) (bool, error)
- func HasTxn(txn *bolt.Bucket, hash []byte) bool
- func Init(ctx context.Context, s *setting.Setting) error
- func Init4AKWallet(s *aklib.DBConfig) error
- func IsMinableTxValid(s *setting.Setting, tr *tx.Transaction) (bool, error)
- func IsValid(s *setting.Setting, tr *tx.Transaction, typ tx.Type) error
- func PostConfirm(s *setting.Setting, reject bool, hs ...tx.Hash) error
- func PreviousMultisigOutput(s *setting.Setting, in *tx.MultiSigIn) (*tx.MultiSigOut, error)
- func PreviousOutput(s *setting.Setting, in *tx.Input) (*tx.Output, error)
- func PutAddressToTx(txn *bolt.Bucket, tr *TxInfo) error
- func PutMinableTxn(s *setting.Setting, txn *bolt.Bucket, tr *tx.Transaction, typ tx.Type) error
- func PutRawTxDirect(s *aklib.DBConfig, trs ...*tx.Transaction) error
- func PutTx(s *setting.Setting, tr *tx.Transaction) error
- func PutTxInfoTxn(txn *bolt.Bucket, ti *TxInfo) error
- func SetSpent(txn *bolt.Bucket, h tx.Hash, isAccepted bool) error
- func SetUsedByMinable(bdb *bolt.DB, tr *tx.Transaction, typ tx.Type) error
- func SortByDate(bdb *bolt.DB, inout []*tx.InoutHash, ascend bool) error
- type Balance
- func (*Balance) Descriptor() ([]byte, []int)
- func (this *Balance) Equal(that interface{}) bool
- func (m *Balance) Marshal() (dAtA []byte, err error)
- func (m *Balance) MarshalTo(dAtA []byte) (int, error)
- func (*Balance) ProtoMessage()
- func (m *Balance) Reset()
- func (m *Balance) Size() (n int)
- func (m *Balance) String() string
- func (m *Balance) Unmarshal(dAtA []byte) error
- func (m *Balance) XXX_DiscardUnknown()
- func (m *Balance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Balance) XXX_Merge(src proto.Message)
- func (m *Balance) XXX_Size() int
- func (m *Balance) XXX_Unmarshal(b []byte) error
- type Body
- func (*Body) Descriptor() ([]byte, []int)
- func (this *Body) Equal(that interface{}) bool
- func (m *Body) Marshal() (dAtA []byte, err error)
- func (m *Body) MarshalTo(dAtA []byte) (int, error)
- func (*Body) ProtoMessage()
- func (m *Body) Reset()
- func (m *Body) Size() (n int)
- func (m *Body) String() string
- func (m *Body) Unmarshal(dAtA []byte) error
- func (m *Body) XXX_DiscardUnknown()
- func (m *Body) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Body) XXX_Merge(src proto.Message)
- func (m *Body) XXX_Size() int
- func (m *Body) XXX_Unmarshal(b []byte) error
- type Distribution
- func (*Distribution) Descriptor() ([]byte, []int)
- func (this *Distribution) Equal(that interface{}) bool
- func (m *Distribution) Marshal() (dAtA []byte, err error)
- func (m *Distribution) MarshalTo(dAtA []byte) (int, error)
- func (*Distribution) ProtoMessage()
- func (m *Distribution) Reset()
- func (m *Distribution) Size() (n int)
- func (m *Distribution) String() string
- func (m *Distribution) Unmarshal(dAtA []byte) error
- func (m *Distribution) XXX_DiscardUnknown()
- func (m *Distribution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Distribution) XXX_Merge(src proto.Message)
- func (m *Distribution) XXX_Size() int
- func (m *Distribution) XXX_Unmarshal(b []byte) error
- type InoutHash
- func (*InoutHash) Descriptor() ([]byte, []int)
- func (this *InoutHash) Equal(that interface{}) bool
- func (m *InoutHash) Marshal() (dAtA []byte, err error)
- func (m *InoutHash) MarshalTo(dAtA []byte) (int, error)
- func (*InoutHash) ProtoMessage()
- func (m *InoutHash) Reset()
- func (m *InoutHash) Size() (n int)
- func (m *InoutHash) String() string
- func (m *InoutHash) Unmarshal(dAtA []byte) error
- func (m *InoutHash) XXX_DiscardUnknown()
- func (m *InoutHash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *InoutHash) XXX_Merge(src proto.Message)
- func (m *InoutHash) XXX_Size() int
- func (m *InoutHash) XXX_Unmarshal(b []byte) error
- type Input
- func (*Input) Descriptor() ([]byte, []int)
- func (this *Input) Equal(that interface{}) bool
- func (m *Input) Marshal() (dAtA []byte, err error)
- func (m *Input) MarshalTo(dAtA []byte) (int, error)
- func (*Input) ProtoMessage()
- func (m *Input) Reset()
- func (m *Input) Size() (n int)
- func (m *Input) String() string
- func (m *Input) Unmarshal(dAtA []byte) error
- func (m *Input) XXX_DiscardUnknown()
- func (m *Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Input) XXX_Merge(src proto.Message)
- func (m *Input) XXX_Size() int
- func (m *Input) XXX_Unmarshal(b []byte) error
- type LatestTxs
- func (*LatestTxs) Descriptor() ([]byte, []int)
- func (this *LatestTxs) Equal(that interface{}) bool
- func (m *LatestTxs) Marshal() (dAtA []byte, err error)
- func (m *LatestTxs) MarshalTo(dAtA []byte) (int, error)
- func (*LatestTxs) ProtoMessage()
- func (m *LatestTxs) Reset()
- func (m *LatestTxs) Size() (n int)
- func (m *LatestTxs) String() string
- func (m *LatestTxs) Unmarshal(dAtA []byte) error
- func (m *LatestTxs) XXX_DiscardUnknown()
- func (m *LatestTxs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *LatestTxs) XXX_Merge(src proto.Message)
- func (m *LatestTxs) XXX_Size() int
- func (m *LatestTxs) XXX_Unmarshal(b []byte) error
- type MultiSigIn
- func (*MultiSigIn) Descriptor() ([]byte, []int)
- func (this *MultiSigIn) Equal(that interface{}) bool
- func (m *MultiSigIn) Marshal() (dAtA []byte, err error)
- func (m *MultiSigIn) MarshalTo(dAtA []byte) (int, error)
- func (*MultiSigIn) ProtoMessage()
- func (m *MultiSigIn) Reset()
- func (m *MultiSigIn) Size() (n int)
- func (m *MultiSigIn) String() string
- func (m *MultiSigIn) Unmarshal(dAtA []byte) error
- func (m *MultiSigIn) XXX_DiscardUnknown()
- func (m *MultiSigIn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *MultiSigIn) XXX_Merge(src proto.Message)
- func (m *MultiSigIn) XXX_Size() int
- func (m *MultiSigIn) XXX_Unmarshal(b []byte) error
- type MultiSigOut
- func (*MultiSigOut) Descriptor() ([]byte, []int)
- func (this *MultiSigOut) Equal(that interface{}) bool
- func (m *MultiSigOut) Marshal() (dAtA []byte, err error)
- func (m *MultiSigOut) MarshalTo(dAtA []byte) (int, error)
- func (*MultiSigOut) ProtoMessage()
- func (m *MultiSigOut) Reset()
- func (m *MultiSigOut) Size() (n int)
- func (m *MultiSigOut) String() string
- func (m *MultiSigOut) Unmarshal(dAtA []byte) error
- func (m *MultiSigOut) XXX_DiscardUnknown()
- func (m *MultiSigOut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *MultiSigOut) XXX_Merge(src proto.Message)
- func (m *MultiSigOut) XXX_Size() int
- func (m *MultiSigOut) XXX_Unmarshal(b []byte) error
- type MultisigStruct
- func (*MultisigStruct) Descriptor() ([]byte, []int)
- func (this *MultisigStruct) Equal(that interface{}) bool
- func (m *MultisigStruct) Marshal() (dAtA []byte, err error)
- func (m *MultisigStruct) MarshalTo(dAtA []byte) (int, error)
- func (*MultisigStruct) ProtoMessage()
- func (m *MultisigStruct) Reset()
- func (m *MultisigStruct) Size() (n int)
- func (m *MultisigStruct) String() string
- func (m *MultisigStruct) Unmarshal(dAtA []byte) error
- func (m *MultisigStruct) XXX_DiscardUnknown()
- func (m *MultisigStruct) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *MultisigStruct) XXX_Merge(src proto.Message)
- func (m *MultisigStruct) XXX_Size() int
- func (m *MultisigStruct) XXX_Unmarshal(b []byte) error
- type Output
- func (*Output) Descriptor() ([]byte, []int)
- func (this *Output) Equal(that interface{}) bool
- func (m *Output) Marshal() (dAtA []byte, err error)
- func (m *Output) MarshalTo(dAtA []byte) (int, error)
- func (*Output) ProtoMessage()
- func (m *Output) Reset()
- func (m *Output) Size() (n int)
- func (m *Output) String() string
- func (m *Output) Unmarshal(dAtA []byte) error
- func (m *Output) XXX_DiscardUnknown()
- func (m *Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Output) XXX_Merge(src proto.Message)
- func (m *Output) XXX_Size() int
- func (m *Output) XXX_Unmarshal(b []byte) error
- type OutputStats
- func (*OutputStats) Descriptor() ([]byte, []int)
- func (this *OutputStats) Equal(that interface{}) bool
- func (m *OutputStats) Marshal() (dAtA []byte, err error)
- func (m *OutputStats) MarshalTo(dAtA []byte) (int, error)
- func (*OutputStats) ProtoMessage()
- func (m *OutputStats) Reset()
- func (m *OutputStats) Size() (n int)
- func (m *OutputStats) String() string
- func (m *OutputStats) Unmarshal(dAtA []byte) error
- func (m *OutputStats) XXX_DiscardUnknown()
- func (m *OutputStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *OutputStats) XXX_Merge(src proto.Message)
- func (m *OutputStats) XXX_Size() int
- func (m *OutputStats) XXX_Unmarshal(b []byte) error
- type OutputStatus
- func (*OutputStatus) Descriptor() ([]byte, []int)
- func (this *OutputStatus) Equal(that interface{}) bool
- func (m *OutputStatus) Marshal() (dAtA []byte, err error)
- func (m *OutputStatus) MarshalTo(dAtA []byte) (int, error)
- func (*OutputStatus) ProtoMessage()
- func (m *OutputStatus) Reset()
- func (m *OutputStatus) Size() (n int)
- func (m *OutputStatus) String() string
- func (m *OutputStatus) Unmarshal(dAtA []byte) error
- func (m *OutputStatus) XXX_DiscardUnknown()
- func (m *OutputStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *OutputStatus) XXX_Merge(src proto.Message)
- func (m *OutputStatus) XXX_Size() int
- func (m *OutputStatus) XXX_Unmarshal(b []byte) error
- type PrevToTx
- func (*PrevToTx) Descriptor() ([]byte, []int)
- func (this *PrevToTx) Equal(that interface{}) bool
- func (m *PrevToTx) Marshal() (dAtA []byte, err error)
- func (m *PrevToTx) MarshalTo(dAtA []byte) (int, error)
- func (*PrevToTx) ProtoMessage()
- func (m *PrevToTx) Reset()
- func (m *PrevToTx) Size() (n int)
- func (m *PrevToTx) String() string
- func (m *PrevToTx) Unmarshal(dAtA []byte) error
- func (m *PrevToTx) XXX_DiscardUnknown()
- func (m *PrevToTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PrevToTx) XXX_Merge(src proto.Message)
- func (m *PrevToTx) XXX_Size() int
- func (m *PrevToTx) XXX_Unmarshal(b []byte) error
- type Richlist
- func (*Richlist) Descriptor() ([]byte, []int)
- func (this *Richlist) Equal(that interface{}) bool
- func (m *Richlist) Marshal() (dAtA []byte, err error)
- func (m *Richlist) MarshalTo(dAtA []byte) (int, error)
- func (*Richlist) ProtoMessage()
- func (m *Richlist) Reset()
- func (m *Richlist) Size() (n int)
- func (m *Richlist) String() string
- func (m *Richlist) Unmarshal(dAtA []byte) error
- func (m *Richlist) XXX_DiscardUnknown()
- func (m *Richlist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Richlist) XXX_Merge(src proto.Message)
- func (m *Richlist) XXX_Size() int
- func (m *Richlist) XXX_Unmarshal(b []byte) error
- type Status
- type Time
- func (*Time) Descriptor() ([]byte, []int)
- func (this *Time) Equal(that interface{}) bool
- func (m *Time) Marshal() (dAtA []byte, err error)
- func (m *Time) MarshalTo(dAtA []byte) (int, error)
- func (*Time) ProtoMessage()
- func (m *Time) Reset()
- func (m *Time) Size() (n int)
- func (m *Time) String() string
- func (m *Time) Unmarshal(dAtA []byte) error
- func (m *Time) XXX_DiscardUnknown()
- func (m *Time) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Time) XXX_Merge(src proto.Message)
- func (m *Time) XXX_Size() int
- func (m *Time) XXX_Unmarshal(b []byte) error
- type Transaction
- func (*Transaction) Descriptor() ([]byte, []int)
- func (this *Transaction) Equal(that interface{}) bool
- func (m *Transaction) Marshal() (dAtA []byte, err error)
- func (m *Transaction) MarshalTo(dAtA []byte) (int, error)
- func (*Transaction) ProtoMessage()
- func (m *Transaction) Reset()
- func (m *Transaction) Size() (n int)
- func (m *Transaction) String() string
- func (m *Transaction) Unmarshal(dAtA []byte) error
- func (m *Transaction) XXX_DiscardUnknown()
- func (m *Transaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Transaction) XXX_Merge(src proto.Message)
- func (m *Transaction) XXX_Size() int
- func (m *Transaction) XXX_Unmarshal(b []byte) error
- type TxInfo
- func (*TxInfo) Descriptor() ([]byte, []int)
- func (this *TxInfo) Equal(that interface{}) bool
- func (ti *TxInfo) GetLocalStatus() Status
- func (m *TxInfo) Marshal() (dAtA []byte, err error)
- func (m *TxInfo) MarshalTo(dAtA []byte) (int, error)
- func (*TxInfo) ProtoMessage()
- func (ti *TxInfo) Put(akdb *bolt.DB) error
- func (m *TxInfo) Reset()
- func (m *TxInfo) Size() (n int)
- func (m *TxInfo) String() string
- func (m *TxInfo) Unmarshal(dAtA []byte) error
- func (m *TxInfo) XXX_DiscardUnknown()
- func (m *TxInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TxInfo) XXX_Merge(src proto.Message)
- func (m *TxInfo) XXX_Size() int
- func (m *TxInfo) XXX_Unmarshal(b []byte) error
- type TxWithType
- func (*TxWithType) Descriptor() ([]byte, []int)
- func (this *TxWithType) Equal(that interface{}) bool
- func (m *TxWithType) Marshal() (dAtA []byte, err error)
- func (m *TxWithType) MarshalTo(dAtA []byte) (int, error)
- func (*TxWithType) ProtoMessage()
- func (m *TxWithType) Reset()
- func (m *TxWithType) Size() (n int)
- func (m *TxWithType) String() string
- func (m *TxWithType) Unmarshal(dAtA []byte) error
- func (m *TxWithType) XXX_DiscardUnknown()
- func (m *TxWithType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TxWithType) XXX_Merge(src proto.Message)
- func (m *TxWithType) XXX_Size() int
- func (m *TxWithType) XXX_Unmarshal(b []byte) error
- type UnresolvedPrevHashes
- func (*UnresolvedPrevHashes) Descriptor() ([]byte, []int)
- func (this *UnresolvedPrevHashes) Equal(that interface{}) bool
- func (m *UnresolvedPrevHashes) Marshal() (dAtA []byte, err error)
- func (m *UnresolvedPrevHashes) MarshalTo(dAtA []byte) (int, error)
- func (*UnresolvedPrevHashes) ProtoMessage()
- func (m *UnresolvedPrevHashes) Reset()
- func (m *UnresolvedPrevHashes) Size() (n int)
- func (m *UnresolvedPrevHashes) String() string
- func (m *UnresolvedPrevHashes) Unmarshal(dAtA []byte) error
- func (m *UnresolvedPrevHashes) XXX_DiscardUnknown()
- func (m *UnresolvedPrevHashes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UnresolvedPrevHashes) XXX_Merge(src proto.Message)
- func (m *UnresolvedPrevHashes) XXX_Size() int
- func (m *UnresolvedPrevHashes) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthImesh = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowImesh = fmt.Errorf("proto: integer overflow") )
var Genesis *tx.Transaction
Genesis is the genesis tx.
var (
StatusGenesis uint32 = 1
)
Status is a status for tx.
Functions ¶
func CheckAddNoexist ¶
CheckAddNoexist puts h to noexist db if not exist in imesh db and unresolved db. This func returns true if h alreaady exist in db.
func ExistInUnresolved ¶
ExistInUnresolved returns true if h is now in unresolved db.
func GetDistribution ¶
GetDistribution get the ADK distribution.
func GetFollowingHashes ¶
GetFollowingHashes returns hashes whose number are following ones of ls.
func GetHisoty ¶
GetHisoty returns utxo (or all outputs) and input hashes associated with address adr.
func GetLatestTxs ¶
GetLatestTxs returns 5 latest transactions received.
func GetMinableTx ¶
GetMinableTx gets a minable transaction into db.
func GetMultisig ¶
GetMultisig returns a Multisig structure whose address is madr.
func GetNoexist ¶
GetNoexist get noexist txs. #txs won't be more than 1000.
func GetOutput ¶
GetOutput returns an output related to InOutHash ih. If ih is output, returns the output specified by ih. If ih is input, return output referred by the input.
func GetPendings ¶
GetPendings gets all pending txs.
func GetRandomFeeTx ¶
GetRandomFeeTx gets a fee minable transaction from db.
func GetRandomTicketTx ¶
func GetRandomTicketTx(s *setting.Setting) (*tx.Transaction, error)
GetRandomTicketTx gets a ticket minable transaction from db.
func GetRejected ¶
GetRejected gets all rejected txs.
func GetUnresolvedTxs ¶
GetUnresolvedTxs returns unresolved txs
func GetUnresolvedTxsNum ¶
GetUnresolvedTxsNum returns the number of unresolved txs
func Init4AKWallet ¶
Init4AKWallet initialize imesh db and unresolved txs.
func IsMinableTxValid ¶
IsMinableTxValid returns true if all inputs are not used in imesh.
func PostConfirm ¶
PostConfirm remove lock flags from all inputs of h if needed.
func PreviousMultisigOutput ¶
func PreviousMultisigOutput(s *setting.Setting, in *tx.MultiSigIn) (*tx.MultiSigOut, error)
PreviousMultisigOutput returns an output of the multisig input tx.
func PreviousOutput ¶
PreviousOutput returns an output of the input tx.
func PutAddressToTx ¶
PutAddressToTx stores related addresses with tr. should be called synchonously
func PutMinableTxn ¶
PutMinableTxn puts a minable tx.
func PutRawTxDirect ¶
func PutRawTxDirect(s *aklib.DBConfig, trs ...*tx.Transaction) error
PutRawTxDirect puts a transaction into db without checking tx relation.. It should be used only from wallet
func PutTx ¶
func PutTx(s *setting.Setting, tr *tx.Transaction) error
PutTx puts a transaction into db. test only
func PutTxInfoTxn ¶
PutTxInfoTxn puts an TxInfo
func SetUsedByMinable ¶
SetUsedByMinable sets used by minable for all inputs of tr. should be only used by akwallet.
Types ¶
type Balance ¶
type Balance struct {
Bal int64 `protobuf:"varint,1,opt,name=bal,proto3" json:"bal,omitempty"`
}
func NewPopulatedBalance ¶
func (*Balance) Descriptor ¶
func (*Balance) ProtoMessage ¶
func (*Balance) ProtoMessage()
func (*Balance) XXX_DiscardUnknown ¶
func (m *Balance) XXX_DiscardUnknown()
func (*Balance) XXX_Marshal ¶
func (*Balance) XXX_Unmarshal ¶
type Body ¶
type Body struct { Nonce []uint32 `protobuf:"varint,1,rep,packed,name=nonce,proto3" json:"nonce,omitempty"` Gnonce uint32 `protobuf:"varint,2,opt,name=gnonce,proto3" json:"gnonce,omitempty"` Time time.Time `protobuf:"bytes,3,opt,name=time,proto3,stdtime" json:"time"` Message github_com_AidosKuneen_aklib_tx.ByteSlice `protobuf:"bytes,4,opt,name=message,proto3,casttype=github.com/AidosKuneen/aklib/tx.ByteSlice" json:"message,omitempty"` ExchangeKey []byte `protobuf:"bytes,5,opt,name=exchange_key,json=exchangeKey,proto3" json:"exchange_key,omitempty"` Inputs []*Input `protobuf:"bytes,6,rep,name=inputs,proto3" json:"inputs,omitempty"` MultiSigIns []*MultiSigIn `protobuf:"bytes,7,rep,name=multi_sig_ins,json=multiSigIns,proto3" json:"multi_sig_ins,omitempty"` Outputs []*Output `protobuf:"bytes,8,rep,name=outputs,proto3" json:"outputs,omitempty"` MultiSigOuts []*MultiSigOut `protobuf:"bytes,9,rep,name=multi_sig_outs,json=multiSigOuts,proto3" json:"multi_sig_outs,omitempty"` Parent []uint64 `protobuf:"varint,10,rep,packed,name=parent,proto3" json:"parent,omitempty"` Easiness uint32 `protobuf:"varint,11,opt,name=easiness,proto3" json:"easiness,omitempty"` LockTime time.Time `protobuf:"bytes,12,opt,name=lock_time,json=lockTime,proto3,stdtime" json:"lock_time"` HashType uint16 `protobuf:"varint,13,opt,name=hash_type,json=hashType,proto3,casttype=uint16" json:"hash_type,omitempty"` TicketInput uint64 `protobuf:"varint,14,opt,name=ticket_input,json=ticketInput,proto3" json:"ticket_input,omitempty"` TicketOutput uint64 `protobuf:"varint,15,opt,name=ticket_output,json=ticketOutput,proto3" json:"ticket_output,omitempty"` }
Body is a Transactoin except signature.
func NewPopulatedBody ¶
func (*Body) Descriptor ¶
func (*Body) ProtoMessage ¶
func (*Body) ProtoMessage()
func (*Body) XXX_DiscardUnknown ¶
func (m *Body) XXX_DiscardUnknown()
func (*Body) XXX_Unmarshal ¶
type Distribution ¶
type Distribution struct {
Dist []int64 `protobuf:"varint,1,rep,packed,name=dist,proto3" json:"dist,omitempty"`
}
Distribution is the distribution of ADK holders.
func NewPopulatedDistribution ¶
func NewPopulatedDistribution(r randyImesh, easy bool) *Distribution
func (*Distribution) Descriptor ¶
func (*Distribution) Descriptor() ([]byte, []int)
func (*Distribution) Equal ¶
func (this *Distribution) Equal(that interface{}) bool
func (*Distribution) Marshal ¶
func (m *Distribution) Marshal() (dAtA []byte, err error)
func (*Distribution) ProtoMessage ¶
func (*Distribution) ProtoMessage()
func (*Distribution) Reset ¶
func (m *Distribution) Reset()
func (*Distribution) Size ¶
func (m *Distribution) Size() (n int)
func (*Distribution) String ¶
func (m *Distribution) String() string
func (*Distribution) Unmarshal ¶
func (m *Distribution) Unmarshal(dAtA []byte) error
func (*Distribution) XXX_DiscardUnknown ¶
func (m *Distribution) XXX_DiscardUnknown()
func (*Distribution) XXX_Marshal ¶
func (m *Distribution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Distribution) XXX_Merge ¶
func (dst *Distribution) XXX_Merge(src proto.Message)
func (*Distribution) XXX_Size ¶
func (m *Distribution) XXX_Size() int
func (*Distribution) XXX_Unmarshal ¶
func (m *Distribution) XXX_Unmarshal(b []byte) error
type InoutHash ¶
type InoutHash struct { Tx uint64 `protobuf:"varint,1,opt,name=tx,proto3" json:"tx,omitempty"` Type github_com_AidosKuneen_aklib_tx.InOutHashType `protobuf:"varint,2,opt,name=type,proto3,casttype=github.com/AidosKuneen/aklib/tx.InOutHashType" json:"type,omitempty"` Index byte `protobuf:"varint,3,opt,name=index,proto3,casttype=byte" json:"index,omitempty"` }
func NewPopulatedInoutHash ¶
func (*InoutHash) Descriptor ¶
func (*InoutHash) ProtoMessage ¶
func (*InoutHash) ProtoMessage()
func (*InoutHash) XXX_DiscardUnknown ¶
func (m *InoutHash) XXX_DiscardUnknown()
func (*InoutHash) XXX_Marshal ¶
func (*InoutHash) XXX_Unmarshal ¶
type Input ¶
type Input struct { PreviousTX uint64 `protobuf:"varint,1,opt,name=previous_tx,json=previousTx,proto3" json:"previous_tx,omitempty"` Index byte `protobuf:"varint,2,opt,name=index,proto3,casttype=byte" json:"index,omitempty"` }
Input is an input in transactions.
func NewPopulatedInput ¶
func (*Input) Descriptor ¶
func (*Input) ProtoMessage ¶
func (*Input) ProtoMessage()
func (*Input) XXX_DiscardUnknown ¶
func (m *Input) XXX_DiscardUnknown()
func (*Input) XXX_Marshal ¶
func (*Input) XXX_Unmarshal ¶
type LatestTxs ¶
type LatestTxs struct {
Txs []github_com_AidosKuneen_aklib_tx.Hash `protobuf:"bytes,1,rep,name=txs,proto3,casttype=github.com/AidosKuneen/aklib/tx.Hash" json:"txs,omitempty"`
}
func NewPopulatedLatestTxs ¶
func (*LatestTxs) Descriptor ¶
func (*LatestTxs) ProtoMessage ¶
func (*LatestTxs) ProtoMessage()
func (*LatestTxs) XXX_DiscardUnknown ¶
func (m *LatestTxs) XXX_DiscardUnknown()
func (*LatestTxs) XXX_Marshal ¶
func (*LatestTxs) XXX_Unmarshal ¶
type MultiSigIn ¶
type MultiSigIn struct { PreviousTX uint64 `protobuf:"varint,1,opt,name=previous_tx,json=previousTx,proto3" json:"previous_tx,omitempty"` Index byte `protobuf:"varint,2,opt,name=index,proto3,casttype=byte" json:"index,omitempty"` }
MultiSigIn is an multisig input in transactions.
func NewPopulatedMultiSigIn ¶
func NewPopulatedMultiSigIn(r randyImesh, easy bool) *MultiSigIn
func (*MultiSigIn) Descriptor ¶
func (*MultiSigIn) Descriptor() ([]byte, []int)
func (*MultiSigIn) Equal ¶
func (this *MultiSigIn) Equal(that interface{}) bool
func (*MultiSigIn) Marshal ¶
func (m *MultiSigIn) Marshal() (dAtA []byte, err error)
func (*MultiSigIn) ProtoMessage ¶
func (*MultiSigIn) ProtoMessage()
func (*MultiSigIn) Reset ¶
func (m *MultiSigIn) Reset()
func (*MultiSigIn) Size ¶
func (m *MultiSigIn) Size() (n int)
func (*MultiSigIn) String ¶
func (m *MultiSigIn) String() string
func (*MultiSigIn) Unmarshal ¶
func (m *MultiSigIn) Unmarshal(dAtA []byte) error
func (*MultiSigIn) XXX_DiscardUnknown ¶
func (m *MultiSigIn) XXX_DiscardUnknown()
func (*MultiSigIn) XXX_Marshal ¶
func (m *MultiSigIn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MultiSigIn) XXX_Merge ¶
func (dst *MultiSigIn) XXX_Merge(src proto.Message)
func (*MultiSigIn) XXX_Size ¶
func (m *MultiSigIn) XXX_Size() int
func (*MultiSigIn) XXX_Unmarshal ¶
func (m *MultiSigIn) XXX_Unmarshal(b []byte) error
type MultiSigOut ¶
type MultiSigOut struct { MultisigStruct `protobuf:"bytes,1,opt,name=multisig_struct,json=multisigStruct,proto3,embedded=multisig_struct" json:"multisig_struct"` Value uint64 `protobuf:"varint,3,opt,name=value,proto3" json:"value,omitempty"` }
MultiSigOut is an multisig output in transactions.
func NewPopulatedMultiSigOut ¶
func NewPopulatedMultiSigOut(r randyImesh, easy bool) *MultiSigOut
func (*MultiSigOut) Descriptor ¶
func (*MultiSigOut) Descriptor() ([]byte, []int)
func (*MultiSigOut) Equal ¶
func (this *MultiSigOut) Equal(that interface{}) bool
func (*MultiSigOut) Marshal ¶
func (m *MultiSigOut) Marshal() (dAtA []byte, err error)
func (*MultiSigOut) ProtoMessage ¶
func (*MultiSigOut) ProtoMessage()
func (*MultiSigOut) Reset ¶
func (m *MultiSigOut) Reset()
func (*MultiSigOut) Size ¶
func (m *MultiSigOut) Size() (n int)
func (*MultiSigOut) String ¶
func (m *MultiSigOut) String() string
func (*MultiSigOut) Unmarshal ¶
func (m *MultiSigOut) Unmarshal(dAtA []byte) error
func (*MultiSigOut) XXX_DiscardUnknown ¶
func (m *MultiSigOut) XXX_DiscardUnknown()
func (*MultiSigOut) XXX_Marshal ¶
func (m *MultiSigOut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MultiSigOut) XXX_Merge ¶
func (dst *MultiSigOut) XXX_Merge(src proto.Message)
func (*MultiSigOut) XXX_Size ¶
func (m *MultiSigOut) XXX_Size() int
func (*MultiSigOut) XXX_Unmarshal ¶
func (m *MultiSigOut) XXX_Unmarshal(b []byte) error
type MultisigStruct ¶
type MultisigStruct struct { M byte `protobuf:"varint,1,opt,name=m,proto3,casttype=byte" json:"m,omitempty"` Addresses []uint64 `protobuf:"varint,2,rep,packed,name=addresses,proto3" json:"addresses,omitempty"` }
MultisigStruct is a structure of multisig.
func NewPopulatedMultisigStruct ¶
func NewPopulatedMultisigStruct(r randyImesh, easy bool) *MultisigStruct
func (*MultisigStruct) Descriptor ¶
func (*MultisigStruct) Descriptor() ([]byte, []int)
func (*MultisigStruct) Equal ¶
func (this *MultisigStruct) Equal(that interface{}) bool
func (*MultisigStruct) Marshal ¶
func (m *MultisigStruct) Marshal() (dAtA []byte, err error)
func (*MultisigStruct) ProtoMessage ¶
func (*MultisigStruct) ProtoMessage()
func (*MultisigStruct) Reset ¶
func (m *MultisigStruct) Reset()
func (*MultisigStruct) Size ¶
func (m *MultisigStruct) Size() (n int)
func (*MultisigStruct) String ¶
func (m *MultisigStruct) String() string
func (*MultisigStruct) Unmarshal ¶
func (m *MultisigStruct) Unmarshal(dAtA []byte) error
func (*MultisigStruct) XXX_DiscardUnknown ¶
func (m *MultisigStruct) XXX_DiscardUnknown()
func (*MultisigStruct) XXX_Marshal ¶
func (m *MultisigStruct) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MultisigStruct) XXX_Merge ¶
func (dst *MultisigStruct) XXX_Merge(src proto.Message)
func (*MultisigStruct) XXX_Size ¶
func (m *MultisigStruct) XXX_Size() int
func (*MultisigStruct) XXX_Unmarshal ¶
func (m *MultisigStruct) XXX_Unmarshal(b []byte) error
type Output ¶
type Output struct { Address uint64 `protobuf:"varint,1,opt,name=address,proto3" json:"address,omitempty"` Value uint64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` }
Output is an output in transactions.
func NewPopulatedOutput ¶
func (*Output) Descriptor ¶
func (*Output) ProtoMessage ¶
func (*Output) ProtoMessage()
func (*Output) XXX_DiscardUnknown ¶
func (m *Output) XXX_DiscardUnknown()
func (*Output) XXX_Marshal ¶
func (*Output) XXX_Unmarshal ¶
type OutputStats ¶
type OutputStats struct {
Stat []OutputStatus `protobuf:"bytes,1,rep,name=stat,proto3" json:"stat"`
}
func NewPopulatedOutputStats ¶
func NewPopulatedOutputStats(r randyImesh, easy bool) *OutputStats
func (*OutputStats) Descriptor ¶
func (*OutputStats) Descriptor() ([]byte, []int)
func (*OutputStats) Equal ¶
func (this *OutputStats) Equal(that interface{}) bool
func (*OutputStats) Marshal ¶
func (m *OutputStats) Marshal() (dAtA []byte, err error)
func (*OutputStats) ProtoMessage ¶
func (*OutputStats) ProtoMessage()
func (*OutputStats) Reset ¶
func (m *OutputStats) Reset()
func (*OutputStats) Size ¶
func (m *OutputStats) Size() (n int)
func (*OutputStats) String ¶
func (m *OutputStats) String() string
func (*OutputStats) Unmarshal ¶
func (m *OutputStats) Unmarshal(dAtA []byte) error
func (*OutputStats) XXX_DiscardUnknown ¶
func (m *OutputStats) XXX_DiscardUnknown()
func (*OutputStats) XXX_Marshal ¶
func (m *OutputStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OutputStats) XXX_Merge ¶
func (dst *OutputStats) XXX_Merge(src proto.Message)
func (*OutputStats) XXX_Size ¶
func (m *OutputStats) XXX_Size() int
func (*OutputStats) XXX_Unmarshal ¶
func (m *OutputStats) XXX_Unmarshal(b []byte) error
type OutputStatus ¶
type OutputStatus struct { IsReferred bool `protobuf:"varint,1,opt,name=is_referred,json=isReferred,proto3" json:"is_referred,omitempty"` IsSpent bool `protobuf:"varint,2,opt,name=is_spent,json=isSpent,proto3" json:"is_spent,omitempty"` Locked github_com_AidosKuneen_aklib_tx.Hash `protobuf:"bytes,3,opt,name=locked,proto3,casttype=github.com/AidosKuneen/aklib/tx.Hash" json:"locked,omitempty"` UsedByMinable []byte `protobuf:"bytes,4,opt,name=used_by_minable,json=usedByMinable,proto3" json:"used_by_minable,omitempty"` }
OutputStatus is status of an output.
func NewPopulatedOutputStatus ¶
func NewPopulatedOutputStatus(r randyImesh, easy bool) *OutputStatus
func (*OutputStatus) Descriptor ¶
func (*OutputStatus) Descriptor() ([]byte, []int)
func (*OutputStatus) Equal ¶
func (this *OutputStatus) Equal(that interface{}) bool
func (*OutputStatus) Marshal ¶
func (m *OutputStatus) Marshal() (dAtA []byte, err error)
func (*OutputStatus) ProtoMessage ¶
func (*OutputStatus) ProtoMessage()
func (*OutputStatus) Reset ¶
func (m *OutputStatus) Reset()
func (*OutputStatus) Size ¶
func (m *OutputStatus) Size() (n int)
func (*OutputStatus) String ¶
func (m *OutputStatus) String() string
func (*OutputStatus) Unmarshal ¶
func (m *OutputStatus) Unmarshal(dAtA []byte) error
func (*OutputStatus) XXX_DiscardUnknown ¶
func (m *OutputStatus) XXX_DiscardUnknown()
func (*OutputStatus) XXX_Marshal ¶
func (m *OutputStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OutputStatus) XXX_Merge ¶
func (dst *OutputStatus) XXX_Merge(src proto.Message)
func (*OutputStatus) XXX_Size ¶
func (m *OutputStatus) XXX_Size() int
func (*OutputStatus) XXX_Unmarshal ¶
func (m *OutputStatus) XXX_Unmarshal(b []byte) error
type PrevToTx ¶
type PrevToTx struct {
Time time.Time `protobuf:"bytes,1,opt,name=time,proto3,stdtime" json:"time"`
}
func NewPopulatedPrevToTx ¶
func (*PrevToTx) Descriptor ¶
func (*PrevToTx) ProtoMessage ¶
func (*PrevToTx) ProtoMessage()
func (*PrevToTx) XXX_DiscardUnknown ¶
func (m *PrevToTx) XXX_DiscardUnknown()
func (*PrevToTx) XXX_Marshal ¶
func (*PrevToTx) XXX_Unmarshal ¶
type Richlist ¶
type Richlist struct { Rank int64 `protobuf:"varint,1,opt,name=rank,proto3" json:"rank,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` Balance int64 `protobuf:"varint,3,opt,name=balance,proto3" json:"balance,omitempty"` }
Richlist holds an address with its balance
func GetRichlist ¶
GetRichlist returns the richlist.
func GetRichlistAround ¶
GetRichlistAround returns a richlist around the address.
func NewPopulatedRichlist ¶
func (*Richlist) Descriptor ¶
func (*Richlist) ProtoMessage ¶
func (*Richlist) ProtoMessage()
func (*Richlist) XXX_DiscardUnknown ¶
func (m *Richlist) XXX_DiscardUnknown()
func (*Richlist) XXX_Marshal ¶
func (*Richlist) XXX_Unmarshal ¶
type Status ¶
type Status byte
Status represents the status(confirm or not) of tx.
func PrepareConfirmation ¶
PrepareConfirmation returns tx status which the tx should be when confirmation will take place.
type Time ¶
func NewPopulatedTime ¶
func (*Time) Descriptor ¶
func (*Time) ProtoMessage ¶
func (*Time) ProtoMessage()
func (*Time) XXX_DiscardUnknown ¶
func (m *Time) XXX_DiscardUnknown()
func (*Time) XXX_Unmarshal ¶
type Transaction ¶
type Transaction struct { *Body `protobuf:"bytes,1,opt,name=body,proto3,embedded=body" json:"body,omitempty"` tx.Signatures `protobuf:"bytes,2,opt,name=signatures,proto3,embedded=signatures" json:"signatures"` }
Transaction is a transactio in Aidos Kuneen.
func NewPopulatedTransaction ¶
func NewPopulatedTransaction(r randyImesh, easy bool) *Transaction
func (*Transaction) Descriptor ¶
func (*Transaction) Descriptor() ([]byte, []int)
func (*Transaction) Equal ¶
func (this *Transaction) Equal(that interface{}) bool
func (*Transaction) Marshal ¶
func (m *Transaction) Marshal() (dAtA []byte, err error)
func (*Transaction) ProtoMessage ¶
func (*Transaction) ProtoMessage()
func (*Transaction) Reset ¶
func (m *Transaction) Reset()
func (*Transaction) Size ¶
func (m *Transaction) Size() (n int)
func (*Transaction) String ¶
func (m *Transaction) String() string
func (*Transaction) Unmarshal ¶
func (m *Transaction) Unmarshal(dAtA []byte) error
func (*Transaction) XXX_DiscardUnknown ¶
func (m *Transaction) XXX_DiscardUnknown()
func (*Transaction) XXX_Marshal ¶
func (m *Transaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Transaction) XXX_Merge ¶
func (dst *Transaction) XXX_Merge(src proto.Message)
func (*Transaction) XXX_Size ¶
func (m *Transaction) XXX_Size() int
func (*Transaction) XXX_Unmarshal ¶
func (m *Transaction) XXX_Unmarshal(b []byte) error
type TxInfo ¶
type TxInfo struct { Hash github_com_AidosKuneen_aklib_tx.Hash `protobuf:"bytes,1,opt,name=hash,proto3,casttype=github.com/AidosKuneen/aklib/tx.Hash" json:"hash,omitempty"` Body *tx.Body `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"` TxNo uint64 `protobuf:"varint,3,opt,name=tx_no,json=txNo,proto3" json:"tx_no,omitempty"` IsRejected bool `protobuf:"varint,4,opt,name=is_rejected,json=isRejected,proto3" json:"is_rejected,omitempty"` ConfirmedAt uint32 `protobuf:"varint,5,opt,name=confirmed_at,json=confirmedAt,proto3" json:"confirmed_at,omitempty"` Received time.Time `protobuf:"bytes,6,opt,name=received,proto3,stdtime" json:"received"` OutputStatus []OutputStats `protobuf:"bytes,7,rep,name=output_status,json=outputStatus,proto3" json:"output_status"` }
TxInfo is for tx in db with sighash and status. Never save TxInfo to DB without cares, or DB conflicts occurs
func GetTxInfo ¶
GetTxInfo gets a transaction info. Never save the TxInfo to db without care, or db conflicts occur.
func GetTxInfoTxn ¶
GetTxInfoTxn gets a transaction info.
func NewPopulatedTxInfo ¶
func (*TxInfo) Descriptor ¶
func (*TxInfo) GetLocalStatus ¶
GetLocalStatus returns the status in local imesh if pending confirmed or accepted.
func (*TxInfo) ProtoMessage ¶
func (*TxInfo) ProtoMessage()
func (*TxInfo) XXX_DiscardUnknown ¶
func (m *TxInfo) XXX_DiscardUnknown()
func (*TxInfo) XXX_Marshal ¶
func (*TxInfo) XXX_Unmarshal ¶
type TxWithType ¶
type TxWithType struct { Type github_com_AidosKuneen_aklib_tx.Type `protobuf:"varint,1,opt,name=type,proto3,casttype=github.com/AidosKuneen/aklib/tx.Type" json:"type,omitempty"` Tr *tx.Transaction `protobuf:"bytes,2,opt,name=tr,proto3" json:"tr,omitempty"` }
TxWithType is tx.Transaction with its type.
func CheckAdd ¶
func CheckAdd(s *setting.Setting, trs *tx.Transaction, typ tx.Type) ([]*TxWithType, []tx.Hash, error)
CheckAdd checks trs and leaves if these are leaves and add them.
func CheckAdds ¶
func CheckAdds(s *setting.Setting, trs []*TxWithType) ([]*TxWithType, []tx.Hash, error)
CheckAdds checks trs and leaves if these are leaves and add them.
func NewPopulatedTxWithType ¶
func NewPopulatedTxWithType(r randyImesh, easy bool) *TxWithType
func (*TxWithType) Descriptor ¶
func (*TxWithType) Descriptor() ([]byte, []int)
func (*TxWithType) Equal ¶
func (this *TxWithType) Equal(that interface{}) bool
func (*TxWithType) Marshal ¶
func (m *TxWithType) Marshal() (dAtA []byte, err error)
func (*TxWithType) ProtoMessage ¶
func (*TxWithType) ProtoMessage()
func (*TxWithType) Reset ¶
func (m *TxWithType) Reset()
func (*TxWithType) Size ¶
func (m *TxWithType) Size() (n int)
func (*TxWithType) String ¶
func (m *TxWithType) String() string
func (*TxWithType) Unmarshal ¶
func (m *TxWithType) Unmarshal(dAtA []byte) error
func (*TxWithType) XXX_DiscardUnknown ¶
func (m *TxWithType) XXX_DiscardUnknown()
func (*TxWithType) XXX_Marshal ¶
func (m *TxWithType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TxWithType) XXX_Merge ¶
func (dst *TxWithType) XXX_Merge(src proto.Message)
func (*TxWithType) XXX_Size ¶
func (m *TxWithType) XXX_Size() int
func (*TxWithType) XXX_Unmarshal ¶
func (m *TxWithType) XXX_Unmarshal(b []byte) error
type UnresolvedPrevHashes ¶
type UnresolvedPrevHashes struct {
Hashes []github_com_AidosKuneen_aklib_tx.Hash `protobuf:"bytes,1,rep,name=hashes,proto3,casttype=github.com/AidosKuneen/aklib/tx.Hash" json:"hashes,omitempty"`
}
func NewPopulatedUnresolvedPrevHashes ¶
func NewPopulatedUnresolvedPrevHashes(r randyImesh, easy bool) *UnresolvedPrevHashes
func (*UnresolvedPrevHashes) Descriptor ¶
func (*UnresolvedPrevHashes) Descriptor() ([]byte, []int)
func (*UnresolvedPrevHashes) Equal ¶
func (this *UnresolvedPrevHashes) Equal(that interface{}) bool
func (*UnresolvedPrevHashes) Marshal ¶
func (m *UnresolvedPrevHashes) Marshal() (dAtA []byte, err error)
func (*UnresolvedPrevHashes) MarshalTo ¶
func (m *UnresolvedPrevHashes) MarshalTo(dAtA []byte) (int, error)
func (*UnresolvedPrevHashes) ProtoMessage ¶
func (*UnresolvedPrevHashes) ProtoMessage()
func (*UnresolvedPrevHashes) Reset ¶
func (m *UnresolvedPrevHashes) Reset()
func (*UnresolvedPrevHashes) Size ¶
func (m *UnresolvedPrevHashes) Size() (n int)
func (*UnresolvedPrevHashes) String ¶
func (m *UnresolvedPrevHashes) String() string
func (*UnresolvedPrevHashes) Unmarshal ¶
func (m *UnresolvedPrevHashes) Unmarshal(dAtA []byte) error
func (*UnresolvedPrevHashes) XXX_DiscardUnknown ¶
func (m *UnresolvedPrevHashes) XXX_DiscardUnknown()
func (*UnresolvedPrevHashes) XXX_Marshal ¶
func (m *UnresolvedPrevHashes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnresolvedPrevHashes) XXX_Merge ¶
func (dst *UnresolvedPrevHashes) XXX_Merge(src proto.Message)
func (*UnresolvedPrevHashes) XXX_Size ¶
func (m *UnresolvedPrevHashes) XXX_Size() int
func (*UnresolvedPrevHashes) XXX_Unmarshal ¶
func (m *UnresolvedPrevHashes) XXX_Unmarshal(b []byte) error