gvisor/pkg/merkletree
Chong Cai ef90fe1733 Change Merkle tree library to use ReaderAt
Merkle tree library was originally using Read/Seek to access data and
tree, since the parameters are io.ReadSeeker. This could cause race
conditions if multiple threads accesses the same fd to read. Here we
change to use ReaderAt, and implement it with PRead to make it thread
safe.

PiperOrigin-RevId: 336779260
2020-10-12 17:30:14 -07:00
..
BUILD Add Verify in merkle tree library 2020-08-17 15:56:22 -07:00
merkletree.go Change Merkle tree library to use ReaderAt 2020-10-12 17:30:14 -07:00
merkletree_test.go Change Merkle tree library to use ReaderAt 2020-10-12 17:30:14 -07:00