mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
update comments to reflect changed code
This commit is contained in:
parent
5baf9d9eb3
commit
c3fa07b44b
1 changed files with 1 additions and 4 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue