diff options
author | Thomas Winget <tewinget@gmail.com> | 2014-12-14 14:30:38 -0500 |
---|---|---|
committer | warptangent <warptangent@inbox.com> | 2015-01-04 19:39:43 -0800 |
commit | c3fa07b44b95996ceb9a15964211593ceed517c2 (patch) | |
tree | bc3cc8a3875fb508caf75007d1008afd8efa1914 | |
parent | Merge pull request #17 from moneromooo-monero/blockchain (diff) | |
download | monero-c3fa07b44b95996ceb9a15964211593ceed517c2.tar.xz |
update comments to reflect changed code
-rw-r--r-- | src/cryptonote_core/blockchain_db.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/cryptonote_core/blockchain_db.h b/src/cryptonote_core/blockchain_db.h index b9ea79f01..aa82672f2 100644 --- a/src/cryptonote_core/blockchain_db.h +++ b/src/cryptonote_core/blockchain_db.h @@ -395,10 +395,7 @@ public: // return the block at the top of the blockchain virtual block get_top_block() const = 0; - // return the index of the top block on the chain - // NOTE: for convenience using heights as indices, this is not the total - // size of the blockchain, but rather the index of the top block. As the - // chain is 0-indexed, the total size will be height() + 1. + // return the height of the chain virtual uint64_t height() const = 0; // pops the top block off the blockchain. |