Closed jholdstock closed 1 year ago
The mutex was added to the ticket bucket as a pre-emptive safety measure (#150), but the bbolt project documentation seems to indicate that it isn't necessary.
https://github.com/etcd-io/bbolt/blob/v1.3.7/README.md#transactions
Requesting review from @jrick because dcrwallet makes heavy use of bbolt and, as far as I can see, it does not maintain any of its own RW locking.
The mutex was added to the ticket bucket as a pre-emptive safety measure (#150), but the bbolt project documentation seems to indicate that it isn't necessary.
https://github.com/etcd-io/bbolt/blob/v1.3.7/README.md#transactions