mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 21:56:43 +00:00
core/state: add TODO
This commit is contained in:
parent
5b57857ccd
commit
756f640639
1 changed files with 4 additions and 0 deletions
|
|
@ -32,6 +32,10 @@ import (
|
||||||
|
|
||||||
// historicReader wraps a historical state reader defined in path database,
|
// historicReader wraps a historical state reader defined in path database,
|
||||||
// providing historic state serving over the path scheme.
|
// providing historic state serving over the path scheme.
|
||||||
|
//
|
||||||
|
// TODO(rjl493456442): historicReader is not thread-safe and does not fully
|
||||||
|
// comply with the StateReader interface requirements, needs to be fixed.
|
||||||
|
// Currently, it is only used in a non-concurrent context, so it is safe for now.
|
||||||
type historicReader struct {
|
type historicReader struct {
|
||||||
reader *pathdb.HistoricalStateReader
|
reader *pathdb.HistoricalStateReader
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue