NewBlockPacket¶
| Source (upstream pre-purge) | Current | |
|---|---|---|
| File | eth/protocols/eth/protocol.go |
protocol_pow.go |
| Symbol | NewBlockPacket |
NewBlockPacket |
| Ref | 723aae2b4~1 |
etc/v1.17.3-full-node |
Block propagation packet with TD. Removed from upstream v1.17.2 protocol.go. Includes sanityCheck() method (NEW-ETC).
3-way merge — purge → getc ← upstream¶
pre-purge
↗// NewBlockPacket is the network packet for the block propagation message.
type NewBlockPacket struct {
Block *types.Block
TD *big.Int
}