mimblewimble/grin

Fence off txhashset validation in its own process

Open

#2,741 opened on Apr 10, 2019

View on GitHub
 (11 comments) (0 reactions) (0 assignees)Rust (991 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (4,876 stars)
PR merge metrics
 (Avg merge 6d 11h) (25 merged PRs in 30d)

Description

When downloaded from the network on sync, a txhashset archive should be handled with more care than we do now, as it could be forged to mess things up in all sorts of ways. We should fence this off in a different process until the validation code is completely happy with what we were provided. Something like chroot, that limits the hard drive visibility of the forked process would also be great but may be hard to achieve across platforms.

Contributor guide