Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Core] Locked memory manager #2276

Merged
merged 5 commits into from
Apr 5, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,6 @@ target_include_directories(ZEROCOIN_A PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/src
)

set(COMMON_SOURCES
./src/allocators.cpp
./src/base58.cpp
./src/bip38.cpp
./src/consensus/params.cpp
Expand Down Expand Up @@ -421,7 +420,6 @@ target_include_directories(COMMON_A PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/src
)

set(UTIL_SOURCES
./src/allocators.cpp
./src/compat/strnlen.cpp
./src/compat/glibc_sanity.cpp
./src/compat/glibcxx_sanity.cpp
Expand All @@ -441,6 +439,7 @@ set(UTIL_SOURCES
./src/utilstrencodings.cpp
./src/utilmoneystr.cpp
./src/utiltime.cpp
./src/support/lockedpool.cpp
./src/support/cleanse.cpp
)
add_library(UTIL_A STATIC ${BitcoinHeaders} ${UTIL_SOURCES})
Expand Down
8 changes: 4 additions & 4 deletions src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@ BITCOIN_CORE_H = \
activemasternode.h \
addrdb.h \
addrman.h \
allocators.h \
arith_uint256.h \
amount.h \
base58.h \
Expand Down Expand Up @@ -260,7 +259,10 @@ BITCOIN_CORE_H = \
stakeinput.h \
script/ismine.h \
streams.h \
support/allocators/secure.h \
support/allocators/zeroafterfree.h \
support/cleanse.h \
support/lockedpool.h \
sync.h \
threadsafety.h \
threadinterrupt.h \
Expand Down Expand Up @@ -485,7 +487,6 @@ endif
libbitcoin_common_a_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
libbitcoin_common_a_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
libbitcoin_common_a_SOURCES = \
allocators.cpp \
base58.cpp \
bip38.cpp \
chainparams.cpp \
Expand Down Expand Up @@ -526,7 +527,6 @@ libbitcoin_util_a_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
libbitcoin_util_a_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
libbitcoin_util_a_SOURCES = \
arith_uint256.cpp \
allocators.cpp \
chainparamsbase.cpp \
clientversion.cpp \
compat/glibc_sanity.cpp \
Expand All @@ -538,6 +538,7 @@ libbitcoin_util_a_SOURCES = \
random.cpp \
rpc/protocol.cpp \
support/cleanse.cpp \
support/lockedpool.cpp \
sync.cpp \
threadinterrupt.cpp \
uint256.cpp \
Expand Down Expand Up @@ -670,7 +671,6 @@ if BUILD_BITCOIN_LIBS
include_HEADERS = script/bitcoinconsensus.h
libbitcoinconsensus_la_SOURCES = \
arith_uint256.cpp \
allocators.cpp \
primitives/transaction.cpp \
crypto/hmac_sha512.cpp \
crypto/scrypt.cpp \
Expand Down
3 changes: 2 additions & 1 deletion src/Makefile.bench.include
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@ bench_bench_pivx_SOURCES = \
bench/bench_pivx.cpp \
bench/bench.cpp \
bench/bench.h \
bench/checkblock.cpp \
bench/Examples.cpp \
bench/base58.cpp \
bench/checkblock.cpp \
bench/checkqueue.cpp \
bench/crypto_hash.cpp \
bench/lockedpool.cpp \
bench/perf.cpp \
bench/perf.h \
bench/prevector.cpp
Expand Down
66 changes: 0 additions & 66 deletions src/allocators.cpp

This file was deleted.

Loading