595b22e5c0
Before this, if someone imported a scriptPubKey directly (in hex form) using importaddress, outputs sending to it would be treated as change, as the corresponding CTxDestination was not added to the address book. Fix this by trying to detect scriptPubKeys that are in fact convertible to a CTxDestination and add them anyway. Add a warning to the RPC help to warn against importing raw non-standard scripts. |
||
---|---|---|
.. | ||
test | ||
crypter.cpp | ||
crypter.h | ||
db.cpp | ||
db.h | ||
rpcdump.cpp | ||
rpcwallet.cpp | ||
rpcwallet.h | ||
wallet.cpp | ||
wallet.h | ||
walletdb.cpp | ||
walletdb.h |