Add -enforcecanonical and -confchange options, rename IsConfirmed() to IsTrusted().
authorMASM fan <masmfan@gmail.com>
Sat, 15 Feb 2014 23:07:49 +0000 (03:07 +0400)
committerMASM fan <masmfan@gmail.com>
Sat, 15 Feb 2014 23:07:49 +0000 (03:07 +0400)
commitc8a225331fe4690ce6358a6a32434a87c16ea099
tree67f1f4c03b67d61d258f8d0264f353b371856201
parentaf5842617df3d9a97984460a946fd7174533237f
Add -enforcecanonical and -confchange options, rename IsConfirmed() to IsTrusted().

-enforcecanonical=1
Allows user enforce transaction scripts to use canonical PUSH operators, enabled by default.

-confchange=1
Don't use unconfirmed change for transactions.
src/init.cpp
src/main.cpp
src/main.h
src/qt/transactionrecord.cpp
src/rpcwallet.cpp
src/script.cpp
src/script.h
src/wallet.cpp
src/wallet.h