package
0.9.8
Repository: https://github.com/iotaledger/goshimmer.git
Documentation: pkg.go.dev

# Functions

AliasOutputFromLedgerstate creates a JSON compatible representation of a ledgerstate output.
No description provided by the author
ExtendedLockedOutputFromLedgerstate creates a JSON compatible representation of a ledgerstate output.
MarshalOutput uses the json marshaller to marshal a ledgerstate.Output into bytes.
NewAddress returns an Address from the given ledgerstate.Address.
NewChildConflict returns a ChildConflict from the given ledger.ChildConflict.
NewConflict returns a Conflict from the given ledger.ConflictID.
NewConflictWeight returns a Conflict from the given ledger.Conflict.
NewConsumer returns a Consumer from the given ledger.Consumer.
NewErrorResponse returns am ErrorResponse from the given error.
NewGetAddressResponse returns a GetAddressResponse from the given details.
NewGetConflictChildrenResponse returns a GetConflictChildrenResponse from the given details.
NewGetConflictConflictsResponse returns a GetConflictConflictsResponse from the given details.
NewGetConflictVotersResponse returns a GetConflictVotersResponse from the given details.
NewGetOutputConsumersResponse returns a GetOutputConsumersResponse from the given details.
NewGetTransactionAttachmentsResponse returns a GetTransactionAttachmentsResponse from the given details.
NewInput returns an Input from the given ledgerstate.Input.
NewMarkers returns the Markers from the given markers.Markers.
NewOutput returns an Output from the given ledgerstate.Output.
NewOutputID returns an OutputID from the given ledgerstate.OutputID.
NewOutputMetadata returns the OutputMetadata from the given ledger.OutputMetadata.
NewPostPayloadResponse returns a PostPayloadResponse from the given tangleold.Block.
NewStructureDetails returns the StructureDetails from the given markers.StructureDetails.
NewTransaction returns a Transaction from the given ledgerstate.Transaction.
NewTransactionMetadata returns the TransactionMetadata from the given ledger.TransactionMetadata.
NewUnlockBlock returns an UnlockBlock from the given ledgerstate.UnlockBlock.
SigLockedColoredOutputFromLedgerstate creates a JSON compatible representation of a ledgerstate output.
SigLockedSingleOutputFromLedgerstate creates a JSON compatible representation of a ledgerstate output.
UnmarshalAliasOutputFromBytes uses the json unmarshaler to unmarshal data into an AliasOutput.
UnmarshalExtendedLockedOutputFromBytes uses the json unmarshaler to unmarshal data into an ExtendedLockedOutput.
UnmarshalSigLockedColoredOutputFromBytes uses the json unmarshaler to unmarshal data into a SigLockedColoredOutput.
UnmarshalSigLockedSingleOutputFromBytes uses the json unmarshaler to unmarshal data into a SigLockedSingleOutput.

# Structs

Address represents the JSON model of a ledgerstate.Address.
AliasOutput is the JSON model of a ledgerstate.AliasOutput.
AllowedManaPledgeResponse is the http response.
AllowedPledge represents the nodes that mana is allowed to be pledged to.
Block represents the JSON model of a tangleold.Block.
BlockMetadata represents the JSON model of the tangleold.BlockMetadata.
ChildConflict represents the JSON model of a ledger.ChildConflict.
Conflict represents the JSON model of a ledger.Conflict.
ConflictWeight represents the JSON model of a ledger.Conflict.
Consumer represents the JSON model of a ledger.Consumer.
DataRequest contains the data of the block to send.
DataResponse contains the ID of the block sent.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ErrorResponse represents the JSON model of an error response from an API endpoint.
EventLogsJSON is a events log in JSON.
ExtendedLockedOutput is the JSON model of a ledgerstate.ExtendedLockedOutput.
FaucetAPIResponse contains the status of facet request through web API.
FaucetRequest contains the address to request funds from faucet.
FaucetRequestResponse contains the ID of the block sent.
GetAddressResponse represents the JSON model of a response from the GetAddress endpoint.
GetAllManaResponse is the request to a getAllManaHandler request.
GetConflictChildrenResponse represents the JSON model of a response from the GetConflictChildren endpoint.
GetConflictConflictsResponse represents the JSON model of a response from the GetConflictConflicts endpoint.
GetConflictVotersResponse represents the JSON model of a response from the GetConflictVoters endpoint.
GetEventLogsRequest is the request.
GetEventLogsResponse is the response.
GetManaRequest is the request for get mana.
GetManaResponse defines the response for get mana.
GetNeighborsResponse contains information of the autopeering.
GetNHighestResponse holds info about nodes and their mana values.
GetOnlineResponse is the response to an online mana request.
GetOutputConsumersResponse represents the JSON model of a response from the GetOutputConsumers endpoint.
GetPercentileRequest is the request object of mana/percentile.
GetPercentileResponse holds info about the mana percentile(s) of a node.
GetTransactionAttachmentsResponse represents the JSON model of a response from the GetTransactionAttachments endpoint.
GetUnspentOutputResponse represents the JSON model of a response from the GetUnspentOutput endpoint.
InfoResponse holds the response of the GET request.
Input represents the JSON model of a ledgerstate.Input.
Mana contains the different mana values of the node.
Markers represents the JSON model of the markers.Markers.
MissingAvailableResponse is a map of blockIDs with the peers that have such block.
MissingResponse is the HTTP response containing all the missing blocks and their count.
Neighbor contains information of a neighbor peer.
No description provided by the author
OnlineNodeStr holds information about online rank, nodeID and mana.
Output represents the JSON model of a ledgerstate.Output.
OutputID represents the JSON model of a ledgerstate.OutputID.
OutputMetadata represents the JSON model of the ledger.OutputMetadata.
ParentBlockIDs is a json representation of tangleold.ParentBlockIDs.
PastconeRequest holds the block id to query.
PastconeResponse is the HTTP response containing the number of blocks in the past cone and if all blocks of the past cone exist on the node.
PastConsensusManaVectorResponse is the response.
PeerService contains information about a neighbor peer service.
PeerToRemove holds the data that uniquely identifies the peer to be removed, e.g.
PostAddressesUnspentOutputsRequest is a the request object for the /ledgerstate/addresses/unspentOutputs endpoint.
PostAddressesUnspentOutputsResponse is a the response object for the /ledgerstate/addresses/unspentOutputs endpoint.
PostPayloadRequest represents the JSON model of a PostPayload request.
PostPayloadResponse represents the JSON model of a PostPayload response.
PostTransactionRequest holds the transaction object(bytes) to send.
PostTransactionResponse is the HTTP response from sending transaction.
RateSetter is the rate setter details.
Scheduler is the scheduler details.
SendBlockRequest contains the data of send block endpoint.
SigLockedColoredOutput is the JSON model of a ledgerstate.SigLockedColoredOutput.
SigLockedSingleOutput is the JSON model of a ledgerstate.SigLockedSingleOutput.
SpammerRequest contains the parameters of a spammer request.
SpammerResponse is the HTTP response of a spammer request.
StructureDetails represents the JSON model of the markers.StructureDetails.
TangleTime contains the TangleTime sync detailed status.
Transaction represents the JSON model of a ledgerstate.Transaction.
TransactionMetadata represents the JSON model of the ledger.TransactionMetadata.
UnlockBlock represents the JSON model of a ledgerstate.UnlockBlock.
WalletOutput represents an output as expected by the wallet lib.
WalletOutputMetadata holds metadata about the output.
WalletOutputsOnAddress represents wallet outputs on an address.