package
2.0.2
Repository: https://github.com/iotaledger/hornet.git
Documentation: pkg.go.dev

# Functions

AddFeature adds a feature to the RouteInfo endpoint.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WrapInfoSnapshot wraps the given peer info snapshot with additional metadata, such as gossip protocol information.

# Constants

RouteBlock is the route for getting a block by its blockID.
RouteBlockMetadata is the route for getting block metadata by its blockID.
RouteBlocks is the route for creating new blocks.
RouteComputeWhiteFlagMutations is the route to compute the white flag mutations for the cone of the given parents.
RouteControlDatabasePrune is the control route to manually prune the database.
RouteControlSnapshotsCreate is the control route to manually create a snapshot files.
RouteInfo is the route for getting the node info.
RouteMilestoneByID is the route for getting a milestone by its ID.
RouteMilestoneByIDUTXOChanges is the route for getting all UTXO changes of a milestone by its ID.
RouteMilestoneByIndex is the route for getting a milestone by its milestoneIndex.
RouteMilestoneByIndexUTXOChanges is the route for getting all UTXO changes of a milestone by its milestoneIndex.
RouteOutput is the route for getting an output by its outputID (transactionHash + outputIndex).
RouteOutputMetadata is the route for getting output metadata by its outputID (transactionHash + outputIndex) without getting the data again.
RoutePeer is the route for getting peers by their peerID.
RoutePeers is the route for getting all peers of the node.
RouteReceipts is the route for getting all persisted receipts on a node.
RouteReceiptsMigratedAtIndex is the route for getting all persisted receipts for a given migrated at index on a node.
RouteTips is the route for getting tips.
RouteTransactionsIncludedBlock is the route for getting the block that was included in the ledger for a given transaction ID.
RouteTransactionsIncludedBlockMetadata is the route for getting the block metadata that was included in the ledger for a given transaction ID.
RouteTreasury is the route for getting the current treasury output.

# Variables

No description provided by the author

# Structs

ComputeWhiteFlagMutationsRequest defines the request for a POST debugComputeWhiteFlagMutations REST API call.
ComputeWhiteFlagMutationsResponse defines the response for a POST debugComputeWhiteFlagMutations REST API call.
OutputMetadataResponse defines the response of a GET outputs metadata REST API call.
OutputResponse defines the response of a GET outputs REST API call.
PeerResponse defines the response of a GET peer REST API call.