2nd commit: cleanup class private and public areas in walletdb
prefer const string& over char* in CDB and CWalletDB constructor #4931
pull Diapolo wants to merge 2 commits into bitcoin:master from Diapolo:db changing 4 files +26 −25-
Diapolo commented at 1:20 PM on September 16, 2014: none
-
sipa commented at 5:01 PM on September 16, 2014: member
utACK
-
jgarzik commented at 5:05 PM on September 16, 2014: contributor
ut ACK
-
laanwj commented at 7:08 AM on September 17, 2014: member
Untested ACK
-
22d7e7014f
prefer const string& over char* in CDB and CWalletDB constructor
- also make parameter of CDBEnv::CheckpointLSN a constant reference
-
93f84d0417
cleanup class private and public areas in walletdb
- only code movement
-
in src/walletdb.h:None in 7fc7da9179 outdated
74 | @@ -75,13 +75,10 @@ class CKeyMetadata 75 | class CWalletDB : public CDB 76 | { 77 | public: 78 | - CWalletDB(std::string strFilename, const char* pszMode="r+") : CDB(strFilename.c_str(), pszMode) 79 | + CWalletDB(std::string strFilename, const char* pszMode = "r+") : CDB(strFilename, pszMode)
laanwj commented at 11:06 AM on September 17, 2014:Can also be
const std::string& strFilename
Diapolo commented at 5:11 AM on September 18, 2014:Will update...
Diapolo renamed this:prefer std::string over char* in CDB constructor
prefer const string& over char* in CDB and CWalletDB constructor
on Sep 18, 2014BitcoinPullTester commented at 5:34 AM on September 18, 2014: noneAutomatic sanity-testing: FAILED BUILD/TEST, see http://jenkins.bluematt.me/pull-tester/p4931_93f84d0417e8e1c590b405bde6e153b413bd43f2/ for binaries and test log.
This could happen for one of several reasons:
- It chanages paths in makefile.linux-mingw or otherwise changes build scripts in a way that made them incompatible with the automated testing scripts (please tweak those patches in qa/pull-tester)
- It adds/modifies tests which test network rules (thanks for doing that), which conflicts with a patch applied at test time
- It does not build on either Linux i386 or Win32 (via MinGW cross compile)
- The test suite fails on either Linux i386 or Win32
- The block test-cases failed (lookup the first bNN identifier which failed in https://github.com/TheBlueMatt/test-scripts/blob/master/FullBlockTestGenerator.java)
If you believe this to be in error, please ping BlueMatt on freenode or TheBlueMatt here.
This test script verifies pulls every time they are updated. It, however, dies sometimes and fails to test properly. If you are waiting on a test, please check timestamps to verify that the test.log is moving at http://jenkins.bluematt.me/pull-tester/current/ Contact BlueMatt on freenode if something looks broken.
Diapolo commented at 5:47 AM on September 18, 2014: none@BitcoinPullTester Error was caused by:
tail: write error: Broken pipe tail: write error... seems unrelated.laanwj merged this on Sep 18, 2014laanwj closed this on Sep 18, 2014laanwj referenced this in commit e9870c5ed4 on Sep 18, 2014Diapolo deleted the branch on Sep 18, 2014MarcoFalke locked this on Sep 8, 2021Contributors
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-21 18:15 UTC
More mirrored repositories can be found on mirror.b10c.me