mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-23 23:04:53 +00:00
Light client updates by range RPC (#6383)
* enable lc update over rpc * resolve TODOs * resolve merge conflicts * move max light client updates to eth spec * Merge branch 'unstable' of https://github.com/sigp/lighthouse into light-client-updates-by-range-rpc * remove ethspec dependency * Update beacon_node/network/src/network_beacon_processor/rpc_methods.rs Co-authored-by: Michael Sproul <micsproul@gmail.com> * Update beacon_node/lighthouse_network/src/rpc/methods.rs Co-authored-by: Michael Sproul <micsproul@gmail.com>
This commit is contained in:
@@ -558,6 +558,7 @@ impl<E: EthSpec> PeerManager<E> {
|
||||
Protocol::LightClientBootstrap => return,
|
||||
Protocol::LightClientOptimisticUpdate => return,
|
||||
Protocol::LightClientFinalityUpdate => return,
|
||||
Protocol::LightClientUpdatesByRange => return,
|
||||
Protocol::BlobsByRoot => PeerAction::MidToleranceError,
|
||||
Protocol::DataColumnsByRoot => PeerAction::MidToleranceError,
|
||||
Protocol::DataColumnsByRange => PeerAction::MidToleranceError,
|
||||
@@ -585,6 +586,7 @@ impl<E: EthSpec> PeerManager<E> {
|
||||
Protocol::LightClientBootstrap => return,
|
||||
Protocol::LightClientOptimisticUpdate => return,
|
||||
Protocol::LightClientFinalityUpdate => return,
|
||||
Protocol::LightClientUpdatesByRange => return,
|
||||
Protocol::MetaData => PeerAction::Fatal,
|
||||
Protocol::Status => PeerAction::Fatal,
|
||||
}
|
||||
@@ -606,6 +608,7 @@ impl<E: EthSpec> PeerManager<E> {
|
||||
Protocol::LightClientBootstrap => return,
|
||||
Protocol::LightClientOptimisticUpdate => return,
|
||||
Protocol::LightClientFinalityUpdate => return,
|
||||
Protocol::LightClientUpdatesByRange => return,
|
||||
Protocol::Goodbye => return,
|
||||
Protocol::MetaData => return,
|
||||
Protocol::Status => return,
|
||||
|
||||
Reference in New Issue
Block a user