erigon-pulse/turbo/adapter/block_propagator.go
Alex Sharov 08f6299257
broadcast new headers (#1847)
* broadcast new headers

* don't use eth type

* don't use eth type

* add seenAnnounces scet

* use lru
2021-05-01 21:03:51 +01:00

13 lines
209 B
Go

package adapter
import (
"context"
"math/big"
"github.com/ledgerwatch/turbo-geth/core/types"
)
type BlockPropagator interface {
BroadcastNewBlock(ctx context.Context, block *types.Block, td *big.Int)
}