Documentation
¶
Index ¶
- type FakeEC
- func (ec *FakeEC) Finalize(context.Context, gpbft.TipSetKey) error
- func (ec *FakeEC) GetCurrentHead() int64
- func (ec *FakeEC) GetHead(ctx context.Context) (ec.TipSet, error)
- func (ec *FakeEC) GetParent(ctx context.Context, ts ec.TipSet) (ec.TipSet, error)
- func (ec *FakeEC) GetPowerTable(context.Context, gpbft.TipSetKey) (gpbft.PowerEntries, error)
- func (ec *FakeEC) GetTipset(_ context.Context, tsk gpbft.TipSetKey) (ec.TipSet, error)
- func (ec *FakeEC) GetTipsetByEpoch(ctx context.Context, epoch int64) (ec.TipSet, error)
- func (ec *FakeEC) Pause()
- func (ec *FakeEC) Resume()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeEC ¶
type FakeEC struct {
// contains filtered or unexported fields
}
func (*FakeEC) GetCurrentHead ¶
func (*FakeEC) GetPowerTable ¶
func (*FakeEC) GetTipsetByEpoch ¶
GetTipsetByHeight should return a tipset or nil/empty byte array if it does not exists
Click to show internal directories.
Click to hide internal directories.