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
I think there is an argument to be made that the kernel MMR sync is more similar to the header sync (i.e. we need all of them and we need to validate the full history) than the output+rangeproof MMR sync.
Currently we validate the kernel history by rewinding back from latest block header and validating the kernel sums at each block height.
I wonder if we could sync kernels differently -
sync them in a similar way to block headers (in chunks of n kernels for some reasonably large n).
we only need to sync the kernels themselves, se can rebuild the MMR hash file from the underlying data as we do not prune these nodes currently (this has been discussed in rough terms in some earlier PR).
kernel history validation may be simpler (and more efficient) if we then validate them as we receive them in increasing block height order, with no need to rewind each time
Been thinking a bit about how we fast-sync -
txhashset.zip
download, containing -I think there is an argument to be made that the kernel MMR sync is more similar to the header sync (i.e. we need all of them and we need to validate the full history) than the output+rangeproof MMR sync.
Currently we validate the kernel history by rewinding back from latest block header and validating the kernel sums at each block height.
I wonder if we could sync kernels differently -
n
kernels for some reasonably largen
).Related #1218
Possible revised sync and validation process -
txhashset.zip
(containing only output and rangeproof MMRs)Related -
#804
#952
The text was updated successfully, but these errors were encountered: