eth/protocols/eth/peer.go — Version Comparison
|
v1.16.8 |
v1.17.3 |
| Branch |
etc/v1.16.8-full-node |
etc/v1.17.3-full-node |
| Delta |
+2 -0 |
+2 -0 |
ETC delta on v1.16.8 (+2 -0)
diff --git a/eth/protocols/eth/peer.go b/eth/protocols/eth/peer.go
index 40c54a357..755644727 100644
--- a/eth/protocols/eth/peer.go
+++ b/eth/protocols/eth/peer.go
@@ -60,6 +60,8 @@ type Peer struct {
resDispatch chan *response // Dispatch channel to fulfil pending requests and untrack them
term chan struct{} // Termination channel to stop the broadcasters
+
+ powExt *PoWPeerExtension // PoW-specific peer state (nil for PoS peers)
}
// NewPeer creates a wrapper for a network connection and negotiated protocol
ETC delta on v1.17.3 (+2 -0)
diff --git a/eth/protocols/eth/peer.go b/eth/protocols/eth/peer.go
index 754fd02be..54d712d54 100644
--- a/eth/protocols/eth/peer.go
+++ b/eth/protocols/eth/peer.go
@@ -82,6 +82,8 @@ type Peer struct {
receiptBufferLock sync.Mutex // Lock for protecting the receiptBuffer
term chan struct{} // Termination channel to stop the broadcasters
+
+ powExt *PoWPeerExtension // PoW-specific peer state (nil for PoS peers)
}
// NewPeer creates a wrapper for a network connection and negotiated protocol
← Back to Version Comparison