mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-05-31 03:06:44 +00:00

* [NOD-78] Use transfer some read-only functions from dagLock.Lock to dagLock.RLock * [NOD-78] Make mining.NewBlockTemplate lock the dag up until the point it calls CheckConnectBlockTemplate * [NOD-78] Removed locking from functions that are concurrency-safe, and added WithLock version to those that are not * [NOD-78] Remove unused isLockHeld from CalcNextBlockVersion * [NOD-78] Renamed UTXORLock/UTXORUnlock to RLock/RUnlock * [NOD-78] Revesed dagUnlocket to isDagLocked