Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TrackingChainstore ¶
type TrackingChainstore interface { blockstore.Blockstore blockstore.Viewer iface.Datasource io.Closer DeleteMany([]cid.Cid) error View(cid.Cid, func([]byte) error) error CurrentDbTipSetKey(context.Context) (*types.TipSetKey, abi.ChainEpoch, error) GetCurrentTipset(ctx context.Context) []cid.Cid StoreTipSetVist(ctx context.Context, ts *types.TipSet, isHeaChange bool) error }
func NewTrackingPgChainstore ¶
func NewTrackingPgChainstore(ctx context.Context, conn string) (TrackingChainstore, error)
func NewTrackingPgChainstoreFromEnv ¶
func NewTrackingPgChainstoreFromEnv(ctx context.Context, readOnly bool) (TrackingChainstore, error)
Click to show internal directories.
Click to hide internal directories.