broadcast

package
v0.18.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 17, 2022 License: Apache-2.0 Imports: 18 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Name

func Name() string

Name returns the name of this service. The RPC method will be prefixed with this service name plus a . (e.g. "broadcast.")

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,
	stateDB *vm.CommitStateDB,
) *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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL