Documentation ¶
Index ¶
- Constants
- func ValidateCheck(check *pb.CheckTransaction) bool
- type Server
- func (s *Server) GetLastTransaction(context.Context, *pb.Empty) (*pb.StatusResp, error)
- func (s *Server) GetMinFee(context.Context, *pb.Empty) (*pb.FeeResp, error)
- func (s *Server) OperatorTarget(context.Context, *pb.Empty) (*pb.OperatorTargetResp, error)
- func (s *Server) SendCheck(ctx context.Context, check *pb.CheckTransaction) (*pb.QueueID, error)
- func (s *Server) Status(ctx context.Context, reciept *pb.QueueID) (*pb.StatusResp, error)
Constants ¶
View Source
const LARRY_ADDR = ""
View Source
const LARRY_NONCE uint64 = 0
filler consts to simulate a basic transaction
Variables ¶
This section is empty.
Functions ¶
func ValidateCheck ¶
func ValidateCheck(check *pb.CheckTransaction) bool
Types ¶
type Server ¶
type Server struct{}
Server implements the Operator service
func (*Server) GetLastTransaction ¶
Gets the status of the last transaction sent by this user to this operator
func (*Server) OperatorTarget ¶
Click to show internal directories.
Click to hide internal directories.