Was macht Parity nach der Warp-Synchronisation, außer neue Blöcke zu importieren?

Mir ist aufgefallen, dass Parity nach einer Warp-Synchronisation immer noch damit beschäftigt ist, an alten Blöcken zu arbeiten - aber es sagt nicht wirklich, warum. z.B

2018-06-07 08:38:14 UTC Imported #5746763 098a…98f4 (37 txs, 1.69 Mgas, 137.63 ms, 8.11 KiB)
2018-06-07 08:38:34 UTC Syncing #5746763 098a…98f4     0 blk/s    0 tx/s   0 Mgas/s      0+    0 Qed  #5746764    6/100 peers      5 MiB chain  117 MiB db  0 bytes queue   10 MiB sync  RPC:  0 conn, 22 req/s, 115 µs
2018-06-07 08:39:05 UTC Syncing #5746764 e094…7fb0     0 blk/s    0 tx/s   0 Mgas/s      0+    0 Qed  #5746760   11/100 peers    315 KiB chain  117 MiB db  0 bytes queue    6 MiB sync  RPC:  0 conn, 57 req/s,  91 µs
2018-06-07 08:39:05 UTC Syncing #5746764 e094…7fb0     0 blk/s    0 tx/s   0 Mgas/s      0+    0 Qed  #5746760   11/100 peers      2 MiB chain  117 MiB db  0 bytes queue    6 MiB sync  RPC:  0 conn, 57 req/s,  91 µs
2018-06-07 08:39:47 UTC   #5101162    1/100 peers     40 KiB chain  117 MiB db  0 bytes queue    8 MiB sync  RPC:  0 conn, 10 req/s,  43 µs
2018-06-07 08:39:47 UTC   #5101162    1/100 peers     53 KiB chain  117 MiB db  0 bytes queue    8 MiB sync  RPC:  0 conn, 11 req/s,  98 µs
2018-06-07 08:39:47 UTC   #5101162    1/100 peers     53 KiB chain  117 MiB db  0 bytes queue    8 MiB sync  RPC:  0 conn, 18 req/s, 631 µs
2018-06-07 08:39:47 UTC   #5101162    1/100 peers     53 KiB chain  117 MiB db  0 bytes queue    8 MiB sync  RPC:  0 conn, 18 req/s, 631 µs
2018-06-07 08:40:32 UTC Imported #5746771 564f…171e (139 txs, 7.99 Mgas, 851.06 ms, 27.05 KiB) + another 1 block(s) containing 241 tx(s)
2018-06-07 08:40:32 UTC   #5101480    1/100 peers      5 MiB chain  118 MiB db  0 bytes queue   15 MiB sync  RPC:  0 conn, 11 req/s, 8792769 µs
2018-06-07 08:40:32 UTC   #5101480    1/100 peers      5 MiB chain  118 MiB db  0 bytes queue   15 MiB sync  RPC:  0 conn, 11 req/s, 8792769 µs
2018-06-07 08:40:32 UTC   #5101480    1/100 peers      5 MiB chain  118 MiB db  0 bytes queue   15 MiB sync  RPC:  0 conn, 10 req/s, 1569665 µs
2018-06-07 08:40:32 UTC   #5101480    1/100 peers      5 MiB chain  118 MiB db  0 bytes queue   15 MiB sync  RPC:  0 conn, 10 req/s, 1569665 µs

Die ersten Zeilen sind verständlich - #5746763 und #5746764 sind neue Blöcke aus dem Netzwerk. Aber danach macht es immer noch etwas mit #5101480 - und anscheinend hat das >8,7 Sekunden gedauert, was dazu führte, dass der Parity-Knoten vorübergehend nicht auf RPC-Aufrufe reagierte.

Was passiert hier?

Antworten (1)

Wenn Sie eine Warp-Synchronisierung durchführen, wird eine Momentaufnahme des aktuellen Status aller Konten erstellt. Aber wie kommt das zum richtigen Schnappschuss? Das tut es nicht. Es geht vorerst davon aus, geht aber zurück und lädt alle Blöcke herunter, die zu diesem Snapshot führen, und validiert sie (oder validiert zumindest ihren Arbeitsnachweis). Dafür sind die alten Blöcke da.