Documentation
¶
Index ¶
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.CurrencyList, logger *log.Logger) *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) 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.