package
0.101.0
Repository: https://github.com/blinklabs-io/gouroboros.git
Documentation: pkg.go.dev

# Functions

New returns a new LocalStateQuery object.
NewClient returns a new LocalStateQuery client object.
NewConfig returns a new LocalStateQuery config object with the provided options.
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
NewMsgFromCbor parses a LocalStateQuery message from CBOR.
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
NewServer returns a new LocalStateQuery server object.
WithAcquireFunc specifies the Acquire callback function when acting as a server.
WithAcquireTimeout specifies the timeout for the Acquire operation when acting as a client.
WithDoneFunc specifies the Done callback function when acting as a server.
WithQueryFunc specifies the Query callback function when acting as a server.
WithQueryTimeout specifies the timeout for the Query operation when acting as a client.
WithReAcquireFunc specifies the ReAcquire callback function when acting as a server.
WithReleaseFunc specifies the Release callback function when acting as a server.

# Constants

Acquire failure reasons.
Acquire failure reasons.
Message types.
Message types.
Message types.
Message types.
Message types.
Message types.
Message types.
Message types.
Message types.
Message types.
Protocol identifiers.
Protocol identifiers.
Query types.
Query types.
Query types.
Query types.
Query types.
Hard fork query sub-types.
Block query sub-types.
Query types.
Query types.
Query types.
Query types.
Query types.
Query types.
Query types.
Query types.
Shelley query sub-types.
Query types.
Query types.
Query types.
Query types.
Query types.
Query types.
Query types.
Query types.
Query types.
Query types.
Query types.
Query types.
Query types.
Query types.

# Variables

LocalStateQuery protocol state machine.

# Structs

AcquireFailurePointNotOnChainError indicates a failure to acquire a point due to it not being present on the chain.
AcquireFailurePointTooOldError indicates a failure to acquire a point due to it being too old.
Callback context.
Client implements the LocalStateQuery client.
Config is used to configure the LocalStateQuery protocol instance.
No description provided by the author
No description provided by the author
LocalStateQuery is a wrapper object that holds the client and server instances.
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
No description provided by the author
No description provided by the author
No description provided by the author
Server implements the LocalStateQuery server.
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

# Interfaces

No description provided by the author
TODO.
TODO.
TODO.
TODO rwdr [flag bytestring] bytestring is the keyhash of the staking vkey flag 0/1 0=keyhash 1=scripthash result [[ delegation rewards] ] delegation { * rwdr => poolid } poolid is a bytestring rewards { * rwdr => int } It seems to be a requirement to sort the reward addresses on the query.
TODO result [{ *[0 int] => non_myopic_rewards }] for each stake display reward non_myopic_rewards { *poolid => int } int is the amount of lovelaces each pool would reward */.
TODO.
TODO.
TODO.
TODO.
TODO result [ *Element ] Expanded in order on the next rows.
TODO.
TODO result [{* utxo => value }] */.

# Type aliases

Callback function types.
No description provided by the author
LocalStateQueryOptionFunc represents a function used to modify the LocalStateQuery protocol config.
No description provided by the author
No description provided by the author
No description provided by the author