aboutsummaryrefslogtreecommitdiff
path: root/src/bitcoinrpc.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Speed up RPC authentication (reworked pull from Joel Katz)Gavin Andresen2011-12-011-7/+5
|
* Implement an mlock()'d string class for storing passphrasesDylan Noblesmith2011-11-261-34/+14
| | | | | | | 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.
* Merge pull request #632 from mndrix/deprecate-getblocknumberGavin Andresen2011-11-211-2/+4
|\ | | | | Deprecate RPC getblocknumber
| * Deprecate RPC getblocknumberMichael Hendricks2011-11-111-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Obsolete keypool and make sure database removes log files on shutdown.Gavin Andresen2011-11-151-1/+10
| |
* | Do not launch Shutdown in a new thread in case we are running the UI.Wladimir J. van der Laan2011-11-121-2/+7
|/ | | | 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.
* Bugfix: "bits" should be a hex-string, not a number (that just doesn't make ↵Luke Dashjr2011-10-061-1/+8
| | | | sense)
* Use C's const char* for status strings rather than C++'s std::string, which ↵David Joel Schwartz2011-10-051-7/+8
| | | | is slower
* Merge branch 'listsinceblock' of https://github.com/cdhowie/bitcoinGavin Andresen2011-10-051-0/+66
|
* Merge branch 'no-cryptopp' of https://github.com/tcatm/bitcoinGavin Andresen2011-10-051-2/+1
|\
| * remove cryptopp dependency, add simple unittest for SHA256Transform()Nils Schneider2011-09-301-2/+1
| |
* | Send "Connection: close" HTTP header with JSON-RPC requests (client)Luke Dashjr2011-10-051-0/+1
| |
* | Added RPC call 'getmemorypool' that provides everything needed to construct ↵Forrest Voight2011-10-011-1/+83
|/ | | | | | | | | | | | | | 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.
* Merge pull request #524 from sipa/signandverifGavin Andresen2011-09-301-37/+68
|\ | | | | Sign and verify message with bitcoin address
| * Use key recovery for message signaturesPieter Wuille2011-09-271-25/+9
| | | | | | | | | | | | 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.
| * base64-based sign/verifyPieter Wuille2011-09-271-2/+8
| |
| * Incorporate pubkey in signature, check based on addressPieter Wuille2011-09-271-37/+49
| | | | | | | | | | Include the public key in the signature string, to allow verification based on address.
| * Sign and verify message with bitcoin address and public keyKhalahan2011-09-271-0/+66
| | | | | | | | Add padding to input (fixed string + address) before hashing
| * Inline base64 encoder/decoderPieter Wuille2011-09-271-19/+0
| | | | | | | | | | | | | | 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.
| * Faster Base64 decoder.JoelKatz2011-09-271-18/+0
| |
* | Merge pull request #537 from tcatm/remove-deprecated-rpcsNils Schneider2011-09-291-18/+0
|\ \ | | | | | | remove deprecated RPCs
| * | remove deprecated RPCsNils Schneider2011-09-281-18/+0
| |/
* / deprecate midstate and hash1 in getworkNils Schneider2011-09-281-4/+4
|/
* Remove wxWidgetsGavin Andresen2011-09-261-10/+0
| | | | | | | 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.
* Merge branch 'master' of https://github.com/bitcoin/bitcoinWladimir J. van der Laan2011-09-161-6/+5
|
* Merge branch 'master' of https://github.com/bitcoin/bitcoinWladimir J. van der Laan2011-09-021-361/+281
| | | | | Conflicts: src/main.cpp
* Merge branch 'master' of https://github.com/bitcoin/bitcoinWladimir J. van der Laan2011-08-161-1/+3
|
* Merge branch 'master' of https://github.com/bitcoin/bitcoinWladimir J. van der Laan2011-08-061-20/+20
|
* Merge remote branch 'upstream/master'Wladimir J. van der Laan2011-07-261-83/+69
| | | | | Conflicts: src/bitcoinrpc.cpp
* Merge branch 'master' of https://github.com/bitcoin/bitcoinWladimir J. van der Laan2011-07-151-69/+341
|
* Sync to bitcoin git e94010b2395694d56dd6Wladimir J. van der Laan2011-07-071-7/+18
|
* windows build fixesWladimir J. van der Laan2011-07-031-0/+2215