xputtest

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2020 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CClient

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

CClient manages a client network using the c networking library

var CClientHandler CClient

CClientHandler is the struct that will be accessed on event calls

func (*CClient) Initialize

func (h *CClient) Initialize(net salticidae.MsgNetwork, issuer *Issuer)

Initialize to the c networking library. This should only be called once during setup of the node.

type Issuer

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

Issuer manages all the chain transaction flushing.

func (*Issuer) Initialize

func (i *Issuer) Initialize(log logging.Logger)

Initialize this flusher

func (*Issuer) IssueTx

func (i *Issuer) IssueTx(chainID ids.ID, tx []byte, finalized func(choices.Status))

IssueTx issue the transaction to the chain and register the timeout.

func (*Issuer) RegisterChain

func (i *Issuer) RegisterChain(ctx *snow.Context, vm interface{})

RegisterChain implements the registrant

Jump to

Keyboard shortcuts

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