aboutsummaryrefslogtreecommitdiff
path: root/src/rpcblockchain.cpp
Commit message (Collapse)AuthorAgeFilesLines
* move rpc* to rpc/Daniel Cousens2016-01-211-891/+0
|
* Merge pull request #7194Wladimir J. van der Laan2016-01-181-1/+2
|\ | | | | | | | | | | 135d6ec Add RPC tests for getblockheader. (James O'Beirne) 4745636 Add RPC documentation for getblockheader[chainwork]. (James O'Beirne) 16d4fce Add assert_is_hex_string and assert_is_hash_string to RPC test utils. (James O'Beirne)
| * Add RPC documentation for getblockheader[chainwork].James O'Beirne2015-12-141-1/+2
| |
* | Merge pull request #7232Wladimir J. van der Laan2016-01-181-0/+1
|\ \ | | | | | | | | | 94bdd71 Added help text for chainwork value (Gregory Sanders)
| * | Added help text for chainwork valueGregory Sanders2016-01-111-0/+1
| |/
* | Fix typo, wrong information in gettxout help text.paveljanik2016-01-101-2/+2
| |
* | Merge pull request #7205Wladimir J. van der Laan2016-01-051-1/+1
|\ \ | | | | | | | | | | | | | | | fa71669 [devtools] Use git pretty-format for year parsing (MarcoFalke) fa24439 Bump copyright headers to 2015 (MarcoFalke) fa6ad85 [devtools] Rewrite fix-copyright-headers.py (MarcoFalke)
| * | Bump copyright headers to 2015MarcoFalke2015-12-131-1/+1
| |/
* / Fix mempool limiting for PrioritiseTransactionSuhas Daftuar2015-12-021-2/+2
|/ | | | | | | Redo the feerate index to be based on mining score, rather than fee. Update mempool_packages.py to test prioritisetransaction's effect on package scores.
* Merge pull request #7118Wladimir J. van der Laan2015-12-021-3/+5
|\ | | | | | | b212f94 Describe maxmempool and mempoolminfee in the getmempoolinfo RPC help. (Pavel Janík)
| * Describe maxmempool and mempoolminfee in the getmempoolinfo RPC help.Pavel Janík2015-12-011-3/+5
| |
* | Add a score index to the mempool.Alex Morcos2015-12-011-0/+2
|/ | | | The score index is meant to represent the order of priority for being included in a block for miners. Initially this is set to the transactions modified (by any feeDelta) fee rate. Index improvements and unit tests by sdaftuar.
* Merge pull request #7053Wladimir J. van der Laan2015-11-271-3/+3
|\ | | | | | | 2e29e7e Globals: Remove a bunch of Params() calls from main.cpp: (Jorge Timón)
| * Globals: Remove a bunch of Params() calls from main.cpp:Jorge Timón2015-11-231-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1) Chainparams: Explicit CChainParams arg for main: -AcceptBlock -AcceptBlockHeader -ActivateBestChain -ConnectTip -InitBlockIndex -LoadExternalBlockFile -VerifyDB parametric constructor 2) Also pickup more Params()\. in main.cpp 3) Pass nPruneAfterHeight explicitly to new FindFilesToPrune() in main.cpp
* | Merge pull request #6134Wladimir J. van der Laan2015-11-271-0/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | e304432 Pass reference to estimateSmartFee and cleanup whitespace (Suhas Daftuar) 56106a3 Expose RPC calls for estimatesmart functions (Alex Morcos) e93a236 add estimateSmartFee to the unit test (Alex Morcos) 6303051 EstimateSmart functions consider mempool min fee (Alex Morcos) f22ac4a Increase success threshold for fee estimation to 95% (Alex Morcos) 4fe2823 Change wallet and GUI code to use new smart fee estimation calls. (Alex Morcos) 22eca7d Add smart fee estimation functions (Alex Morcos)
| * | EstimateSmart functions consider mempool min feeAlex Morcos2015-11-161-0/+1
| |/
* | Add mediantime field to getblock and getblockheaderPeter Todd2015-11-131-0/+4
| |
* | Document new mediantime field in getblockchaininfoPeter Todd2015-11-131-0/+1
| |
* | Add mediantime field to getblockchaininfo RPC callPeter Todd2015-11-131-0/+1
|/ | | | | | Useful now that BIP113 is enforced for transactions entering the mempool. Was previously only (indirectly) available by calling getblocktemplate, a relatively expensive RPC call.
* Merge pull request #6163Wladimir J. van der Laan2015-11-101-2/+2
|\ | | | | | | 87cbdb8 Globals: Explicit Consensus::Params arg for main: (Jorge Timón)
| * Globals: Explicit Consensus::Params arg for main:Jorge Timón2015-10-301-2/+2
| | | | | | | | | | | | | | | | | | -CheckBlockIndex -DisconnectTip -GetTransaction -InvalidateBlock -ProcessGetData -ReadBlockFromDisk
* | Merge pull request #6905Wladimir J. van der Laan2015-11-041-4/+4
|\ \ | |/ |/| | | | | | | | | a6efc01 Bugfix: Omit wallet-related options from -help when wallet is disabled (Luke Dashjr) 5f9260f Bugfix: If genproclimit is omitted to RPC setgenerate, don't change it; also show correct default in getmininginfo (Luke Dashjr) 420a82f Bugfix: Describe dblogsize option correctly (it refers to the wallet database, not memory pool) (Luke Dashjr) caa3d42 Bugfix: RPC: blockchain: Display correct defaults in help for verifychain method (Luke Dashjr)
| * Bugfix: RPC: blockchain: Display correct defaults in help for verifychain methodLuke Dashjr2015-10-011-4/+4
| |
* | Merge pull request #6877Wladimir J. van der Laan2015-10-261-0/+3
|\ \ | | | | | | | | | 10e2eae rpc: Add maxmempool and effective min fee to getmempoolinfo (Wladimir J. van der Laan)
| * | rpc: Add maxmempool and effective min fee to getmempoolinfoWladimir J. van der Laan2015-10-261-0/+3
| |/
* / Add BIP65 to getblockchaininfo softforks listPeter Todd2015-10-081-0/+1
|/
* [Univalue] add univalue over subtreeJonas Schnelli2015-10-011-1/+1
| | | | similar to secp256k1 include and compile univalue over a subtree
* Track transaction packages in CTxMemPoolEntrySuhas Daftuar2015-09-191-0/+6
| | | | | | | | | | | | | Associate with each CTxMemPoolEntry all the size/fees of descendant mempool transactions. Sort mempool by max(feerate of entry, feerate of descendants). Update statistics on-the-fly as transactions enter or leave the mempool. Also add ancestor and descendant limiting, so that transactions can be rejected if the number or size of unconfirmed ancestors exceeds a target, or if adding a transaction would cause some other mempool entry to have too many (or too large) a set of unconfirmed in- mempool descendants.
* TxMemPool: Change mapTx to a boost::multi_index_containerAshley Holman2015-09-191-3/+2
| | | | | | Indexes on: - Tx Hash - Fee Rate (fee-per-kb)
* Implement REST mempool API, add test and documentation.Pavel Janík2015-08-141-44/+53
|
* Rationalize currency unit to "BTC"Ross Nicoll2015-08-031-2/+3
| | | | | | | | | Previously various user-facing strings have used inconsistent currency units "BTC", "btc" and "bitcoins". This adds a single constant and uses it for each reference to the currency unit. Also adds a description of the unit for --maxtxfee, and adds the missing "amount" field description to the (deprecated) move RPC command.
* TRIVIAL: Missing includesJorge Timón2015-07-231-0/+6
|
* Documenting pruned, pruneheight and softforks in getblockchaininfoSimon Males2015-07-191-0/+2
|
* Implement accurate memory accounting for mempoolPieter Wuille2015-07-101-0/+2
|
* [REST] add JSON support for /rest/headers/Jonas Schnelli2015-07-051-2/+0
|
* Merge pull request #6247Wladimir J. van der Laan2015-07-021-0/+82
|\ | | | | | | 076badb Add getblockheader RPC call (Peter Todd)
| * Add getblockheader RPC callPeter Todd2015-06-051-0/+82
| | | | | | | | | | Alternative to getblock that works even when the block itself has been pruned, returning all available information.
* | Show softfork status in getblockchaininfoWladimir J. van der Laan2015-07-011-0/+51
| |
* | rpc: make `gettxoutsettinfo` run lock-freeWladimir J. van der Laan2015-06-161-2/+0
|/ | | | | | | For leveldb "An iterator operates on a snapshot of the database taken when the iterator is created". This means that it is unnecessary to lock out other threads while computing statistics, and neither to hold cs_main for the whole time. Let the thread run free.
* fix missing univalue types during constructingJonas Schnelli2015-06-041-2/+2
|
* Remove JSON Spirit wrapper, remove JSON Spirit leftoversJonas Schnelli2015-06-041-18/+17
| | | | | | - implement find_value() function for UniValue - replace all Array/Value/Object types with UniValues, remove JSON Spirit to UniValue wrapper - remove JSON Spirit sources
* remove JSON Spirit UniValue wrapperJonas Schnelli2015-06-041-15/+15
|
* expicit set UniValue type to avoid empty valuesJonas Schnelli2015-06-041-13/+13
|
* extend conversion to UniValueJonas Schnelli2015-06-041-2/+2
|
* Convert tree to using univalue. Eliminate all json_spirit uses.Jeff Garzik2015-06-041-5/+11
|
* Consensus: MOVEONLY: Move CValidationState from main consensus/validationjtimon2015-05-151-0/+2
|
* Typo in GetRawMemPool RPC method help: "]" --> "}"Chris Arnesen2015-05-141-1/+1
|
* Merge pull request #6058Wladimir J. van der Laan2015-05-111-0/+12
|\ | | | | | | | | 03c5687 appropriate response when trying to get a block in pruned mode (Jonas Schnelli) 1b2e555 add autoprune information to RPC "getblockchaininfo" (Jonas Schnelli)
| * appropriate response when trying to get a block in pruned modeJonas Schnelli2015-05-111-0/+3
| |
| * add autoprune information to RPC "getblockchaininfo"Jonas Schnelli2015-04-261-0/+9
| |