node

package
v0.0.0-...-d4939f3 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2024 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProximaNode

type ProximaNode struct {
	*global.Global
	// contains filtered or unexported fields
}

func New

func New() *ProximaNode

func (*ProximaNode) GetLatestReliableBranch

func (p *ProximaNode) GetLatestReliableBranch() *multistate.BranchData

func (*ProximaNode) GetNodeInfo

func (p *ProximaNode) GetNodeInfo() *global.NodeInfo

GetNodeInfo TODO not finished

func (*ProximaNode) GetOwnSequencerID

func (p *ProximaNode) GetOwnSequencerID() *ledger.ChainID

func (*ProximaNode) GetPeersInfo

func (p *ProximaNode) GetPeersInfo() *api.PeersInfo

GetPeersInfo TODO not finished

func (*ProximaNode) GetSyncInfo

func (p *ProximaNode) GetSyncInfo() *api.SyncInfo

GetSyncInfo TODO not finished

func (*ProximaNode) GetTxInclusion

func (p *ProximaNode) GetTxInclusion(txid *ledger.TransactionID, slotsBack int) *multistate.TxInclusion

func (*ProximaNode) HeaviestStateForLatestTimeSlot

func (p *ProximaNode) HeaviestStateForLatestTimeSlot() multistate.SugaredStateReader

func (*ProximaNode) PullFromPeers

func (p *ProximaNode) PullFromPeers(txid *ledger.TransactionID)

func (*ProximaNode) PullFromRandomPeers

func (p *ProximaNode) PullFromRandomPeers(nPeers int, txid *ledger.TransactionID) int

func (*ProximaNode) QueryTxIDStatusJSONAble

func (p *ProximaNode) QueryTxIDStatusJSONAble(txid *ledger.TransactionID) vertex.TxIDStatusJSONAble

func (*ProximaNode) Start

func (p *ProximaNode) Start()

Start starts the node

func (*ProximaNode) StateStore

func (p *ProximaNode) StateStore() global.StateStore

func (*ProximaNode) SubmitTxBytesFromAPI

func (p *ProximaNode) SubmitTxBytesFromAPI(txBytes []byte, trace bool)

func (*ProximaNode) TxBytesStore

func (p *ProximaNode) TxBytesStore() global.TxBytesStore

func (*ProximaNode) WaitAllDBClosed

func (p *ProximaNode) WaitAllDBClosed()

WaitAllDBClosed ensuring databases has been closed

func (*ProximaNode) WaitAllWorkProcessesToStop

func (p *ProximaNode) WaitAllWorkProcessesToStop()

WaitAllWorkProcessesToStop wait everything to stop before closing databases

Jump to

Keyboard shortcuts

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