diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-03-28 18:18:30 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-04-15 16:33:05 +0200 |
commit | 509cb006d514cece5ab7680094f033c8dc8a2318 (patch) | |
tree | f14b1a13f7613a592d2489616c48f71c734ee2d3 /src/test | |
parent | 1b2460bd5824170ab85757e35f81197199cce9d6 (diff) |
txdb: Add Cursor() method to CCoinsView to iterate over UTXO set
Add a method Cursor() to CCoinsView that returns a cursor which can be
used to iterate over the whole UTXO set.
- rpc: Change gettxoutsetinfo to use new Cursor method
- txdb: Remove GetStats method - Now that GetStats is implemented in
terms of Cursor, remove it.
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/coins_tests.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/test/coins_tests.cpp b/src/test/coins_tests.cpp index 3fe536f91a..48e3c8ed8e 100644 --- a/src/test/coins_tests.cpp +++ b/src/test/coins_tests.cpp @@ -61,8 +61,6 @@ public: hashBestBlock_ = hashBlock; return true; } - - bool GetStats(CCoinsStats& stats) const { return false; } }; class CCoinsViewCacheTest : public CCoinsViewCache |