Documentation ¶
Index ¶
- func ConvertShardInfoToBlockStatus(shardInfo *types.MultiShardInfo, verifiedStatus types.Status, ...) (blockStatus *types.BlockStatus)
- func Debounce(ctx context.Context, interval time.Duration, eventsChan <-chan interface{}, ...)
- func PrepareMultiShardData(vanShardInfo *types.VanguardShardInfo, panHeader *eth1Types.Header, ...) *types.MultiShardInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertShardInfoToBlockStatus ¶
func ConvertShardInfoToBlockStatus( shardInfo *types.MultiShardInfo, verifiedStatus types.Status, finalizedSlot uint64) (blockStatus *types.BlockStatus)
ConvertShardInfoToBlockStatus converts sharding info to blockStatus
func Debounce ¶
func Debounce( ctx context.Context, interval time.Duration, eventsChan <-chan interface{}, handler func(interface{}), )
This will trigger handler only after certain timeout
func PrepareMultiShardData ¶
func PrepareMultiShardData( vanShardInfo *types.VanguardShardInfo, panHeader *eth1Types.Header, totalExecShardCnt, shardsPerVanBlock uint64) *types.MultiShardInfo
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.