Commit Graph

560 Commits

Author SHA1 Message Date
Jeromy
30aacd1b0a update go-libp2p with negotiate lazy fixes
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2017-01-10 14:52:00 -08:00
Jeromy
d8f257c264 update libp2p for identify configuration updates
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-12-27 02:13:59 -08:00
David Dias
38703a8a7f update message.proto
Add some comments so that I don't forget about these

License: MIT
Signed-off-by: David Dias <daviddias.p@gmail.com>
2016-12-07 09:08:24 -08:00
Jeromy Johnson
c12f9777c5 Merge pull request #3445 from ipfs/feat/bitswap-sendmsg-deadline
bitswap: add a deadline to sendmsg calls
2016-12-05 09:17:28 -08:00
Jeromy
6f8dd03e07 bitswap: add wantlist fullness to protobuf messages
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-12-02 14:15:24 -08:00
Jeromy Johnson
5e4ca03afd Merge pull request #3448 from ipfs/feat/wlist-resend-delay
bitswap: increase wantlist resend delay to one minute
2016-11-30 14:03:52 -08:00
Jeromy
5e251e9d43 bitswap: increase wantlist resend delay to one minute
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-11-29 19:28:33 -08:00
Jeromy
02975bde9d bitswap: add a deadline to sendmsg calls
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-11-29 15:22:05 -08:00
Jeromy Johnson
66315b8e4f Merge pull request #3435 from ipfs/fix/errorf-bitswap
fix formatting on error call
2016-11-29 14:56:34 -08:00
Jeromy
53d47669da bubble up go-datastore deps
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-11-28 22:29:38 -08:00
Jeromy
3899469448 fix formatting on error call
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-11-28 13:42:47 -08:00
Jeromy Johnson
4e8015d74a Merge pull request #3408 from ipfs/feat/bitswap-cleanup
cleanup bitswap and handle message send failure slightly better
2016-11-27 11:23:44 -08:00
Jeromy
42e6e547c3 cleanup bitswap and handle message send failure slightly better
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-11-22 09:54:26 -08:00
Jakub Sztandera
1e170e8d6d
Update go-libp2p across codebase
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-11-22 01:22:50 +01:00
Jeromy
396c629301 update to newer ipld node interface with Copy and better Tree
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-11-15 18:00:49 -08:00
Jeromy
7fbaae49be update to go-libp2p 4.1.0
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-11-10 17:38:10 -08:00
Jeromy
25d9f8afd1 update to libp2p 4.0.4
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-11-05 21:44:36 -07:00
Jeromy
ec21220907 update go-libp2p
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-11-03 20:06:32 -07:00
Jeromy Johnson
437cc7fa78 Merge pull request #2911 from ipfs/feature/ifps-capitalize
docs: decapitalize IPFS where possible
2016-11-02 13:20:51 -07:00
Jeromy
afce683eae update go-libp2p-swarm with deadlock fixes
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-10-30 19:16:28 -07:00
Richard Littauer
9843e86258 Changed so only explicit ipfs cli commands are lowercased
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-10-27 22:55:13 -07:00
Jeromy
eac13abaec update to new cid and ipld node packages
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-10-25 09:54:04 -07:00
Jeromy
01aee44679 merkledag: change 'Node' to be an interface
Also change existing 'Node' type to 'ProtoNode' and use that most
everywhere for now. As we move forward with the integration we will try
and use the Node interface in more places that we're currently using
ProtoNode.

License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-10-12 08:16:03 -07:00
Jeromy
f4d7369c4a bitswap: protocol extension to handle cids
This change adds the /ipfs/bitswap/1.1.0 protocol. The new protocol
adds a 'payload' field to the protobuf message and deprecates the
existing 'blocks' field. The 'payload' field is an array of pairs of cid
prefixes and block data. The cid prefixes are used to ensure the correct
codecs and hash functions are used to handle the block on the receiving
end.

License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-10-10 08:19:31 -07:00
Jeromy
282bdc4816 cid: integrate cid into bitswap and blockstores
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-10-08 12:14:58 -07:00
Kevin Atkinson
721df367a2 Don't use a separate LinkService for DAGService.GetLinks()
Instead make LinkService a part of DAGService.  The LinkService is now
simply an interface that DAGService implements.  Also provide a
GetOfflineLinkService() method that the GC uses to get an offline
instance.

License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2016-10-06 11:52:39 -04:00
Jeromy
1f9ec4e3ed update to libp2p 4.0.1 and propogate other changes
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-10-05 22:12:43 -07:00
Jeromy
01ce8e7d71 only pass keys down newBlocks chan in bitswap
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-28 17:08:13 -07:00
Jeromy
e43c770530 update libp2p and dht packages
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-25 23:42:14 -07:00
Jeromy
5457a85cef
Merge branch 'version/0.4.3-rc4'
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-20 19:10:10 -07:00
Jeromy
2e6e0f18e3 routing: use extracted dht and routing code
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-19 18:28:00 -07:00
Jeromy
1de17e2233 Update libp2p to 3.5.2
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-12 14:26:55 -07:00
Jeromy
1bb6a842c5 Update libp2p to have fixed spdystream dep
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-12 07:47:04 -07:00
George Antoniadis
89d8ca5798 Extract peerset, update peer, peerset, secio, libp2p
License: MIT
Signed-off-by: George Antoniadis <george@noodles.gr>
2016-09-10 23:22:17 +01:00
George Antoniadis
5e72b94a5a Extract thirdparty/loggables
License: MIT
Signed-off-by: George Antoniadis <george@noodles.gr>
2016-09-10 23:15:31 +01:00
Jeromy Johnson
1a5994a01d Merge pull request #3198 from geoah/chore/extract-key
Extract blocks/key to ipfs/go-key
2016-09-09 14:06:22 -04:00
Jeromy Johnson
5f933be1ec Merge pull request #3132 from ipfs/feat/versioned-protos
use correct protocol names for ipfs services
2016-09-09 13:38:57 -04:00
George Antoniadis
6859b8ccd8 Extract key and datastore
License: MIT
Signed-off-by: George Antoniadis <george@noodles.gr>
2016-09-09 15:52:25 +01:00
Jeromy
c8fe495934 integrate CIDv0
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-07 13:32:32 -07:00
Jeromy
803af90180 bitswap: search for wantlist providers a little less often
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-06 13:11:57 -07:00
Jeromy Johnson
6f437fbbf4 Merge pull request #3169 from ipfs/fix/bitswap-goro-leak
bitswap: Don't clear 'active' until Connect calls are finished
2016-09-04 08:20:52 -07:00
Jeromy
1548c8aabb bitswap: clear wantlists when GetBlocks calls are cancelled
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-04 06:44:21 -07:00
Jeromy
b9130108cf bitswap: Don't clear 'active' until Connect calls are finished
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-03 09:41:26 -07:00
Jeromy
feb653b443 bitswap: add better tests around wantlist clearing
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-09-02 15:28:10 -07:00
mateon1
304153a38d Fix minor typo in bitswap debug logging
License: MIT
Signed-off-by: Mateusz Naściszewski <matin1111@wp.pl>
2016-09-02 21:38:59 +02:00
Jeromy
0390407497 use correct protocol names for ipfs services
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-08-26 14:01:23 -07:00
Jeromy
05b197df2d update deps for libp2p 3.4.0
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-08-25 19:02:55 -07:00
Jeromy
582e5dee3a blockservice: don't store blocks we already have
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-08-24 12:06:06 -07:00
Jeromy Johnson
8830aae9bc Merge pull request #3091 from ipfs/feat/temp-err-retries
datastore: blockstore should retry when it encounters temp errors
2016-08-22 09:35:19 -07:00
Jeromy
ea8683aca7 routing: rework interfaces to make separation easier
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-08-20 11:30:15 -07:00