Documentation ¶
Overview ¶
Code generated by go generate; DO NOT EDIT.
Index ¶
- Variables
- func NewLedgerOutput(o *utxoledger.Output, slotIncluded ...iotago.SlotIndex) (*inx.LedgerOutput, error)
- func NewLedgerSpent(s *utxoledger.Spent) (*inx.LedgerSpent, error)
- func NewLedgerUpdateBatchBegin(commitmentID iotago.CommitmentID, newOutputsCount int, newSpentsCount int) *inx.LedgerUpdate
- func NewLedgerUpdateBatchEnd(commitmentID iotago.CommitmentID, newOutputsCount int, newSpentsCount int) *inx.LedgerUpdate
- func NewLedgerUpdateBatchOperationConsumed(spent *utxoledger.Spent) (*inx.LedgerUpdate, error)
- func NewLedgerUpdateBatchOperationCreated(output *utxoledger.Output) (*inx.LedgerUpdate, error)
- type ParametersINX
- type Server
- func (s *Server) ConfigurePrometheus()
- func (s *Server) ForceCommitUntil(_ context.Context, slot *inx.SlotRequest) (*inx.NoParams, error)
- func (s *Server) ListenToAcceptedTransactions(_ *inx.NoParams, srv inx.INX_ListenToAcceptedTransactionsServer) error
- func (s *Server) ListenToBlockMetadata(_ *inx.NoParams, srv inx.INX_ListenToBlockMetadataServer) error
- func (s *Server) ListenToBlocks(_ *inx.NoParams, srv inx.INX_ListenToBlocksServer) error
- func (s *Server) ListenToCommitments(req *inx.SlotRangeRequest, srv inx.INX_ListenToCommitmentsServer) error
- func (s *Server) ListenToLedgerUpdates(req *inx.SlotRangeRequest, srv inx.INX_ListenToLedgerUpdatesServer) error
- func (s *Server) ListenToNodeStatus(req *inx.NodeStatusRequest, srv inx.INX_ListenToNodeStatusServer) error
- func (s *Server) PerformAPIRequest(_ context.Context, req *inx.APIRequest) (*inx.APIResponse, error)
- func (s *Server) ReadAcceptedBlocks(slot *inx.SlotRequest, srv inx.INX_ReadAcceptedBlocksServer) error
- func (s *Server) ReadActiveRootBlocks(_ context.Context, _ *inx.NoParams) (*inx.RootBlocksResponse, error)
- func (s *Server) ReadBlock(_ context.Context, blockID *inx.BlockId) (*inx.RawBlock, error)
- func (s *Server) ReadBlockIssuance(_ context.Context, req *inx.BlockIssuanceRequest) (*inx.BlockIssuanceResponse, error)
- func (s *Server) ReadBlockMetadata(_ context.Context, blockID *inx.BlockId) (*inx.BlockMetadata, error)
- func (s *Server) ReadCommitment(_ context.Context, req *inx.CommitmentRequest) (*inx.Commitment, error)
- func (s *Server) ReadIsCandidate(_ context.Context, accountInfoRequest *inx.AccountInfoRequest) (*inx.BoolResponse, error)
- func (s *Server) ReadIsCommitteeMember(_ context.Context, accountInfoRequest *inx.AccountInfoRequest) (*inx.BoolResponse, error)
- func (s *Server) ReadIsValidatorAccount(_ context.Context, accountInfoRequest *inx.AccountInfoRequest) (*inx.BoolResponse, error)
- func (s *Server) ReadNodeConfiguration(context.Context, *inx.NoParams) (*inx.NodeConfiguration, error)
- func (s *Server) ReadNodeStatus(context.Context, *inx.NoParams) (*inx.NodeStatus, error)
- func (s *Server) ReadOutput(_ context.Context, id *inx.OutputId) (*inx.OutputResponse, error)
- func (s *Server) ReadTransactionMetadata(_ context.Context, transactionID *inx.TransactionId) (*inx.TransactionMetadata, error)
- func (s *Server) ReadUnspentOutputs(_ *inx.NoParams, srv inx.INX_ReadUnspentOutputsServer) error
- func (s *Server) RegisterAPIRoute(_ context.Context, req *inx.APIRouteRequest) (*inx.NoParams, error)
- func (s *Server) Start()
- func (s *Server) Stop()
- func (s *Server) SubmitBlock(ctx context.Context, rawBlock *inx.RawBlock) (*inx.BlockId, error)
- func (s *Server) UnregisterAPIRoute(_ context.Context, req *inx.APIRouteRequest) (*inx.NoParams, error)
- func (s *Server) ValidatePayload(_ context.Context, payload *inx.RawPayload) (*inx.PayloadValidationResponse, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Component *app.Component
)
View Source
var ParamsINX = &ParametersINX{}
Functions ¶
func NewLedgerOutput ¶
func NewLedgerOutput(o *utxoledger.Output, slotIncluded ...iotago.SlotIndex) (*inx.LedgerOutput, error)
func NewLedgerSpent ¶
func NewLedgerSpent(s *utxoledger.Spent) (*inx.LedgerSpent, error)
func NewLedgerUpdateBatchBegin ¶
func NewLedgerUpdateBatchBegin(commitmentID iotago.CommitmentID, newOutputsCount int, newSpentsCount int) *inx.LedgerUpdate
func NewLedgerUpdateBatchEnd ¶
func NewLedgerUpdateBatchEnd(commitmentID iotago.CommitmentID, newOutputsCount int, newSpentsCount int) *inx.LedgerUpdate
func NewLedgerUpdateBatchOperationConsumed ¶
func NewLedgerUpdateBatchOperationConsumed(spent *utxoledger.Spent) (*inx.LedgerUpdate, error)
func NewLedgerUpdateBatchOperationCreated ¶
func NewLedgerUpdateBatchOperationCreated(output *utxoledger.Output) (*inx.LedgerUpdate, error)
Types ¶
type ParametersINX ¶
type ParametersINX struct { // Enabled defines whether the INX plugin is enabled. Enabled bool `default:"false" usage:"whether the INX plugin is enabled"` // the bind address on which the INX can be accessed from BindAddress string `default:"localhost:9029" usage:"the bind address on which the INX can be accessed from"` }
ParametersINX contains the definition of the parameters used by INX.
type Server ¶
type Server struct { inx.UnimplementedINXServer // contains filtered or unexported fields }
func (*Server) ConfigurePrometheus ¶
func (s *Server) ConfigurePrometheus()
func (*Server) ForceCommitUntil ¶
func (*Server) ListenToAcceptedTransactions ¶
func (*Server) ListenToBlockMetadata ¶
func (*Server) ListenToBlocks ¶
func (*Server) ListenToCommitments ¶
func (s *Server) ListenToCommitments(req *inx.SlotRangeRequest, srv inx.INX_ListenToCommitmentsServer) error
func (*Server) ListenToLedgerUpdates ¶
func (s *Server) ListenToLedgerUpdates(req *inx.SlotRangeRequest, srv inx.INX_ListenToLedgerUpdatesServer) error
func (*Server) ListenToNodeStatus ¶
func (s *Server) ListenToNodeStatus(req *inx.NodeStatusRequest, srv inx.INX_ListenToNodeStatusServer) error
func (*Server) PerformAPIRequest ¶
func (s *Server) PerformAPIRequest(_ context.Context, req *inx.APIRequest) (*inx.APIResponse, error)
func (*Server) ReadAcceptedBlocks ¶
func (s *Server) ReadAcceptedBlocks(slot *inx.SlotRequest, srv inx.INX_ReadAcceptedBlocksServer) error
func (*Server) ReadActiveRootBlocks ¶
func (*Server) ReadBlockIssuance ¶
func (s *Server) ReadBlockIssuance(_ context.Context, req *inx.BlockIssuanceRequest) (*inx.BlockIssuanceResponse, error)
func (*Server) ReadBlockMetadata ¶
func (*Server) ReadCommitment ¶
func (s *Server) ReadCommitment(_ context.Context, req *inx.CommitmentRequest) (*inx.Commitment, error)
func (*Server) ReadIsCandidate ¶
func (s *Server) ReadIsCandidate(_ context.Context, accountInfoRequest *inx.AccountInfoRequest) (*inx.BoolResponse, error)
func (*Server) ReadIsCommitteeMember ¶
func (s *Server) ReadIsCommitteeMember(_ context.Context, accountInfoRequest *inx.AccountInfoRequest) (*inx.BoolResponse, error)
func (*Server) ReadIsValidatorAccount ¶
func (s *Server) ReadIsValidatorAccount(_ context.Context, accountInfoRequest *inx.AccountInfoRequest) (*inx.BoolResponse, error)
func (*Server) ReadNodeConfiguration ¶
func (*Server) ReadNodeStatus ¶
func (*Server) ReadOutput ¶
func (*Server) ReadTransactionMetadata ¶
func (s *Server) ReadTransactionMetadata(_ context.Context, transactionID *inx.TransactionId) (*inx.TransactionMetadata, error)
func (*Server) ReadUnspentOutputs ¶
func (*Server) RegisterAPIRoute ¶
func (*Server) SubmitBlock ¶
func (*Server) UnregisterAPIRoute ¶
func (*Server) ValidatePayload ¶
func (s *Server) ValidatePayload(_ context.Context, payload *inx.RawPayload) (*inx.PayloadValidationResponse, error)
Click to show internal directories.
Click to hide internal directories.