mirror of
https://github.com/mimblewimble/grin.git
synced 2025-01-20 19:11:08 +03:00
9ac4143bc9
* fix: try to fix issue #2585 by adding block cleanup from db directly. Signed-off-by: Mike Tang <daogangtang@gmail.com> * use another effective algorithm to do old block and short-lived block cleaup. Signed-off-by: Mike Tang <daogangtang@gmail.com> * 1. rename iter_lived_blocks to blocks_iter; 2. comments and iterator calling optimiztions. Signed-off-by: Mike Tang <daogangtang@gmail.com> * Fix locking bug when calling is_on_current_chain() in batch.blocks_iter just by removing it. Because "we want to delete block older (i.e. lower height) than tail.height". Signed-off-by: Mike Tang <daogangtang@gmail.com> |
||
---|---|---|
.. | ||
src | ||
tests | ||
Cargo.toml |