Remove temporary method assumeLocked(). Remove LockingStateImpl. Remove redundant cs_main locks.

This commit is contained in:
practicalswift
2019-05-16 21:43:22 +02:00
parent 593a8e8a2c
commit 9402ef0739
3 changed files with 22 additions and 24 deletions

View File

@@ -138,11 +138,6 @@ public:
//! unlocked when the returned interface is freed.
virtual std::unique_ptr<Lock> lock(bool try_lock = false) = 0;
//! Return Lock interface assuming chain is already locked. This
//! method is temporary and is only used in a few places to avoid changing
//! behavior while code is transitioned to use the Chain::Lock interface.
virtual std::unique_ptr<Lock> assumeLocked() = 0;
//! Return whether node has the block and optionally return block metadata
//! or contents.
//!