diff --git a/internal/state/store.go b/internal/state/store.go index bd14809e8..2d2e4dc81 100644 --- a/internal/state/store.go +++ b/internal/state/store.go @@ -28,6 +28,7 @@ const ( // NB: Before modifying these, cross-check them with those in // internal/store/store.go +// TODO(thane): Move these and the ones in internal/store/store.go to their own package. const ( // prefixes are unique across all tm db's prefixValidators = int64(5) diff --git a/internal/store/store.go b/internal/store/store.go index cb8b9c649..b88e24e2b 100644 --- a/internal/store/store.go +++ b/internal/store/store.go @@ -611,6 +611,7 @@ func (bs *BlockStore) Close() error { // key prefixes // NB: Before modifying these, cross-check them with those in // internal/state/store.go +// TODO(thane): Move these and the ones in internal/state/store.go to their own package. const ( // prefixes are unique across all tm db's prefixBlockMeta = int64(0)