Documentation ¶
Index ¶
- func Name() string
- type Service
- func (svc *Service) TxAsync(req client.BroadcastRequest, reply *client.BroadcastReply) error
- func (svc *Service) TxCommit(req client.BroadcastRequest, reply *client.BroadcastReply) error
- func (svc *Service) TxCommitMtSig(req client.BroadcastMtSigRequest, reply *client.BroadcastReply) error
- func (svc *Service) TxSync(req client.BroadcastRequest, reply *client.BroadcastReply) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(ctx client.ExtServiceContext, router action.Router, currencies *balance.CurrencySet, feePool *fees.Store, domains *ons.DomainStore, govern *governance.Store, delegators *delegation.DelegationStore, evidenceStore *evidence.EvidenceStore, netwkDelegators *netwkDeleg.MasterStore, validators *identity.ValidatorStore, logger *log.Logger, trackers *bitcoin.TrackerStore, proposalMaster *governance.ProposalMasterStore, rewardMaster *rewards.RewardMasterStore, extStores data.Router, govUpdate *action.GovernaceUpdateAndValidate, ) *Service
func (*Service) TxAsync ¶
func (svc *Service) TxAsync(req client.BroadcastRequest, reply *client.BroadcastReply) error
TxAsync returns as soon as the finishes. Returns with a hash
func (*Service) TxCommit ¶
func (svc *Service) TxCommit(req client.BroadcastRequest, reply *client.BroadcastReply) error
TxCommit returns when the transaction has been committed to a block.
func (*Service) TxCommitMtSig ¶ added in v0.14.3
func (svc *Service) TxCommitMtSig(req client.BroadcastMtSigRequest, reply *client.BroadcastReply) error
TxCommit returns when the transaction has been committed to a block.
func (*Service) TxSync ¶
func (svc *Service) TxSync(req client.BroadcastRequest, reply *client.BroadcastReply) error
TxSync returns when the transaction has been placed inside the mempool
Click to show internal directories.
Click to hide internal directories.