testing

package
v0.45.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 26, 2025 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestNetmapSource

type TestNetmapSource struct {
	Netmaps      map[uint64]*netmap.NetMap
	CurrentEpoch uint64
}

func (*TestNetmapSource) Epoch

func (*TestNetmapSource) GetNetMap

func (s *TestNetmapSource) GetNetMap(ctx context.Context, diff uint64) (*netmap.NetMap, error)

func (*TestNetmapSource) GetNetMapByEpoch

func (s *TestNetmapSource) GetNetMapByEpoch(_ context.Context, epoch uint64) (*netmap.NetMap, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL