From 4aad2de3727680aca3ef10335208f65cae491b77 Mon Sep 17 00:00:00 2001 From: Jasmina Malicevic Date: Fri, 20 May 2022 15:31:55 +0200 Subject: [PATCH] Paragraph on perf improvement to verification --- spec/blocksync/verification.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spec/blocksync/verification.md b/spec/blocksync/verification.md index 1a6637f35..3a8146122 100644 --- a/spec/blocksync/verification.md +++ b/spec/blocksync/verification.md @@ -29,7 +29,9 @@ It is worth noting that, running block sync from the first height is significant If we are starting from genesis we trust the validator set given to us in initially. -**Improvement** We expect to 'witness'verify this block against the blocks at the same height from multiple peers. +**Performance improvement** Instead of downloading blocks before we verify them, download only headers. Once we verify those, we can download the whole block. As the headers do not contain signatures so we would need to add commits form blocks at subsequent heights as well. + +**Safety Improvement** We expect to 'witness'verify this block against the blocks at the same height from multiple peers. **Different proposal** Instead of witness verification, verify against a light client and use backwards verification when applicable.