mirror of
https://github.com/monero-project/monero.git
synced 2025-05-06 13:14:58 -04:00
doxygen documentation for checkpoints.{h,cpp}
All functions in src/cryptonote_core/checkpoints.h are now documented in doxygen style. checkpoints.cpp has been reviewed, one function has been marked for discussion on correctness.
This commit is contained in:
parent
89c24ac2be
commit
1b0c98e7e9
2 changed files with 99 additions and 6 deletions
|
@ -84,10 +84,7 @@ namespace cryptonote
|
|||
return check_block(height, h, ignored);
|
||||
}
|
||||
//---------------------------------------------------------------------------
|
||||
// this basically says if the blockchain is smaller than the first
|
||||
// checkpoint then alternate blocks are allowed. Alternatively, if the
|
||||
// last checkpoint *before* the end of the current chain is also before
|
||||
// the block to be added, then this is fine.
|
||||
//FIXME: is this the desired behavior?
|
||||
bool checkpoints::is_alternative_block_allowed(uint64_t blockchain_height, uint64_t block_height) const
|
||||
{
|
||||
if (0 == block_height)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue