aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/chain.h
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2019-05-16 21:43:22 +0200
committerpracticalswift <practicalswift@users.noreply.github.com>2019-05-16 21:43:22 +0200
commit9402ef0739fdcd8e989c07c0595095e9608b243c (patch)
tree5eb2b83a92bd349615dc204a0e15973d26b3a288 /src/interfaces/chain.h
parent593a8e8a2ce177c41a7809479c0086ae0fee4b4e (diff)
downloadbitcoin-9402ef0739fdcd8e989c07c0595095e9608b243c.tar.xz
Remove temporary method assumeLocked(). Remove LockingStateImpl. Remove redundant cs_main locks.
Diffstat (limited to 'src/interfaces/chain.h')
-rw-r--r--src/interfaces/chain.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/interfaces/chain.h b/src/interfaces/chain.h
index 0b7249a5ab..459c3c9a9f 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.
//!