aboutsummaryrefslogtreecommitdiff
path: root/src/node/coinstats.cpp
Commit message (Collapse)AuthorAgeFilesLines
* rpc: Add hash_type NONE to gettxoutsetinfoFabian Jahr2020-06-221-0/+16
|
* rpc: gettxoutsetinfo can specify hash_type (only legacy option for now)Fabian Jahr2020-06-221-7/+33
|
* refactor: Extract GetBogoSize functionFabian Jahr2020-06-191-3/+12
|
* rpc: Make gettxoutsetinfo/GetUTXOStats interruptibleMarcoFalke2020-05-221-1/+2
| | | | Also, add interruption points to scantxoutset
* scripted-diff: Bump copyright headersMarcoFalke2020-04-161-1/+1
| | | | | | -BEGIN VERIFY SCRIPT- ./contrib/devtools/copyright_header.py update ./ -END VERIFY SCRIPT-
* Get rid of VARINT default argumentPieter Wuille2020-02-101-1/+1
| | | | This removes the need for the GNU C++ extension of variadic macros.
* Merge #17382: rpc: Remove unused boost::this_thread::interruption_pointWladimir J. van der Laan2019-11-061-4/+0
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fa5facd3e72b6d61374b0b93b722b55e2b090020 rpc: Remove unused boost::this_thread::interruption_point (MarcoFalke) Pull request description: There are predefined interruption points for `boost::thread`: https://www.boost.org/doc/libs/1_71_0/doc/html/thread/thread_management.html#interruption_points However, the rpc threads are `std::thread`, which does not have an `std::thread::interrupt` member function to request interruption: https://dev.visucore.com/bitcoin/doxygen/httpserver_8cpp.html#ae1a63374e18b9abd348eb74e4243ea34 Thus, the interruption points can be removed. ACKs for top commit: laanwj: ACK fa5facd3e72b6d61374b0b93b722b55e2b090020, this does nothing. practicalswift: ACK fa5facd3e72b6d61374b0b93b722b55e2b090020 jamesob: ACK https://github.com/bitcoin/bitcoin/pull/17382/commits/fa5facd3e72b6d61374b0b93b722b55e2b090020 Tree-SHA512: 4e29a44df1f2702cbd1ffdffa559440a8bb800baab64b4116e2c3d27cd64d8d1e8aafe1dc21b1a4e3988470d03be19cae294bd5669f7abf6d487685dc8fd8d7e
| * rpc: Remove unused boost::this_thread::interruption_pointMarcoFalke2019-11-051-4/+0
| |
* | coinstats: add coins_countJames O'Beirne2019-11-051-0/+2
|/ | | | Also changes existing CCoinsStats attributes to be C++11 initialized.
* Remove unused includespracticalswift2019-10-151-2/+0
|
* move-only: move coins statistics utils out of RPCJames O'Beirne2019-08-271-0/+77
These procedures will later be used in the ChainstateManager to compute statistics (particularly a content hash) for UTXO sets coming in from snapshots.