You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: don't clone blocks during get_successors (dfinity#3687)
Before: blocks were cloned prior to being serialized and returned to the
`get_successors` caller.
After: an `Arc` to the block is stored instead, and cloning doesn't
happen (serialization does not need ownership).
Block responses can get pretty large (~2MB), and cloning them take a
long time. This is part of an effort to make the adapter able to process
Testnet4 requests within the 50ms timeout from consensus.
0 commit comments