File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -335,23 +335,20 @@ friend class CAddrManTest;
335
335
* * nNew
336
336
* * nTried
337
337
* * number of "new" buckets XOR 2**30
338
- * * all nNew addrinfos in vvNew
339
- * * all nTried addrinfos in vvTried
340
- * * for each bucket:
338
+ * * all new addresses (total count: nNew)
339
+ * * all tried addresses (total count: nTried)
340
+ * * for each new bucket:
341
341
* * number of elements
342
- * * for each element: index
342
+ * * for each element: index in the serialized "all new addresses"
343
343
* * asmap checksum
344
344
*
345
345
* 2**30 is xorred with the number of buckets to make addrman deserializer v0 detect it
346
346
* as incompatible. This is necessary because it did not check the version number on
347
347
* deserialization.
348
348
*
349
- * Notice that vvTried, mapAddr and vVector are never encoded explicitly;
349
+ * vvNew, vvTried, mapInfo, mapAddr and vRandom are never encoded explicitly;
350
350
* they are instead reconstructed from the other information.
351
351
*
352
- * vvNew is serialized, but only used if ADDRMAN_NEW_BUCKET_COUNT and the asmap checksum
353
- * didn't change, otherwise it is reconstructed as well.
354
- *
355
352
* This format is more complex, but significantly smaller (at most 1.5 MiB), and supports
356
353
* changes to the ADDRMAN_ parameters without breaking the on-disk structure.
357
354
*
You can’t perform that action at this time.
0 commit comments