aboutsummaryrefslogtreecommitdiffstats
path: root/light/lightchain.go
diff options
context:
space:
mode:
Diffstat (limited to 'light/lightchain.go')
-rw-r--r--light/lightchain.go12
1 files changed, 8 insertions, 4 deletions
diff --git a/light/lightchain.go b/light/lightchain.go
index 688d5a217..7528ef5f8 100644
--- a/light/lightchain.go
+++ b/light/lightchain.go
@@ -534,8 +534,12 @@ func (self *LightChain) SubscribeRemovedLogsEvent(ch chan<- core.RemovedLogsEven
return self.scope.Track(new(event.Feed).Subscribe(ch))
}
-// GetRoundHeightMap returns the mapping between round and height.
-func (self *LightChain) GetRoundHeightMap() sync.Map {
- // TODO(w): fix this.
- return sync.Map{}
+// StateAt returns a new mutable state based on a particular point in time.
+func (self *LightChain) StateAt(root common.Hash) (*state.StateDB, error) {
+ return nil, nil
+}
+
+// GetRoundHeight returns the height of a given round.
+func (self *LightChain) GetRoundHeight(round uint64) (uint64, bool) {
+ return 0, false
}