aboutsummaryrefslogtreecommitdiff
path: root/src/rpcmisc.cpp
AgeCommit message (Collapse)Author
2014-05-08Check redeemScript size does not exceed 520 byte limitPeter Todd
redeemScripts >520bytes can't be spent due to the MAX_SCRIPT_ELEMENT_SIZE limit; previously the addmultisigaddress and createmultisig RPC calls would let you violate that limit unknowingly. Also made the wallet code itself check the redeemScript prior to adding it to the wallet, which in the (rare) instance that a user has added an invalid oversized redeemScript to their wallet causes an error on startup. The affected key isn't added to the wallet; other keys are unaffected.
2014-03-31Fix typo in `createmultisig` helpWladimir J. van der Laan
iCreateMultisig is not a thing.
2014-03-13Add a "relayfee" field to getinfo.Gregory Maxwell
This shows the minimum relay fee for non-free transactions in btc/kb. The armory developers requested this so that they can prevent users from creating transactions that not even their local bitcoind will relay. This also slightly reorders the getinfo output so that the fee related lines are grouped and changes the help text to reflect that the units are btc/kb.
2014-02-09Copyright header updates s/2013/2014 on files whose last git commit was done ↵gubatron
in 2014. contrib/devtools/fix-copyright-headers.py script to be able to perform this maintenance task with ease during the rest of the year, every year. Modifications to contrib/devtools/README.md to document what fix-copyright-headers.py does.
2014-01-23Remove redundant .c_str()sWladimir J. van der Laan
After the tinyformat switch sprintf() family functions support passing actual std::string objects. Remove unnecessary c_str calls (236 of them) in logging and formatting.
2014-01-11small headers ordering cleanupPhilip Kaufmann
- keep headers in alphabetical order - fix Makefile.am (2 files in 1 line - leftover) - remove some spaces etc.
2013-12-13Move `verifymessage` from rpcwallet to rpcmiscWladimir J. van der Laan
Enables it in --disable-wallet compiles.
2013-12-13Move `createmultisig` from rpcwallet to rpcmiscWladimir J. van der Laan
Enables it in --disable-wallet compiles.
2013-12-13Move `validateaddress` from rpcwallet to rpcmiscWladimir J. van der Laan
Enables it in --disable-wallet compiles. Delimit wallet-using part using #ifdef ENABLE_WALLET.
2013-12-13Move `nTransactionFee` from main.cpp to wallet.cppWladimir J. van der Laan
Transaction fee is only used by the wallet. No need for it to be in main.cpp.
2013-12-13Move `getinfo` from rpcnet to rpcmiscWladimir J. van der Laan
`getinfo` is a general info method which shows information from multiple sources, it doesn't belong in rpcnet.cpp or any of the other current RPC implementation files.
2013-12-13add new RPC implementation file `rpcmisc.cpp`Wladimir J. van der Laan