service

package
v1.1.0-beta6 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2020 License: MIT Imports: 33 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

View Source
const (
	SubscribeTimeout = 5 * time.Second
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ResultBroadcastTx

type ResultBroadcastTx struct {
	Code uint32         `json:"code"`
	Data bytes.HexBytes `json:"data"`
	Log  string         `json:"log"`
	Info string         `json:"-"`
	Hash bytes.HexBytes `json:"hash"`
}

type Service

type Service struct {
	// contains filtered or unexported fields
}

func NewService

func NewService(cdc *amino.Codec, blockchain *minter.Blockchain, client *rpc.Local, node *tmNode.Node, minterCfg *config.Config, version string) *Service

func (*Service) Address

func (s *Service) Address(_ context.Context, req *pb.AddressRequest) (*pb.AddressResponse, error)

func (*Service) Addresses

func (s *Service) Addresses(_ context.Context, req *pb.AddressesRequest) (*pb.AddressesResponse, error)

func (*Service) Block

func (s *Service) Block(_ context.Context, req *pb.BlockRequest) (*pb.BlockResponse, error)

func (*Service) Candidate

func (s *Service) Candidate(_ context.Context, req *pb.CandidateRequest) (*pb.CandidateResponse, error)

func (*Service) Candidates

func (*Service) CoinInfo

func (s *Service) CoinInfo(_ context.Context, req *pb.CoinInfoRequest) (*pb.CoinInfoResponse, error)

func (*Service) EstimateCoinBuy

func (*Service) EstimateCoinSell

func (*Service) EstimateCoinSellAll

func (*Service) Events

func (s *Service) Events(_ context.Context, req *pb.EventsRequest) (*pb.EventsResponse, error)

func (*Service) Genesis

func (*Service) MaxGas

func (s *Service) MaxGas(_ context.Context, req *pb.MaxGasRequest) (*pb.MaxGasResponse, error)

func (*Service) MinGasPrice

func (s *Service) MinGasPrice(context.Context, *empty.Empty) (*pb.MinGasPriceResponse, error)

func (*Service) MissedBlocks

func (*Service) NetInfo

func (*Service) SendTransaction added in v1.2.0

func (*Service) Status

func (*Service) Subscribe

func (s *Service) Subscribe(request *pb.SubscribeRequest, stream pb.ApiService_SubscribeServer) error

func (*Service) Transaction

func (*Service) Transactions

func (*Service) UnconfirmedTxs

func (*Service) Validators

Jump to

Keyboard shortcuts

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