swarm: clean up unused private types and functions (#17989)
* swarm: clean up unused private types and functions
Those that were identified by code inspection tool.
* swarm/storage: move/add Proximity GoDoc from deleted private function
The mentioned proximity() private function was deleted in:
1ca8fc1e6f
This commit is contained in:
committed by
Anton Evangelatov
parent
8ed4739176
commit
54f650a3be
@ -41,16 +41,9 @@ import (
|
||||
"github.com/ethereum/go-ethereum/swarm/log"
|
||||
"github.com/ethereum/go-ethereum/swarm/storage"
|
||||
"github.com/ethereum/go-ethereum/swarm/storage/feed"
|
||||
|
||||
"github.com/rs/cors"
|
||||
)
|
||||
|
||||
type resourceResponse struct {
|
||||
Manifest storage.Address `json:"manifest"`
|
||||
Resource string `json:"resource"`
|
||||
Update storage.Address `json:"update"`
|
||||
}
|
||||
|
||||
var (
|
||||
postRawCount = metrics.NewRegisteredCounter("api.http.post.raw.count", nil)
|
||||
postRawFail = metrics.NewRegisteredCounter("api.http.post.raw.fail", nil)
|
||||
|
Reference in New Issue
Block a user