mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-19 13:27:35 +02:00
-BEGIN VERIFY SCRIPT-
sed -i 's/\<CWalletDBWrapper\>/BerkeleyDatabase/g' src/wallet/db.h src/wallet/db.cpp
sed -i '/statuses/i/** Backend-agnostic database type. */\nusing WalletDatabase = BerkeleyDatabase\;\n' src/wallet/walletdb.h
ren() { git grep -l "\<$1\>" 'src/*.cpp' 'src/*.h' ':(exclude)*dbwrapper*' test | xargs sed -i "s:\<$1\>:$2:g"; }
ren CDBEnv BerkeleyEnvironment
ren CDB BerkeleyBatch
ren CWalletDBWrapper WalletDatabase
ren CWalletDB WalletBatch
ren dbw database
ren m_dbw m_database
ren walletdb batch
ren pwalletdb batch
ren pwalletdbIn batch_in
ren wallet/batch.h wallet/walletdb.h
ren pwalletdbEncryption encrypted_batch
-END VERIFY SCRIPT-
|
||
|---|---|---|
| .. | ||
| data | ||
| .gitignore | ||
| base58.cpp | ||
| bench.cpp | ||
| bench.h | ||
| bench_bitcoin.cpp | ||
| ccoins_caching.cpp | ||
| checkblock.cpp | ||
| checkqueue.cpp | ||
| coin_selection.cpp | ||
| crypto_hash.cpp | ||
| Examples.cpp | ||
| lockedpool.cpp | ||
| mempool_eviction.cpp | ||
| perf.cpp | ||
| perf.h | ||
| prevector.cpp | ||
| rollingbloom.cpp | ||
| verify_script.cpp | ||