aboutsummaryrefslogtreecommitdiff
path: root/src/bitcoinrpc.cpp
AgeCommit message (Collapse)Author
2012-03-11Merge branch '0.5.0.x' into 0.5.xv0.5.3rc4v0.5.3Luke Dashjr
2012-03-11Merge branch '0.4.x' into 0.5.0.xLuke Dashjr
2012-03-03Merge branch '0.5.0.x' into 0.5.xLuke Dashjr
2012-03-03Merge branch '0.4.x' into 0.5.0.xLuke Dashjr
2012-02-17Merge branch '0.5.0.x' into 0.5.xLuke Dashjr
2012-02-17Merge branch '0.4.x' into 0.5.0.xLuke Dashjr
2012-02-11Merge branch '0.5.0.x' into 0.5.xLuke Dashjr
2012-02-11Merge branch '0.4.x' into 0.5.0.xLuke Dashjr
2012-02-07Merge branch '0.5.0.x' into 0.5.xLuke Dashjr
Conflicts: src/qt/locale/bitcoin_ru.ts src/qt/locale/bitcoin_zh_TW.ts
2012-02-07Update copyrights to 2012 for files modified this yearLuke Dashjr
2012-02-07Have bitcoind recommend a secure RPC password. Increase invalid password delay.Gregory Maxwell
Help users avoid insecure configurations a bit by recommending a secure RPC password and increasing the incorrect password delay. This may open up a RPC DOS for users with exposed RPC ports and short passwords. Since users shouldn't have exposed RPC ports OR short passwords, the DOS risk is preferable to the compromise risk. Also logs the client IP address for incorrect attempts.
2012-01-16Merge branch '0.5.0.x' into 0.5.xLuke Dashjr
2012-01-16Code tidyups, fixing various warnings.Luke Dashjr
Partial cherry pick of: Compile with extra warnings turned on. And more makefile/code tidying up. This turns on most gcc warnings, and removes some unused variables and other code that triggers warnings. Exceptions are: -Wno-sign-compare : triggered by lots of comparisons of signed integer to foo.size(), which is unsigned. -Wno-char-subscripts : triggered by the convert-to-hex functions (I may fix this in a future commit). Conflicts: src/makefile.osx src/makefile.unix src/netbase.cpp
2011-12-20Implement an mlock()'d string class for storing passphrasesDylan Noblesmith
SecureString is identical to std::string except with secure_allocator substituting for std::allocator. This makes casting between them impossible, so converting between the two at API boundaries requires calling ::c_str() for now.
2011-12-01Speed up RPC authentication (reworked pull from Joel Katz)Gavin Andresen
2011-11-26Implement an mlock()'d string class for storing passphrasesDylan Noblesmith
SecureString is identical to std::string except with secure_allocator substituting for std::allocator. This makes casting between them impossible, so converting between the two at API boundaries requires calling ::c_str() for now.
2011-11-21Merge pull request #632 from mndrix/deprecate-getblocknumberGavin Andresen
Deprecate RPC getblocknumber
2011-11-15Obsolete keypool and make sure database removes log files on shutdown.Gavin Andresen
2011-11-12Do not launch Shutdown in a new thread in case we are running the UI.Wladimir J. van der Laan
This leads to the bitcoin core being shut down while the UI is accessing it, and generally results in a segmentation fault or crash. In case it is desirable to make it possible to shutdown the GUI from its RPC server, we'll need to implement a signal for it. For the mean time, this is a safe stopgap.
2011-11-11Deprecate RPC getblocknumberMichael Hendricks
This RPC is exactly identical to getblockcount. This duplication dates back to commit 22f721dbf23cf5ce9e3ded9bcfb65a3894cc0f8c when Satoshi created the RPC interface. There's no need to have both, so we standardize on "count" which matches the naming convention in getconnectioncount. Following the tradition established with previously deprecated APIs, getblocknumber continues to work, but it's not listed in the help system.
2011-10-06Bugfix: "bits" should be a hex-string, not a number (that just doesn't make ↵Luke Dashjr
sense)
2011-10-05Use C's const char* for status strings rather than C++'s std::string, which ↵David Joel Schwartz
is slower
2011-10-05Merge branch 'listsinceblock' of https://github.com/cdhowie/bitcoinGavin Andresen
2011-10-05Merge branch 'no-cryptopp' of https://github.com/tcatm/bitcoinGavin Andresen
2011-10-05Send "Connection: close" HTTP header with JSON-RPC requests (client)Luke Dashjr
2011-10-01Added RPC call 'getmemorypool' that provides everything needed to construct ↵Forrest Voight
a block with a custom generation transaction and submit a solution getmemorypool [data] If [data] is not specified, returns data needed to construct a block to work on: "version" : block version "previousblockhash" : hash of current highest block "transactions" : contents of non-coinbase transactions that should be included in the next block "coinbasevalue" : maximum allowable input to coinbase transaction, including the generation award and transaction fees "time" : timestamp appropriate for next block "bits" : compressed target of next block If [data] is specified, tries to solve the block and returns true if it was successful.
2011-09-30remove cryptopp dependency, add simple unittest for SHA256Transform()Nils Schneider
2011-09-30Merge pull request #524 from sipa/signandverifGavin Andresen
Sign and verify message with bitcoin address
2011-09-29Merge pull request #537 from tcatm/remove-deprecated-rpcsNils Schneider
remove deprecated RPCs
2011-09-28deprecate midstate and hash1 in getworkNils Schneider
2011-09-28remove deprecated RPCsNils Schneider
2011-09-27Use key recovery for message signaturesPieter Wuille
Instead of encoding the public key inside the signature string, use key recovery to do verification. This allows 88-character base64-encoded signature strings instead of 188-character ones.
2011-09-27base64-based sign/verifyPieter Wuille
2011-09-27Incorporate pubkey in signature, check based on addressPieter Wuille
Include the public key in the signature string, to allow verification based on address.
2011-09-27Sign and verify message with bitcoin address and public keyKhalahan
Add padding to input (fixed string + address) before hashing
2011-09-27Inline base64 encoder/decoderPieter Wuille
This replaces the openssl-based base64 encoder and decoder with a more efficient internal one. Tested against the rfc4648 test vectors. Decoder is based on JoelKatz' version.
2011-09-27Faster Base64 decoder.JoelKatz
2011-09-26Remove wxWidgetsGavin Andresen
Makefiles now build bitcoind only. qmake/make in top-level directory is used to build Bitcoin QT Deleted almost all #ifdef GUI from the code (left one possibly controversial one) Deleted xpm/ files.
2011-09-16Merge branch 'master' of https://github.com/bitcoin/bitcoinWladimir J. van der Laan
2011-09-02Merge branch 'master' of https://github.com/bitcoin/bitcoinWladimir J. van der Laan
Conflicts: src/main.cpp
2011-08-16Merge branch 'master' of https://github.com/bitcoin/bitcoinWladimir J. van der Laan
2011-08-06Merge branch 'master' of https://github.com/bitcoin/bitcoinWladimir J. van der Laan
2011-07-26Merge remote branch 'upstream/master'Wladimir J. van der Laan
Conflicts: src/bitcoinrpc.cpp
2011-07-15Merge branch 'master' of https://github.com/bitcoin/bitcoinWladimir J. van der Laan
2011-07-07Sync to bitcoin git e94010b2395694d56dd6Wladimir J. van der Laan
2011-07-03windows build fixesWladimir J. van der Laan