go-ethereum/swarm
Lewis Marshall e265db9ff5 swarm/api: Fix error reporting in api.Resolve
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.

Signed-off-by: Lewis Marshall <lewis@lmars.net>
2017-05-11 13:13:04 -07:00
..
api swarm/api: Fix error reporting in api.Resolve 2017-05-11 13:13:04 -07:00
fuse swarm/api: FUSE read-write support (#13872) 2017-04-12 02:06:02 +02:00
network swarm/network/kademlia: set kademlia log output to debug instead of warn (#3787) 2017-03-18 01:45:00 +01:00
services/swap all: import "context" instead of "golang.org/x/net/context" 2017-03-22 20:49:15 +01:00
storage all: blidly swap out glog to our log15, logs need rework 2017-02-23 12:16:44 +02:00
testutil all: update license information 2017-04-14 10:29:00 +02:00
swarm.go swarm/api: better name resolver handling (#3754) 2017-04-13 11:06:19 +02:00