Documentation ¶
Overview ¶
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Index ¶
- type BlockBase
- func (_r *BlockBase) Height() int64
- func (_r *BlockBase) ID() []byte
- func (_r *BlockBase) LogsBloom() module.LogsBloom
- func (_r *BlockBase) Marshal(w io.Writer) error
- func (_r *BlockBase) MarshalBody(w io.Writer) error
- func (_r *BlockBase) MarshalHeader(w io.Writer) error
- func (_r *BlockBase) NextValidators() module.ValidatorList
- func (_r *BlockBase) NextValidatorsHash() []byte
- func (_r *BlockBase) NormalTransactions() module.TransactionList
- func (_r *BlockBase) PatchTransactions() module.TransactionList
- func (_r *BlockBase) PrevID() []byte
- func (_r *BlockBase) Proposer() module.Address
- func (_r *BlockBase) Result() []byte
- func (_r *BlockBase) Timestamp() int64
- func (_r *BlockBase) ToJSON(version module.JSONVersion) (interface{}, error)
- func (_r *BlockBase) Version() int
- func (_r *BlockBase) Votes() module.CommitVoteSet
- type BlockManagerBase
- func (_r *BlockManagerBase) Commit(module.BlockCandidate) error
- func (_r *BlockManagerBase) ExportBlocks(from int64, to int64, dst db.Database, on func(height int64) error) error
- func (_r *BlockManagerBase) ExportGenesis(blk module.Block, writer module.GenesisStorageWriter) error
- func (_r *BlockManagerBase) Finalize(module.BlockCandidate) error
- func (_r *BlockManagerBase) GetBlock(id []byte) (module.Block, error)
- func (_r *BlockManagerBase) GetBlockByHeight(height int64) (module.Block, error)
- func (_r *BlockManagerBase) GetGenesisData() (module.Block, module.CommitVoteSet, error)
- func (_r *BlockManagerBase) GetLastBlock() (module.Block, error)
- func (_r *BlockManagerBase) GetTransactionInfo(id []byte) (module.TransactionInfo, error)
- func (_r *BlockManagerBase) Import(r io.Reader, flags int, cb func(module.BlockCandidate, error)) (canceler module.Canceler, err error)
- func (_r *BlockManagerBase) ImportBlock(blk module.BlockData, flags int, cb func(module.BlockCandidate, error)) (canceler module.Canceler, err error)
- func (_r *BlockManagerBase) NewBlockDataFromReader(r io.Reader) (module.BlockData, error)
- func (_r *BlockManagerBase) Propose(parentID []byte, votes module.CommitVoteSet, ...) (canceler module.Canceler, err error)
- func (_r *BlockManagerBase) SendTransactionAndWait(txi interface{}) (tid []byte, rc <-chan interface{}, err error)
- func (_r *BlockManagerBase) Term()
- func (_r *BlockManagerBase) WaitForBlock(height int64) (<-chan module.Block, error)
- func (_r *BlockManagerBase) WaitForTransaction(parentID []byte, cb func()) bool
- func (_r *BlockManagerBase) WaitTransactionResult(id []byte) (rc <-chan interface{}, err error)
- type ChainBase
- func (_r *ChainBase) Backup(file string, extra []string) error
- func (_r *ChainBase) BlockManager() module.BlockManager
- func (_r *ChainBase) CID() int
- func (_r *ChainBase) Channel() string
- func (_r *ChainBase) CommitVoteSetDecoder() module.CommitVoteSetDecoder
- func (_r *ChainBase) ConcurrencyLevel() int
- func (_r *ChainBase) Consensus() module.Consensus
- func (_r *ChainBase) Database() db.Database
- func (_r *ChainBase) DefaultWaitTimeout() time.Duration
- func (_r *ChainBase) Genesis() []byte
- func (_r *ChainBase) GenesisStorage() module.GenesisStorage
- func (_r *ChainBase) Import(src string, height int64) error
- func (_r *ChainBase) Init() error
- func (_r *ChainBase) IsStarted() bool
- func (_r *ChainBase) IsStopped() bool
- func (_r *ChainBase) Logger() log.Logger
- func (_r *ChainBase) MaxBlockTxBytes() int
- func (_r *ChainBase) MaxWaitTimeout() time.Duration
- func (_r *ChainBase) MetricContext() context.Context
- func (_r *ChainBase) NID() int
- func (_r *ChainBase) NetID() int
- func (_r *ChainBase) NetworkManager() module.NetworkManager
- func (_r *ChainBase) NormalTxPoolSize() int
- func (_r *ChainBase) PatchDecoder() module.PatchDecoder
- func (_r *ChainBase) PatchTxPoolSize() int
- func (_r *ChainBase) Prune(gs string, dbt string, height int64) error
- func (_r *ChainBase) Regulator() module.Regulator
- func (_r *ChainBase) Reset() error
- func (_r *ChainBase) ServiceManager() module.ServiceManager
- func (_r *ChainBase) Start() error
- func (_r *ChainBase) State() (string, int64, error)
- func (_r *ChainBase) Stop() error
- func (_r *ChainBase) Term() error
- func (_r *ChainBase) Verify() error
- func (_r *ChainBase) Wallet() module.Wallet
- type CommitVoteSetBase
- type NetworkManagerBase
- func (_r *NetworkManagerBase) AddRole(role module.Role, peers ...module.PeerID)
- func (_r *NetworkManagerBase) GetPeers() []module.PeerID
- func (_r *NetworkManagerBase) GetPeersByRole(role module.Role) []module.PeerID
- func (_r *NetworkManagerBase) HasRole(role module.Role, id module.PeerID) bool
- func (_r *NetworkManagerBase) RegisterReactor(name string, pi module.ProtocolInfo, reactor module.Reactor, ...) (module.ProtocolHandler, error)
- func (_r *NetworkManagerBase) RegisterReactorForStreams(name string, pi module.ProtocolInfo, reactor module.Reactor, ...) (module.ProtocolHandler, error)
- func (_r *NetworkManagerBase) RemoveRole(role module.Role, peers ...module.PeerID)
- func (_r *NetworkManagerBase) Roles(id module.PeerID) []module.Role
- func (_r *NetworkManagerBase) SetInitialRoles(roles ...module.Role)
- func (_r *NetworkManagerBase) SetRole(version int64, role module.Role, peers ...module.PeerID)
- func (_r *NetworkManagerBase) SetTrustSeeds(seeds string)
- func (_r *NetworkManagerBase) Start() error
- func (_r *NetworkManagerBase) Term()
- func (_r *NetworkManagerBase) UnregisterReactor(reactor module.Reactor) error
- type ReceiptBase
- func (_r *ReceiptBase) Bytes() []byte
- func (_r *ReceiptBase) Check(r module.Receipt) error
- func (_r *ReceiptBase) CumulativeStepUsed() *big.Int
- func (_r *ReceiptBase) EventLogIterator() module.EventLogIterator
- func (_r *ReceiptBase) GetProofOfEvent(int) ([][]byte, error)
- func (_r *ReceiptBase) LogsBloom() module.LogsBloom
- func (_r *ReceiptBase) SCOREAddress() module.Address
- func (_r *ReceiptBase) Status() module.Status
- func (_r *ReceiptBase) StepPrice() *big.Int
- func (_r *ReceiptBase) StepUsed() *big.Int
- func (_r *ReceiptBase) To() module.Address
- func (_r *ReceiptBase) ToJSON(version module.JSONVersion) (interface{}, error)
- type RegulatorBase
- func (_r *RegulatorBase) CommitTimeout() time.Duration
- func (_r *RegulatorBase) MaxTxCount() int
- func (_r *RegulatorBase) MinCommitTimeout() time.Duration
- func (_r *RegulatorBase) OnPropose(now time.Time)
- func (_r *RegulatorBase) OnTxExecution(count int, ed time.Duration, fd time.Duration)
- func (_r *RegulatorBase) SetBlockInterval(i time.Duration, d time.Duration)
- type ServiceManagerBase
- func (_r *ServiceManagerBase) Call(result []byte, vl module.ValidatorList, js []byte, bi module.BlockInfo) (interface{}, error)
- func (_r *ServiceManagerBase) CreateInitialTransition(result []byte, nextValidators module.ValidatorList) (module.Transition, error)
- func (_r *ServiceManagerBase) CreateSyncTransition(transition module.Transition, result []byte, vlHash []byte) module.Transition
- func (_r *ServiceManagerBase) CreateTransition(parent module.Transition, txs module.TransactionList, bi module.BlockInfo) (module.Transition, error)
- func (_r *ServiceManagerBase) ExecuteTransaction(result []byte, vh []byte, js []byte, bi module.BlockInfo) (module.Receipt, error)
- func (_r *ServiceManagerBase) ExportResult(result []byte, vh []byte, dst db.Database) error
- func (_r *ServiceManagerBase) Finalize(transition module.Transition, opt int) error
- func (_r *ServiceManagerBase) GenesisTransactionFromBytes(b []byte, blockVersion int) (module.Transaction, error)
- func (_r *ServiceManagerBase) GetAPIInfo(result []byte, addr module.Address) (module.APIInfo, error)
- func (_r *ServiceManagerBase) GetBalance(result []byte, addr module.Address) (*big.Int, error)
- func (_r *ServiceManagerBase) GetChainID(result []byte) (int64, error)
- func (_r *ServiceManagerBase) GetMembers(result []byte) (module.MemberList, error)
- func (_r *ServiceManagerBase) GetMinimizeBlockGen(result []byte) bool
- func (_r *ServiceManagerBase) GetNetworkID(result []byte) (int64, error)
- func (_r *ServiceManagerBase) GetPatches(parent module.Transition, bi module.BlockInfo) module.TransactionList
- func (_r *ServiceManagerBase) GetRoundLimit(result []byte, vl int) int64
- func (_r *ServiceManagerBase) GetTotalSupply(result []byte) (*big.Int, error)
- func (_r *ServiceManagerBase) HasTransaction(id []byte) bool
- func (_r *ServiceManagerBase) ImportResult(result []byte, vh []byte, src db.Database) error
- func (_r *ServiceManagerBase) PatchTransition(transition module.Transition, patches module.TransactionList, ...) module.Transition
- func (_r *ServiceManagerBase) ProposeTransition(parent module.Transition, bi module.BlockInfo) (module.Transition, error)
- func (_r *ServiceManagerBase) ReceiptListFromResult(result []byte, g module.TransactionGroup) (module.ReceiptList, error)
- func (_r *ServiceManagerBase) SendPatch(patch module.Patch) error
- func (_r *ServiceManagerBase) SendTransaction(tx interface{}) ([]byte, error)
- func (_r *ServiceManagerBase) SendTransactionAndWait(tx interface{}) ([]byte, <-chan interface{}, error)
- func (_r *ServiceManagerBase) Start()
- func (_r *ServiceManagerBase) Term()
- func (_r *ServiceManagerBase) TransactionFromBytes(b []byte, blockVersion int) (module.Transaction, error)
- func (_r *ServiceManagerBase) TransactionListFromHash(hash []byte) module.TransactionList
- func (_r *ServiceManagerBase) TransactionListFromSlice(txs []module.Transaction, version int) module.TransactionList
- func (_r *ServiceManagerBase) ValidatorListFromHash(hash []byte) module.ValidatorList
- func (_r *ServiceManagerBase) WaitForTransaction(parent module.Transition, bi module.BlockInfo, cb func()) bool
- func (_r *ServiceManagerBase) WaitTransactionResult(id []byte) (<-chan interface{}, error)
- type TransactionBase
- func (_r *TransactionBase) Bytes() []byte
- func (_r *TransactionBase) From() module.Address
- func (_r *TransactionBase) Group() module.TransactionGroup
- func (_r *TransactionBase) Hash() []byte
- func (_r *TransactionBase) ID() []byte
- func (_r *TransactionBase) ToJSON(version module.JSONVersion) (interface{}, error)
- func (_r *TransactionBase) ValidateNetwork(nid int) bool
- func (_r *TransactionBase) Verify() error
- func (_r *TransactionBase) Version() int
- type TransactionListBase
- type ValidatorListBase
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockBase ¶
type BlockBase struct{}
func (*BlockBase) NextValidators ¶
func (_r *BlockBase) NextValidators() module.ValidatorList
func (*BlockBase) NextValidatorsHash ¶
func (*BlockBase) NormalTransactions ¶
func (_r *BlockBase) NormalTransactions() module.TransactionList
func (*BlockBase) PatchTransactions ¶
func (_r *BlockBase) PatchTransactions() module.TransactionList
func (*BlockBase) ToJSON ¶
func (_r *BlockBase) ToJSON(version module.JSONVersion) (interface{}, error)
func (*BlockBase) Votes ¶
func (_r *BlockBase) Votes() module.CommitVoteSet
type BlockManagerBase ¶
type BlockManagerBase struct{}
func (*BlockManagerBase) Commit ¶
func (_r *BlockManagerBase) Commit(module.BlockCandidate) error
func (*BlockManagerBase) ExportBlocks ¶
func (*BlockManagerBase) ExportGenesis ¶
func (_r *BlockManagerBase) ExportGenesis(blk module.Block, writer module.GenesisStorageWriter) error
func (*BlockManagerBase) Finalize ¶
func (_r *BlockManagerBase) Finalize(module.BlockCandidate) error
func (*BlockManagerBase) GetBlock ¶
func (_r *BlockManagerBase) GetBlock(id []byte) (module.Block, error)
func (*BlockManagerBase) GetBlockByHeight ¶
func (_r *BlockManagerBase) GetBlockByHeight(height int64) (module.Block, error)
func (*BlockManagerBase) GetGenesisData ¶
func (_r *BlockManagerBase) GetGenesisData() (module.Block, module.CommitVoteSet, error)
func (*BlockManagerBase) GetLastBlock ¶
func (_r *BlockManagerBase) GetLastBlock() (module.Block, error)
func (*BlockManagerBase) GetTransactionInfo ¶
func (_r *BlockManagerBase) GetTransactionInfo(id []byte) (module.TransactionInfo, error)
func (*BlockManagerBase) Import ¶
func (_r *BlockManagerBase) Import(r io.Reader, flags int, cb func(module.BlockCandidate, error)) (canceler module.Canceler, err error)
func (*BlockManagerBase) ImportBlock ¶
func (_r *BlockManagerBase) ImportBlock(blk module.BlockData, flags int, cb func(module.BlockCandidate, error)) (canceler module.Canceler, err error)
func (*BlockManagerBase) NewBlockDataFromReader ¶
func (*BlockManagerBase) Propose ¶
func (_r *BlockManagerBase) Propose(parentID []byte, votes module.CommitVoteSet, cb func(module.BlockCandidate, error)) (canceler module.Canceler, err error)
func (*BlockManagerBase) SendTransactionAndWait ¶
func (_r *BlockManagerBase) SendTransactionAndWait(txi interface{}) (tid []byte, rc <-chan interface{}, err error)
func (*BlockManagerBase) Term ¶
func (_r *BlockManagerBase) Term()
func (*BlockManagerBase) WaitForBlock ¶
func (_r *BlockManagerBase) WaitForBlock(height int64) (<-chan module.Block, error)
func (*BlockManagerBase) WaitForTransaction ¶
func (_r *BlockManagerBase) WaitForTransaction(parentID []byte, cb func()) bool
func (*BlockManagerBase) WaitTransactionResult ¶
func (_r *BlockManagerBase) WaitTransactionResult(id []byte) (rc <-chan interface{}, err error)
type ChainBase ¶
type ChainBase struct{}
func (*ChainBase) BlockManager ¶
func (_r *ChainBase) BlockManager() module.BlockManager
func (*ChainBase) CommitVoteSetDecoder ¶
func (_r *ChainBase) CommitVoteSetDecoder() module.CommitVoteSetDecoder
func (*ChainBase) ConcurrencyLevel ¶
func (*ChainBase) DefaultWaitTimeout ¶
func (*ChainBase) GenesisStorage ¶
func (_r *ChainBase) GenesisStorage() module.GenesisStorage
func (*ChainBase) MaxBlockTxBytes ¶
func (*ChainBase) MaxWaitTimeout ¶
func (*ChainBase) MetricContext ¶
func (*ChainBase) NetworkManager ¶
func (_r *ChainBase) NetworkManager() module.NetworkManager
func (*ChainBase) NormalTxPoolSize ¶
func (*ChainBase) PatchDecoder ¶
func (_r *ChainBase) PatchDecoder() module.PatchDecoder
func (*ChainBase) PatchTxPoolSize ¶
func (*ChainBase) ServiceManager ¶
func (_r *ChainBase) ServiceManager() module.ServiceManager
type CommitVoteSetBase ¶
type CommitVoteSetBase struct{}
func (*CommitVoteSetBase) Bytes ¶
func (_r *CommitVoteSetBase) Bytes() []byte
func (*CommitVoteSetBase) Hash ¶
func (_r *CommitVoteSetBase) Hash() []byte
func (*CommitVoteSetBase) Timestamp ¶
func (_r *CommitVoteSetBase) Timestamp() int64
func (*CommitVoteSetBase) Verify ¶
func (_r *CommitVoteSetBase) Verify(block module.BlockData, validators module.ValidatorList) error
type NetworkManagerBase ¶
type NetworkManagerBase struct{}
func (*NetworkManagerBase) AddRole ¶
func (_r *NetworkManagerBase) AddRole(role module.Role, peers ...module.PeerID)
func (*NetworkManagerBase) GetPeers ¶
func (_r *NetworkManagerBase) GetPeers() []module.PeerID
func (*NetworkManagerBase) GetPeersByRole ¶
func (_r *NetworkManagerBase) GetPeersByRole(role module.Role) []module.PeerID
func (*NetworkManagerBase) RegisterReactor ¶
func (_r *NetworkManagerBase) RegisterReactor(name string, pi module.ProtocolInfo, reactor module.Reactor, piList []module.ProtocolInfo, priority uint8) (module.ProtocolHandler, error)
func (*NetworkManagerBase) RegisterReactorForStreams ¶
func (_r *NetworkManagerBase) RegisterReactorForStreams(name string, pi module.ProtocolInfo, reactor module.Reactor, piList []module.ProtocolInfo, priority uint8) (module.ProtocolHandler, error)
func (*NetworkManagerBase) RemoveRole ¶
func (_r *NetworkManagerBase) RemoveRole(role module.Role, peers ...module.PeerID)
func (*NetworkManagerBase) Roles ¶
func (_r *NetworkManagerBase) Roles(id module.PeerID) []module.Role
func (*NetworkManagerBase) SetInitialRoles ¶
func (_r *NetworkManagerBase) SetInitialRoles(roles ...module.Role)
func (*NetworkManagerBase) SetTrustSeeds ¶
func (_r *NetworkManagerBase) SetTrustSeeds(seeds string)
func (*NetworkManagerBase) Start ¶
func (_r *NetworkManagerBase) Start() error
func (*NetworkManagerBase) Term ¶
func (_r *NetworkManagerBase) Term()
func (*NetworkManagerBase) UnregisterReactor ¶
func (_r *NetworkManagerBase) UnregisterReactor(reactor module.Reactor) error
type ReceiptBase ¶
type ReceiptBase struct{}
func (*ReceiptBase) Bytes ¶
func (_r *ReceiptBase) Bytes() []byte
func (*ReceiptBase) CumulativeStepUsed ¶
func (_r *ReceiptBase) CumulativeStepUsed() *big.Int
func (*ReceiptBase) EventLogIterator ¶
func (_r *ReceiptBase) EventLogIterator() module.EventLogIterator
func (*ReceiptBase) GetProofOfEvent ¶
func (_r *ReceiptBase) GetProofOfEvent(int) ([][]byte, error)
func (*ReceiptBase) LogsBloom ¶
func (_r *ReceiptBase) LogsBloom() module.LogsBloom
func (*ReceiptBase) SCOREAddress ¶
func (_r *ReceiptBase) SCOREAddress() module.Address
func (*ReceiptBase) Status ¶
func (_r *ReceiptBase) Status() module.Status
func (*ReceiptBase) StepPrice ¶
func (_r *ReceiptBase) StepPrice() *big.Int
func (*ReceiptBase) StepUsed ¶
func (_r *ReceiptBase) StepUsed() *big.Int
func (*ReceiptBase) To ¶
func (_r *ReceiptBase) To() module.Address
func (*ReceiptBase) ToJSON ¶
func (_r *ReceiptBase) ToJSON(version module.JSONVersion) (interface{}, error)
type RegulatorBase ¶
type RegulatorBase struct{}
func (*RegulatorBase) CommitTimeout ¶
func (_r *RegulatorBase) CommitTimeout() time.Duration
func (*RegulatorBase) MaxTxCount ¶
func (_r *RegulatorBase) MaxTxCount() int
func (*RegulatorBase) MinCommitTimeout ¶
func (_r *RegulatorBase) MinCommitTimeout() time.Duration
func (*RegulatorBase) OnPropose ¶
func (_r *RegulatorBase) OnPropose(now time.Time)
func (*RegulatorBase) OnTxExecution ¶
func (*RegulatorBase) SetBlockInterval ¶
func (_r *RegulatorBase) SetBlockInterval(i time.Duration, d time.Duration)
type ServiceManagerBase ¶
type ServiceManagerBase struct{}
func (*ServiceManagerBase) Call ¶
func (_r *ServiceManagerBase) Call(result []byte, vl module.ValidatorList, js []byte, bi module.BlockInfo) (interface{}, error)
func (*ServiceManagerBase) CreateInitialTransition ¶
func (_r *ServiceManagerBase) CreateInitialTransition(result []byte, nextValidators module.ValidatorList) (module.Transition, error)
func (*ServiceManagerBase) CreateSyncTransition ¶
func (_r *ServiceManagerBase) CreateSyncTransition(transition module.Transition, result []byte, vlHash []byte) module.Transition
func (*ServiceManagerBase) CreateTransition ¶
func (_r *ServiceManagerBase) CreateTransition(parent module.Transition, txs module.TransactionList, bi module.BlockInfo) (module.Transition, error)
func (*ServiceManagerBase) ExecuteTransaction ¶
func (*ServiceManagerBase) ExportResult ¶
func (*ServiceManagerBase) Finalize ¶
func (_r *ServiceManagerBase) Finalize(transition module.Transition, opt int) error
func (*ServiceManagerBase) GenesisTransactionFromBytes ¶
func (_r *ServiceManagerBase) GenesisTransactionFromBytes(b []byte, blockVersion int) (module.Transaction, error)
func (*ServiceManagerBase) GetAPIInfo ¶
func (*ServiceManagerBase) GetBalance ¶
func (*ServiceManagerBase) GetChainID ¶
func (_r *ServiceManagerBase) GetChainID(result []byte) (int64, error)
func (*ServiceManagerBase) GetMembers ¶
func (_r *ServiceManagerBase) GetMembers(result []byte) (module.MemberList, error)
func (*ServiceManagerBase) GetMinimizeBlockGen ¶
func (_r *ServiceManagerBase) GetMinimizeBlockGen(result []byte) bool
func (*ServiceManagerBase) GetNetworkID ¶
func (_r *ServiceManagerBase) GetNetworkID(result []byte) (int64, error)
func (*ServiceManagerBase) GetPatches ¶
func (_r *ServiceManagerBase) GetPatches(parent module.Transition, bi module.BlockInfo) module.TransactionList
func (*ServiceManagerBase) GetRoundLimit ¶
func (_r *ServiceManagerBase) GetRoundLimit(result []byte, vl int) int64
func (*ServiceManagerBase) GetTotalSupply ¶
func (_r *ServiceManagerBase) GetTotalSupply(result []byte) (*big.Int, error)
func (*ServiceManagerBase) HasTransaction ¶
func (_r *ServiceManagerBase) HasTransaction(id []byte) bool
func (*ServiceManagerBase) ImportResult ¶
func (*ServiceManagerBase) PatchTransition ¶
func (_r *ServiceManagerBase) PatchTransition(transition module.Transition, patches module.TransactionList, bi module.BlockInfo) module.Transition
func (*ServiceManagerBase) ProposeTransition ¶
func (_r *ServiceManagerBase) ProposeTransition(parent module.Transition, bi module.BlockInfo) (module.Transition, error)
func (*ServiceManagerBase) ReceiptListFromResult ¶
func (_r *ServiceManagerBase) ReceiptListFromResult(result []byte, g module.TransactionGroup) (module.ReceiptList, error)
func (*ServiceManagerBase) SendPatch ¶
func (_r *ServiceManagerBase) SendPatch(patch module.Patch) error
func (*ServiceManagerBase) SendTransaction ¶
func (_r *ServiceManagerBase) SendTransaction(tx interface{}) ([]byte, error)
func (*ServiceManagerBase) SendTransactionAndWait ¶
func (_r *ServiceManagerBase) SendTransactionAndWait(tx interface{}) ([]byte, <-chan interface{}, error)
func (*ServiceManagerBase) Start ¶
func (_r *ServiceManagerBase) Start()
func (*ServiceManagerBase) Term ¶
func (_r *ServiceManagerBase) Term()
func (*ServiceManagerBase) TransactionFromBytes ¶
func (_r *ServiceManagerBase) TransactionFromBytes(b []byte, blockVersion int) (module.Transaction, error)
func (*ServiceManagerBase) TransactionListFromHash ¶
func (_r *ServiceManagerBase) TransactionListFromHash(hash []byte) module.TransactionList
func (*ServiceManagerBase) TransactionListFromSlice ¶
func (_r *ServiceManagerBase) TransactionListFromSlice(txs []module.Transaction, version int) module.TransactionList
func (*ServiceManagerBase) ValidatorListFromHash ¶
func (_r *ServiceManagerBase) ValidatorListFromHash(hash []byte) module.ValidatorList
func (*ServiceManagerBase) WaitForTransaction ¶
func (_r *ServiceManagerBase) WaitForTransaction(parent module.Transition, bi module.BlockInfo, cb func()) bool
func (*ServiceManagerBase) WaitTransactionResult ¶
func (_r *ServiceManagerBase) WaitTransactionResult(id []byte) (<-chan interface{}, error)
type TransactionBase ¶
type TransactionBase struct{}
func (*TransactionBase) Bytes ¶
func (_r *TransactionBase) Bytes() []byte
func (*TransactionBase) From ¶
func (_r *TransactionBase) From() module.Address
func (*TransactionBase) Group ¶
func (_r *TransactionBase) Group() module.TransactionGroup
func (*TransactionBase) Hash ¶
func (_r *TransactionBase) Hash() []byte
func (*TransactionBase) ID ¶
func (_r *TransactionBase) ID() []byte
func (*TransactionBase) ToJSON ¶
func (_r *TransactionBase) ToJSON(version module.JSONVersion) (interface{}, error)
func (*TransactionBase) ValidateNetwork ¶
func (_r *TransactionBase) ValidateNetwork(nid int) bool
func (*TransactionBase) Verify ¶
func (_r *TransactionBase) Verify() error
func (*TransactionBase) Version ¶
func (_r *TransactionBase) Version() int
type TransactionListBase ¶
type TransactionListBase struct{}
func (*TransactionListBase) Equal ¶
func (_r *TransactionListBase) Equal(module.TransactionList) bool
func (*TransactionListBase) Flush ¶
func (_r *TransactionListBase) Flush() error
func (*TransactionListBase) Get ¶
func (_r *TransactionListBase) Get(int) (module.Transaction, error)
func (*TransactionListBase) Hash ¶
func (_r *TransactionListBase) Hash() []byte
func (*TransactionListBase) Iterator ¶
func (_r *TransactionListBase) Iterator() module.TransactionIterator
type ValidatorListBase ¶
type ValidatorListBase struct{}
func (*ValidatorListBase) Bytes ¶
func (_r *ValidatorListBase) Bytes() []byte
func (*ValidatorListBase) Flush ¶
func (_r *ValidatorListBase) Flush() error
func (*ValidatorListBase) Hash ¶
func (_r *ValidatorListBase) Hash() []byte
func (*ValidatorListBase) Len ¶
func (_r *ValidatorListBase) Len() int
Click to show internal directories.
Click to hide internal directories.