Erik Grinaker
82b585cd5e
Followup from #4588. Allow the first `SaveBlock()` call in an empty block store to be at any height, to start from a truncated block history. Subsequent `SaveBlock()` calls must be for contiguous blocks. ______ For contributor use: - [x] Wrote tests - [ ] ~Updated CHANGELOG_PENDING.md~ - [x] Linked to Github issue with discussion and accepted design OR link to spec that describes this work. - [x] Updated relevant documentation (`docs/`) and code comments - [x] Re-reviewed `Files changed` in the Github PR explorer |
5 years ago | |
---|---|---|
.. | ||
codec.go | format: add format cmd & goimport repo (#4586) | 5 years ago |
store.go | blockstore: allow initial SaveBlock() at any height | 5 years ago |
store_test.go | blockstore: allow initial SaveBlock() at any height | 5 years ago |