 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
      View Source
      
  
const (
	MaxCommitWaitTimeSeconds = 10
)
    Variables ¶
This section is empty.
Functions ¶
func NewBurrowNodeClient ¶ added in v0.16.2
func NewBurrowNodeClient(rpcString string, logger loggers.InfoTraceLogger) *burrowNodeClient
BurrowKeyClient.New returns a new monax-keys client for provided rpc location Monax-keys connects over http request-responses
Types ¶
type Confirmation ¶
type NodeClient ¶
type NodeClient interface {
	Broadcast(transaction txs.Tx) (*txs.Receipt, error)
	DeriveWebsocketClient() (nodeWsClient NodeWebsocketClient, err error)
	Status() (ChainId []byte, ValidatorPublicKey []byte, LatestBlockHash []byte,
		LatestBlockHeight int, LatestBlockTime int64, err error)
	GetAccount(address []byte) (*acc.Account, error)
	QueryContract(callerAddress, calleeAddress, data []byte) (ret []byte, gasUsed int64, err error)
	QueryContractCode(address, code, data []byte) (ret []byte, gasUsed int64, err error)
	DumpStorage(address []byte) (storage *core_types.Storage, err error)
	GetName(name string) (owner []byte, data string, expirationBlock int, err error)
	ListValidators() (blockHeight int, bondedValidators, unbondingValidators []consensus_types.Validator, err error)
	// Logging context for this NodeClient
	Logger() loggers.InfoTraceLogger
}
    type NodeWebsocketClient ¶
type WSClient ¶
type WSClient struct {
	// contains filtered or unexported fields
}
    A websocket client subscribes and unsubscribes to events
 Click to show internal directories. 
   Click to hide internal directories.