- 23 12月, 2014 32 次提交
-
-
由 Brian Tiger Chow 提交于
-
由 Brian Tiger Chow 提交于
-
由 Brian Tiger Chow 提交于
-
cc @whyrusleeping
由 Brian Tiger Chow 提交于 -
由 Brian Tiger Chow 提交于
-
This reverts commit bf88f1aec5e3d397f97d64de52b52686cc7a8c8f.
由 Brian Tiger Chow 提交于 -
Had to change the network interface from DialPeer(peer.ID) to DialPeer(peer.PeerInfo), so that addresses of a provider are handed to the network. @maybebtc and I are discussing whether this should go all the way down to the network, or whether the network _should always work_ with just an ID (which means the network needs to be able to resolve ID -> Addresses, using the routing system. This latter point might mean that "routing" might need to break down into subcomponents. It's a bit sketchy that the Network would become smarter than just dial/listen and I/O, but maybe there's a distinction between net.Network, and something like a peernet.Network that has routing built in...)
由 Juan Batiz-Benet 提交于 -
由 Juan Batiz-Benet 提交于
-
network.ListenAddresses() are general. Interface addresses are specific.
由 Juan Batiz-Benet 提交于 -
由 Juan Batiz-Benet 提交于
-
https://build.protocol-dev.com/job/race/9352/console @jbenet @whyrusleeping pinging you guys to spread awareness about the delay.D type for configurable delays License: MIT Signed-off-by:
Brian Tiger Chow <brian@perfmode.com>
由 Brian Tiger Chow 提交于 -
License: MIT Signed-off-by:Brian Tiger Chow <brian@perfmode.com>
由 Brian Tiger Chow 提交于 -
"Get" is still fairly useful. Leaving it there. License: MIT Signed-off-by:Brian Tiger Chow <brian@perfmode.com>
由 Brian Tiger Chow 提交于 -
cc @jbenet @whyrusleeping License: MIT Signed-off-by:Brian Tiger Chow <brian@perfmode.com>
由 Brian Tiger Chow 提交于 -
License: MIT Signed-off-by:Brian Tiger Chow <brian@perfmode.com>
由 Brian Tiger Chow 提交于 -
由 Juan Batiz-Benet 提交于
-
由 Juan Batiz-Benet 提交于
-
Connectedness was totally incorrect. added a test case.
由 Juan Batiz-Benet 提交于 -
由 Juan Batiz-Benet 提交于
-
- run the build image task every time to avoid running the test on stale code - run the test from a script, so that we can run the test on different pre-built images. like: # build an image now and run tests on it make test # run tests on previously built image ./run-test-on-img.sh ipfs-stable # TODO: run test on git ref ./run-test-on-git-ref.sh <git-ref>由 Juan Batiz-Benet 提交于 -
由 Juan Batiz-Benet 提交于
-
由 Juan Batiz-Benet 提交于
-
this commit changes how the dockertest image is built. it moves the command into dockertest/Makefile. It also uses a cached file that -- if removed with make clean -- can signal whether the image should be rebuilt. (it may be ideal to have it either detect code has changed, or just rebuild every time. )
由 Juan Batiz-Benet 提交于 -
some dht tests signaled "sending peer empty addresses" which would then cause a failure. this was a misrepresentation on the part of mocknet. it has been corrected.
由 Juan Batiz-Benet 提交于 -
- Make sure we call IdentifyConn on dialed out conns - we wait until the identify is **done** before return - on listening case, we can also wait. - tests now make sure dial does wait. - tests now make sure we can wait on listening case.
由 Juan Batiz-Benet 提交于 -
由 Juan Batiz-Benet 提交于
-
由 Juan Batiz-Benet 提交于
-
由 Brian Tiger Chow 提交于
-
this is a major refactor of the entire codebase it changes the monolithic peer.Peer into using a peer.ID and a peer.Peerstore. Other changes: - removed handshake3. - testutil vastly simplified peer - secio bugfix + debugging logs - testutil: RandKeyPair - backpressure bugfix: w.o.w. - peer: added hex enc/dec - peer: added a PeerInfo struct PeerInfo is a small struct used to pass around a peer with a set of addresses and keys. This is not meant to be a complete view of the system, but rather to model updates to the peerstore. It is used by things like the routing system. - updated peer/queue + peerset - latency metrics - testutil: use crand for PeerID gen RandPeerID generates random "valid" peer IDs. it does not NEED to generate keys because it is as if we lost the key right away. fine to read some randomness and hash it. to generate proper keys and an ID, use: sk, pk, _ := testutil.RandKeyPair() id, _ := peer.IDFromPublicKey(pk) Also added RandPeerIDFatal helper - removed old spipe - updated seccat - core: cleanup initIdentity - removed old getFromPeerList
由 Juan Batiz-Benet 提交于 -
由 Juan Batiz-Benet 提交于
-
由 Juan Batiz-Benet 提交于
-
由 Juan Batiz-Benet 提交于
-
- 21 12月, 2014 1 次提交
-
-
Godeps: update dependency for go-msgio
由 Brian Tiger Chow 提交于
-
- 20 12月, 2014 1 次提交
-
-
Otherwise there is the following failure when running godep restore: fatal: reference is not a tree: 281b085dc602c4f0377438e20331f45a91bcdf9c godep: restore: exit status 128 License: MIT Signed-off-by:Christian Couder <chriscool@tuxfamily.org>
由 Christian Couder 提交于
-
- 19 12月, 2014 1 次提交
-
-
由 Jeromy 提交于
-
- 18 12月, 2014 5 次提交
-
-
Bitswap rounds
由 Juan Batiz-Benet 提交于 -
@whyrusleeping License: MIT Signed-off-by:Brian Tiger Chow <brian@perfmode.com>
由 Brian Tiger Chow 提交于 -
由 Jeromy 提交于
-
addresses... https://github.com/jbenet/go-ipfs/pull/438/files#r21878994 License: MIT Signed-off-by:
Brian Tiger Chow <brian@perfmode.com>
由 Brian Tiger Chow 提交于 -
License: MIT Signed-off-by:Brian Tiger Chow <brian@perfmode.com>
由 Brian Tiger Chow 提交于
-