Skip to content

ReceiptsPacket68

Source (upstream pre-purge) Current
File eth/protocols/eth/protocol.go protocol_pow.go
Symbol ReceiptsPacket ReceiptsPacket68
Ref 723aae2b4~1 etc/v1.17.4-full-node

{RequestId, List} where List is rlp.RawList[ReceiptList68] — the delayed-decoding form #33835 gave the ETH68 receipts response, monomorphized. Upstream's pre-drop type was the generic ReceiptsPacket[L ReceiptsList] instantiated at L=ReceiptList68; the generic and its ReceiptsList constraint (ReceiptList68 | ReceiptList69) are NOT revived because the only surviving instantiation is 68, and v1.17.4 itself abandoned the generic in favour of one concrete type per version (ReceiptsPacket69 / ReceiptsPacket70). Naming follows that v1.17.4 convention. Supersedes the earlier purge1 revival {RequestId, ReceiptsResponse}, which decoded every receipt into types.Receipt down to each types.Log.

3-way merge — purge → getc ← upstream

pre-purge≈ adapted (origin inferred by similarity)fork-only
// ReceiptsPacket68 is the network packet for block receipts distribution with
// request ID wrapping.
type ReceiptsPacket68 struct {
RequestId uint64
List rlp.RawList[*ReceiptList68]
core-geth validation — +3 -3 | | | |---|---| | File | [`protocol.go`](https://github.com/etclabscore/core-geth/blob/v1.12.20/eth/protocols/eth/protocol.go) | | Symbol | `ReceiptsPacket` | | Ref | `v1.12.20` |
--- a/core-geth/eth/protocols/eth/protocol.go
+++ b/etc/eth/protocols/eth/protocol_pow.go
@@ -1,6 +1,6 @@
-// ReceiptsPacket is the network packet for block receipts distribution with
+// ReceiptsPacket68 is the network packet for block receipts distribution with
 // request ID wrapping.
-type ReceiptsPacket struct {
+type ReceiptsPacket68 struct {
    RequestId uint64
-   ReceiptsResponse
+   List      rlp.RawList[*ReceiptList68]
 }

← eth Protocol