IntersectMBO / IntersectMBO/ouroboros-consensus

Take version into account in nodeBlockFetchSize

Aperta
#653 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
technical debt
Lingua principale
Haskell
Stelle
67
Fork
43
Merge medio
5g 13h
PR unite (30g)
43

Descrizione

Currently, `nodeBlockFetchSize` does not take the `BlockNodeToNodeVersion` (it's not used for `NodeToClient` protocols at the moment) into account when coming up with an estimate for the block size. This means that if for a certain version, the blocks are larger, `nodeBlockFetchSize` would have to overestimate for the other versions, just to make sure that it never underestimates.

Note that eventually `nodeBlockFetchSize` should be removed from `RunNode`.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.