From 6cbe6209646db8914b87bf6edbc18c6031a16f1e Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Tue, 7 Jan 2020 23:14:15 +0700 Subject: scripted-diff: Replace CCriticalSection with RecursiveMutex -BEGIN VERIFY SCRIPT- # Delete outdated alias for RecursiveMutex sed -i -e '/CCriticalSection/d' ./src/sync.h # Replace use of outdated alias with RecursiveMutex sed -i -e 's/CCriticalSection/RecursiveMutex/g' $(git grep -l CCriticalSection) -END VERIFY SCRIPT- --- src/txmempool.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/txmempool.h') diff --git a/src/txmempool.h b/src/txmempool.h index e9f1f1c8a1..10b21ed1b3 100644 --- a/src/txmempool.h +++ b/src/txmempool.h @@ -30,7 +30,7 @@ #include class CBlockIndex; -extern CCriticalSection cs_main; +extern RecursiveMutex cs_main; /** Fake height value used in Coin to signify they are only in the memory pool (since 0.8) */ static const uint32_t MEMPOOL_HEIGHT = 0x7FFFFFFF; -- cgit v1.2.3 From e09c701e0110350f78366fb837308c086b6503c0 Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Wed, 15 Jan 2020 02:17:38 +0700 Subject: scripted-diff: Bump copyright of files changed in 2020 -BEGIN VERIFY SCRIPT- ./contrib/devtools/copyright_header.py update ./ -END VERIFY SCRIPT- --- src/txmempool.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/txmempool.h') diff --git a/src/txmempool.h b/src/txmempool.h index 10b21ed1b3..01db59e859 100644 --- a/src/txmempool.h +++ b/src/txmempool.h @@ -1,5 +1,5 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto -// Copyright (c) 2009-2019 The Bitcoin Core developers +// Copyright (c) 2009-2020 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -- cgit v1.2.3