diff options
Diffstat (limited to 'src/db.cpp')
| -rw-r--r-- | src/db.cpp | 12 |
1 files changed, 10 insertions, 2 deletions
| @@ -539,7 +539,7 @@ bool CWalletDB::LoadWallet(vector<unsigned char>& vchDefaultKeyRet) | |||
| 539 | 539 | ||
| 540 | //// debug print | 540 | //// debug print |
| 541 | //printf("LoadWallet %s\n", wtx.GetHash().ToString().c_str()); | 541 | //printf("LoadWallet %s\n", wtx.GetHash().ToString().c_str()); |
| 542 | //printf(" %12I64d %s %s %s\n", | 542 | //printf(" %12lld %s %s %s\n", |
| 543 | // wtx.vout[0].nValue, | 543 | // wtx.vout[0].nValue, |
| 544 | // DateTimeStr(wtx.nTime).c_str(), | 544 | // DateTimeStr(wtx.nTime).c_str(), |
| 545 | // wtx.hashBlock.ToString().substr(0,14).c_str(), | 545 | // wtx.hashBlock.ToString().substr(0,14).c_str(), |
| @@ -566,13 +566,21 @@ bool CWalletDB::LoadWallet(vector<unsigned char>& vchDefaultKeyRet) | |||
| 566 | if (strKey == "fGenerateBitcoins") ssValue >> fGenerateBitcoins; | 566 | if (strKey == "fGenerateBitcoins") ssValue >> fGenerateBitcoins; |
| 567 | if (strKey == "nTransactionFee") ssValue >> nTransactionFee; | 567 | if (strKey == "nTransactionFee") ssValue >> nTransactionFee; |
| 568 | if (strKey == "addrIncoming") ssValue >> addrIncoming; | 568 | if (strKey == "addrIncoming") ssValue >> addrIncoming; |
| 569 | if (strKey == "nMineMode") ssValue >> nMineMode; | ||
| 570 | if (strKey == "strParticipantPool") ssValue >> strParticipantPool; | ||
| 571 | if (strKey == "strPoolName") ssValue >> strPoolName; | ||
| 572 | if (strKey == "strPoolDashboardUrl") ssValue >> strPoolDashboardUrl; | ||
| 573 | if (strKey == "dPoolFeePercent") ssValue >> dPoolFeePercent; | ||
| 569 | } | 574 | } |
| 570 | } | 575 | } |
| 571 | } | 576 | } |
| 572 | 577 | ||
| 573 | printf("fGenerateBitcoins = %d\n", fGenerateBitcoins); | 578 | printf("fGenerateBitcoins = %d\n", fGenerateBitcoins); |
| 574 | printf("nTransactionFee = %I64d\n", nTransactionFee); | 579 | printf("nTransactionFee = %lld\n", nTransactionFee); |
| 575 | printf("addrIncoming = %s\n", addrIncoming.ToString().c_str()); | 580 | printf("addrIncoming = %s\n", addrIncoming.ToString().c_str()); |
| 581 | printf("nMineMode = %d, strParticipantPool = %s\n", nMineMode, strParticipantPool.c_str()); | ||
| 582 | printf("strPoolName = %s, dPoolFeePercent = %.2f\n", strPoolName.c_str(), dPoolFeePercent); | ||
| 583 | printf("strPoolDashboardUrl = %s\n", strPoolDashboardUrl.c_str()); | ||
| 576 | 584 | ||
| 577 | return true; | 585 | return true; |
| 578 | } | 586 | } |