new round of hacks (config etc)
This commit is contained in:
parent
750c594f5f
commit
8b71b978e0
@ -125,6 +125,7 @@ impl<Id: ReqId, TSpec: EthSpec> RPC<Id, TSpec> {
|
|||||||
Duration::from_secs(10),
|
Duration::from_secs(10),
|
||||||
)
|
)
|
||||||
.n_every(Protocol::BlocksByRoot, 128, Duration::from_secs(10))
|
.n_every(Protocol::BlocksByRoot, 128, Duration::from_secs(10))
|
||||||
|
.n_every(Protocol::BlobsByRange, 128, Duration::from_secs(10))
|
||||||
.build()
|
.build()
|
||||||
.expect("Configuration parameters are valid");
|
.expect("Configuration parameters are valid");
|
||||||
RPC {
|
RPC {
|
||||||
|
@ -460,7 +460,7 @@ impl<T: BeaconChainTypes> Worker<T> {
|
|||||||
Ok(None) => {
|
Ok(None) => {
|
||||||
error!(
|
error!(
|
||||||
self.log,
|
self.log,
|
||||||
"Block in the chain is not in the store";
|
"Blob in the chain is not in the store";
|
||||||
"request_root" => ?root
|
"request_root" => ?root
|
||||||
);
|
);
|
||||||
break;
|
break;
|
||||||
@ -509,7 +509,7 @@ impl<T: BeaconChainTypes> Worker<T> {
|
|||||||
// send the stream terminator
|
// send the stream terminator
|
||||||
self.send_network_message(NetworkMessage::SendResponse {
|
self.send_network_message(NetworkMessage::SendResponse {
|
||||||
peer_id,
|
peer_id,
|
||||||
response: Response::BlocksByRange(None),
|
response: Response::BlobsByRange(None),
|
||||||
id: request_id,
|
id: request_id,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
- enr:-MK4QI-wkVW1PxL4ksUM4H_hMgTTwxKMzvvDMfoiwPBuRxcsGkrGPLo4Kho3Ri1DEtJG4B6pjXddbzA9iF2gVctxv42GAX9v5WG5h2F0dG5ldHOIAAAAAAAAAACEZXRoMpBzql9ccAAAcDIAAAAAAAAAgmlkgnY0gmlwhKRcjMiJc2VjcDI1NmsxoQK1fc46pmVHKq8HNYLkSVaUv4uK2UBsGgjjGWU6AAhAY4hzeW5jbmV0cwCDdGNwgiMog3VkcIIjKA
|
Binary file not shown.
@ -253,7 +253,7 @@ impl EthSpec for MainnetEthSpec {
|
|||||||
type SubnetBitfieldLength = U64;
|
type SubnetBitfieldLength = U64;
|
||||||
type MaxValidatorsPerCommittee = U2048;
|
type MaxValidatorsPerCommittee = U2048;
|
||||||
type GenesisEpoch = U0;
|
type GenesisEpoch = U0;
|
||||||
type SlotsPerEpoch = U32;
|
type SlotsPerEpoch = U8;
|
||||||
type EpochsPerEth1VotingPeriod = U64;
|
type EpochsPerEth1VotingPeriod = U64;
|
||||||
type SlotsPerHistoricalRoot = U8192;
|
type SlotsPerHistoricalRoot = U8192;
|
||||||
type EpochsPerHistoricalVector = U65536;
|
type EpochsPerHistoricalVector = U65536;
|
||||||
|
Loading…
Reference in New Issue
Block a user