bee
bee copied to clipboard
fix: gsoc lock
This PR introduces a new locking mechanism with swarm.NewMultexLock
which provides key based package level locking. The goal is to successfully run all test cases in the GSOC JS library with special attention to parallel requests.
Additionally, the StampItem
changed to be based on identity address instead of chunk address so that GSOC chunks could be properly stamped.
Checklist
- [ ] I have read the coding guide.
- [ ] My change requires a documentation update, and I have done it.
- [ ] I have added tests to cover my changes.
- [ ] I have filled out the description and linked the related issues.