Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BufferedTipsetChannel ¶
func BufferedTipsetChannel(ctx context.Context, api BufferedTipsetChannelApi, lastHeight abi.ChainEpoch, size int) (<-chan *types.TipSet, error)
BufferedTipsetChannel returns an unbuffered channel of tipsets. Buffering occurs internally to handle revert ChainNotify changes. The returned channel can output tipsets at the same height twice if a reorg larger the provided `size` occurs.
Types ¶
Click to show internal directories.
Click to hide internal directories.