Skip to content

Commit

Permalink
extblock: added uncles to the external blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
shreekarashastry committed Jun 30, 2022
1 parent caca963 commit 8aa6a34
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions les/api_backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,10 @@ func (b *LesApiBackend) AddExternalBlock(block *types.ExternalBlock) error {
return errors.New("light client does not support external block caching.")
}

func (b *LesApiBackend) GetExternalBlockTraceSet(header *types.Header, context int) (*types.ExternalBlock, error) {
return nil, errors.New("light client does not support external block caching.")
}

func (b *LesApiBackend) ReOrgRollBack(header *types.Header) error {
return errors.New("light client does not support reorg.")
}
Expand Down

0 comments on commit 8aa6a34

Please sign in to comment.