- 01 2月, 2015 9 次提交
-
-
Not sure why this fd redirect was here. Is it necessary? Tests seem to pass for me. cc @mildred
由 Juan Batiz-Benet 提交于 -
由 Juan Batiz-Benet 提交于
-
由 Juan Batiz-Benet 提交于
-
- core: daemon stdout print to cmd + daemon init checks - core: fixed bug where the gateway was printed as "API" - sharness/test-lib: daemon init checks - sharness/test-lib: portable TCP port check - sharness/init: fix test bits output - sharness: use common hashes in one place. - move t0100-http-gateway -> t0111-gateway-writable - sharness: test-lib funcs for gateway config - sharness/t0111-gateway-writable: use sh funcs - sharness/t0111-gateway-writable: fixes - escape all vars (always `cmd "$VAR"` never `cmd $VAR`) - use $FILEPATH, not $path - last test seems to fail
由 Juan Batiz-Benet 提交于 -
HTTP: add handlers to allow object creation and modification
由 Juan Batiz-Benet 提交于 -
online services started before network listens
由 Juan Batiz-Benet 提交于 -
blockservice/worker: fix proc/limiter sync
由 Juan Batiz-Benet 提交于 -
addresses CR comments
由 Juan Batiz-Benet 提交于 -
see: https://gist.github.com/jbenet/6b8b45bde9d9fce17d57 I want to make the goprocess API nicer so it doesnt lead users into this problem. any ideas?
由 Juan Batiz-Benet 提交于
-
- 31 1月, 2015 15 次提交
-
-
fix cast panic in ipfs name resolve when daemon is running
由 Jeromy Johnson 提交于 -
Addresses bug #689
由 Jeromy 提交于 -
由 Mildred Ki'Lya 提交于
-
由 Mildred Ki'Lya 提交于
-
由 Mildred Ki'Lya 提交于
-
由 Mildred Ki'Lya 提交于
-
由 Mildred Ki'Lya 提交于
-
由 Juan Batiz-Benet 提交于
-
cc @whyrusleeping
由 Juan Batiz-Benet 提交于 -
updated sharness hashes
由 Juan Batiz-Benet 提交于 -
We had a problem: we were starting all the services with the network live, and so would miss early messages. We were noticing bitswap messages not handled (not in muxer). Many of the subsystems expect the network to _exist_ when they start up, so we split construction and starting to listen into two separate steps.
由 Juan Batiz-Benet 提交于 -
this commit moves management of the nat to its own object. perhaps this can be general enough to work with any host (not just BasicHost), but for now keeping here. the nat manager: - discovers and sets up the nat asynchronously. - adds any port mappings necessary if/after nat has been found. - listens to the network Listen() changes, adding/closing mappings
由 Juan Batiz-Benet 提交于 -
After this commit, client can close individual mappings (without closing the whole NAT)
由 Juan Batiz-Benet 提交于 -
About to allow dht to start without local addresses. this is so that we can initialize the dht and sign it up to listen on the muxer, before our node starts accepting incoming connections. otherwise, we lose some (we're observing this happening already). I looked through the dht's use of the peerstore, and the check here doesnt seem to be as important as the panic implies. I believe the panic was used for debugging weird "dont have any address" conditions we had earlier.
由 Juan Batiz-Benet 提交于 -
Network now signals when it successfully listens on some address or when an address shuts down. This will be used to establish and close nat port mappings. It could also be used to notify peers of address changes.
由 Juan Batiz-Benet 提交于
-
- 30 1月, 2015 16 次提交
-
-
address concerns about user interface with new Path type
由 Brian Tiger Chow 提交于 -
由 Jeromy 提交于
-
Cleanup logs
由 Brian Tiger Chow 提交于 -
由 Brian Tiger Chow 提交于
-
a one-time print out
由 Brian Tiger Chow 提交于 -
由 Brian Tiger Chow 提交于
-
the debug log is flooded with pages upon pages of... we've gotta be more judicious with our use of console logs. i'm sure there's interesting actionable information in here. let's use the console logging more like a sniper rifle and less like birdshot. feel free to revert if there are specific critical statements in this changeset 03:05:24.096 DEBUG dht: dht(<peer.ID QmWGN3>).Query(QmXvrpUZXCYaCkf1jfaQTJASS91xd47Yih2rnVC5YbFAAK).Run(3) queryPeer(<peer.ID QmSoLp>) QUERY worker for: <peer.ID QmSoLp> - not found, and no closer peers. prefixlog.go:107 03:05:24.096 DEBUG dht: dht(<peer.ID QmWGN3>).Query(QmXvrpUZXCYaCkf1jfaQTJASS91xd47Yih2rnVC5YbFAAK).Run(3) queryPeer(<peer.ID QmSoLp>) completed prefixlog.go:107 03:05:24.096 DEBUG dht: dht(<peer.ID QmWGN3>).Query(QmXvrpUZXCYaCkf1jfaQTJASS91xd47Yih2rnVC5YbFAAK).Run(3) queryPeer(<peer.ID QmSoLp>) finished prefixlog.go:107 03:05:24.096 DEBUG dht: dht(<peer.ID QmWGN3>) FindProviders(QmXvrpUZXCYaCkf1jfaQTJASS91xd47Yih2rnVC5YbFAAK) Query(<peer.ID QmSoLn>) 0 provider entries prefixlog.go:107 03:05:24.096 DEBUG dht: dht(<peer.ID QmWGN3>) FindProviders(QmXvrpUZXCYaCkf1jfaQTJASS91xd47Yih2rnVC5YbFAAK) Query(<peer.ID QmSoLn>) 0 provider entries decoded prefixlog.go:107 03:05:24.096 DEBUG dht: dht(<peer.ID QmWGN3>) FindProviders(QmXvrpUZXCYaCkf1jfaQTJASS91xd47Yih2rnVC5YbFAAK) Query(<peer.ID QmSoLn>) got closer peers: 0 [] prefixlog.go:107 03:05:24.097 DEBUG dht: dht(<peer.ID QmWGN3>) FindProviders(QmXvrpUZXCYaCkf1jfaQTJASS91xd47Yih2rnVC5YbFAAK) Query(<peer.ID QmSoLn>) end prefixlog.go:107 03:05:24.097 DEBUG dht: dht(<peer.ID QmWGN3>).Query(QmXvrpUZXCYaCkf1jfaQTJASS91xd47Yih2rnVC5YbFAAK).Run(3) queryPeer(<peer.ID QmSoLn>) query finished prefixlog.go:107 03:05:24.097 DEBUG dht: dht(<peer.ID QmWGN3>).Query(QmXvrpUZXCYaCkf1jfaQTJASS91xd47Yih2rnVC5YbFAAK).Run(3) queryPeer(<peer.ID QmSoLn>) QUERY worker for: <peer.ID QmSoLn> - not found, and no closer peers. prefixlog.go:107 03:05:24.097 DEBUG dht: dht(<peer.ID QmWGN3>).Query(QmXvrpUZXCYaCkf1jfaQTJASS91xd47Yih2rnVC5YbFAAK).Run(3) queryPeer(<peer.ID QmSoLn>) completed prefixlog.go:107 03:05:24.097 DEBUG dht: dht(<peer.ID QmWGN3>).Query(QmXvrpUZXCYaCkf1jfaQTJASS91xd47Yih2rnVC5YbFAAK).Run(3) queryPeer(<peer.ID QmSoLn>) finished prefixlog.go:107 03:05:24.097 DEBUG dht: dht(<peer.ID QmWGN3>).Query(QmXvrpUZXCYaCkf1jfaQTJASS91xd47Yih2rnVC5YbFAAK).Run(3) all peers ended prefixlog.go:107 03:05:24.097 DEBUG dht: dht(<peer.ID QmWGN3>).Query(QmXvrpUZXCYaCkf1jfaQTJASS91xd47Yih2rnVC5YbFAAK).Run(3) spawnWorkers end prefixlog.go:107 03:05:24.097 DEBUG dht: dht(<peer.ID QmWGN3>).Query(QmXvrpUZXCYaCkf1jfaQTJASS91xd47Yih2rnVC5YbFAAK).Run(3) failure: %s routing: not found prefixlog.go:107 03:05:24.097 DEBUG dht: dht(<peer.ID QmWGN3>).Query(QmXvrpUZXCYaCkf1jfaQTJASS91xd47Yih2rnVC5YbFAAK).Run(3) end prefixlog.go:107
由 Brian Tiger Chow 提交于 -
由 Brian Tiger Chow 提交于
-
由 Brian Tiger Chow 提交于
-
由 Brian Tiger Chow 提交于
-
由 Brian Tiger Chow 提交于
-
由 Brian Tiger Chow 提交于
-
由 Brian Tiger Chow 提交于
-
由 Brian Tiger Chow 提交于
-
p2p/net: network interface Listen func
由 Brian Tiger Chow 提交于 -
network interface now allows setting Listeners after the fact. This is useful to create the network and start listening as separate steps. And to keep the network up to date on new addresses the node might have to listen to.
由 Juan Batiz-Benet 提交于
-