Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
Provider adapts ledger relay data to the peer-governance provider interface.
func NewProvider ¶
func NewProvider(relays relayProvider) *Provider
NewProvider creates a peer-governance ledger peer provider from a neutral ledger relay provider.
func (*Provider) CurrentSlot ¶
CurrentSlot returns the current chain tip slot number.
Click to show internal directories.
Click to hide internal directories.