chain

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2019 License: LGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct{}

Server - RPC server

func (*Server) Bytes

Bytes - chain.Bytes RPC handler

func (*Server) GetBalance

func (server *Server) GetBalance(ctx context.Context, req *chainProto.GeneralRequest) (*chainProto.GeneralResponse, error)

GetBalance - chain.GetBalance RPC handler

func (*Server) GetNumTransactions

func (server *Server) GetNumTransactions(ctx context.Context, req *chainProto.GeneralRequest) (*chainProto.GeneralResponse, error)

GetNumTransactions - get total number of transactions in given account chain

func (*Server) QueryTransaction

func (server *Server) QueryTransaction(ctx context.Context, req *chainProto.GeneralRequest) (*chainProto.GeneralResponse, error)

QueryTransaction - chain.QueryTransaction RPC handler

func (*Server) ReadChainFromMemory

func (server *Server) ReadChainFromMemory(ctx context.Context, req *chainProto.GeneralRequest) (*chainProto.GeneralResponse, error)

ReadChainFromMemory - chain.ReadChainFromMemory RPC handler

func (*Server) String

String - chain.String RPC handler

Jump to

Keyboard shortcuts

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