Added Dogecoin copyright notice to wallet.cpp and wallet.h as modified files.

Removed comment about coin control from wallet.cpp as out of date.
This commit is contained in:
Ross Nicoll 2014-04-06 11:59:00 +01:00
parent 7b9fd3c025
commit 0282a9e112
No known key found for this signature in database
GPG key ID: 9142E5F7E533CE3B
2 changed files with 4 additions and 2 deletions

View file

@ -1,5 +1,6 @@
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014 The Dogecoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
@ -1406,7 +1407,7 @@ bool CWallet::CreateTransaction(const vector<pair<CScript, int64_t> >& vecSend,
scriptChange.SetDestination(keyID);
}
// no coin control: send change to newly generated address
// send change to newly generated address
else
{
// Note: We use a new key here to keep it from being obvious which side is the change.
@ -2198,4 +2199,4 @@ bool CWallet::GetDestData(const CTxDestination &dest, const std::string &key, st
void AddFixedChangeAddress(const CKeyID &changeAddress)
{
vChangeAddresses.push_back(changeAddress);
}
}

View file

@ -1,5 +1,6 @@
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2013 The Bitcoin developers
// Copyright (c) 2014 The Dogecoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_WALLET_H