diff options
| author | practicalswift <[email protected]> | 2019-05-16 21:43:22 +0200 |
|---|---|---|
| committer | practicalswift <[email protected]> | 2019-05-16 21:43:22 +0200 |
| commit | 9402ef0739fdcd8e989c07c0595095e9608b243c (patch) | |
| tree | 5eb2b83a92bd349615dc204a0e15973d26b3a288 /src/interfaces/chain.h | |
| parent | wallet: Use chain.lock() instead of temporary chain.assumeLocked() (diff) | |
| download | discoin-9402ef0739fdcd8e989c07c0595095e9608b243c.tar.xz discoin-9402ef0739fdcd8e989c07c0595095e9608b243c.zip | |
Remove temporary method assumeLocked(). Remove LockingStateImpl. Remove redundant cs_main locks.
Diffstat (limited to 'src/interfaces/chain.h')
| -rw-r--r-- | src/interfaces/chain.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/interfaces/chain.h b/src/interfaces/chain.h index 0b7249a5a..459c3c9a9 100644 --- a/src/interfaces/chain.h +++ b/src/interfaces/chain.h @@ -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. //! |