[ethereum/go-ethereum] Add AccountRangeAt to debug API (#17438)

jwasinger commented on this pull request.

> @@ -346,6 +347,40 @@ func (api *PrivateDebugAPI) GetBadBlocks(ctx context.Context) ([]*BadBlockArgs,
return results, nil
}

+type AccountRangeResult struct {
+ result []common.Address `json:»result»`
+}
+
+func accountRange(st state.Trie, start *common.Address, maxResult int) (AccountRangeResult, error) {

Sounds good.