aboutsummaryrefslogtreecommitdiff
path: root/src/rpcmisc.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* removed a few unnecessary castsKamil Domanski2014-05-131-3/+3
|
* switch from boost int types to <stdint.h>Kamil Domanski2014-05-131-3/+3
|
* Merge pull request #4138Wladimir J. van der Laan2014-05-121-1/+1
|\ | | | | | | 783b182 Remove dummy PRIszX macros for formatting (Wladimir J. van der Laan)
| * Remove dummy PRIszX macros for formattingWladimir J. van der Laan2014-05-061-1/+1
| | | | | | | | | | | | | | | | | | Size specifiers are no longer needed now that we use typesafe tinyformat for string formatting, instead of the system's sprintf. No functional changes. This continues the work in #3735.
* | Check redeemScript size does not exceed 520 byte limitPeter Todd2014-05-081-2/+7
|/ | | | | | | | | | | | 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.
* Fix typo in `createmultisig` helpWladimir J. van der Laan2014-03-311-1/+1
| | | | iCreateMultisig is not a thing.
* Add a "relayfee" field to getinfo.Gregory Maxwell2014-03-131-2/+4
| | | | | | | | | | | 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.
* Copyright header updates s/2013/2014 on files whose last git commit was done ↵gubatron2014-02-091-1/+1
| | | | | | 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.
* Remove redundant .c_str()sWladimir J. van der Laan2014-01-231-2/+2
| | | | | | | 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.
* small headers ordering cleanupPhilip Kaufmann2014-01-111-2/+1
| | | | | | - keep headers in alphabetical order - fix Makefile.am (2 files in 1 line - leftover) - remove some spaces etc.
* Move `verifymessage` from rpcwallet to rpcmiscWladimir J. van der Laan2013-12-131-0/+51
| | | | Enables it in --disable-wallet compiles.
* Move `createmultisig` from rpcwallet to rpcmiscWladimir J. van der Laan2013-12-131-0/+101
| | | | Enables it in --disable-wallet compiles.
* Move `validateaddress` from rpcwallet to rpcmiscWladimir J. van der Laan2013-12-131-0/+85
| | | | | Enables it in --disable-wallet compiles. Delimit wallet-using part using #ifdef ENABLE_WALLET.
* Move `nTransactionFee` from main.cpp to wallet.cppWladimir J. van der Laan2013-12-131-2/+0
| | | | | Transaction fee is only used by the wallet. No need for it to be in main.cpp.
* Move `getinfo` from rpcnet to rpcmiscWladimir J. van der Laan2013-12-131-0/+63
| | | | | | `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.
* add new RPC implementation file `rpcmisc.cpp`Wladimir J. van der Laan2013-12-131-0/+28