Replies: 4 comments 4 replies
-
I don't see any bad point on this except that it's better if we are sure about our operation naked propagation algorithm before |
Beta Was this translation helpful? Give feedback.
-
Possible attack vector when combining with operation ID truncation: #2584 (comment) |
Beta Was this translation helpful? Give feedback.
-
Is it correct to read that list of actions as resulting in a node never "asking for a block", instead constructing it locally from the header + ops? This would mean that the block concept could be removed from the networking concept, as it only is a kind of internal structure created from header + ops received over the network? In most cases all the ops for the header would likely already be present at the receiving node, because those would have been propagated already prior to block production? Also, what is the "op hash list", do you have a reference in the current code? Can we not send the "op hash list" alongside the header? Finally, we already have quite a lot of "ask block" code/infra, see for example So I guess we could change that to "ask operations for a block"? The ask/re-ask logic should be quite similar don't you think? |
Beta Was this translation helpful? Give feedback.
-
@damip By the way, how do endorsements play into this? We would need them as well in order to process the block, right? |
Beta Was this translation helpful? Give feedback.
-
RFC: Do not propagate operations inside blocks
General idea
Currently, operations are propagated twice:
This RFC proposed propagating operations naked, and only referencing them by their hash in blocks
Block propagation and processing
Currently, block propagation and processing works this way:
What we could do:
Gains
Possible problems
Beta Was this translation helpful? Give feedback.
All reactions