ef90fe1733
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 |
||
---|---|---|
.. | ||
BUILD | ||
merkletree.go | ||
merkletree_test.go |