go-ethereum/swarm/api
Lewis Marshall b0d0fafd68 swarm/api: fix error reporting in api.Resolve (#14464)
Previously, resolve errors were being swallowed and the returned error
was a generic "not a content hash" which isn't helpful.

This updates the Resolve function to fail fast rather than only
returning an error at the end, and also adds test coverage.
2017-05-13 02:02:25 +02:00
..
client all: update license information 2017-04-14 10:29:00 +02:00
http swarm/api: fix error reporting in api.Resolve (#14464) 2017-05-13 02:02:25 +02:00
testdata/test0 core, core/vm: added gas price variance table 2016-10-14 18:09:17 +02:00
api_test.go swarm/api: fix error reporting in api.Resolve (#14464) 2017-05-13 02:02:25 +02:00
api.go swarm/api: fix error reporting in api.Resolve (#14464) 2017-05-13 02:02:25 +02:00
config_test.go swarm/api: Update ENS root address for Ropsten & prod (#3391) 2016-12-01 19:33:10 +01:00
config.go cmd/swarm, swarm/api: bzzr improve + networkid prio 2017-01-27 08:18:13 +01:00
filesystem_test.go swarm/api: refactor and improve HTTP API (#3773) 2017-04-07 00:22:22 +02:00
filesystem.go swarm/api: FUSE read-write support (#13872) 2017-04-12 02:06:02 +02:00
manifest_test.go swarm: plan bee for content storage and distribution on web3 2016-08-31 16:19:40 +02:00
manifest.go swarm/api: FUSE read-write support (#13872) 2017-04-12 02:06:02 +02:00
storage_test.go swarm/api: refactor and improve HTTP API (#3773) 2017-04-07 00:22:22 +02:00
storage.go swarm/api: FUSE read-write support (#13872) 2017-04-12 02:06:02 +02:00
testapi.go swarm: plan bee for content storage and distribution on web3 2016-08-31 16:19:40 +02:00
uri_test.go all: update license information 2017-04-14 10:29:00 +02:00
uri.go all: update license information 2017-04-14 10:29:00 +02:00