mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-07 03:22:18 +00:00
08f6299257
* broadcast new headers * don't use eth type * don't use eth type * add seenAnnounces scet * use lru
13 lines
209 B
Go
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)
|
|
}
|