...
 
Commits (71)
    https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/9c8e0caebd973678ba1d24a01820e82bfe72a5dc refac(exchange) bitswap -> exchange/bitswap 2014-09-22T04:06:13-07:00 Brian Tiger Chow brian.holderchow@gmail.com Move go-ipfs/bitswap package to go-ipfs/exchange/bitswap * Delineates the difference between the generic exchange interface and implementations (eg. BitSwap protocol) Thus, the bitswap protocol can be refined without having to overthink how future exchanges will work. Aspects common to BitSwap and other exchanges can be extracted out to the exchange package in piecemeal. Future exchange implementations can be placed in sibling packages next to exchange/bitswap. (eg. exchange/multilateral) https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/1d5a8e9f1ab6d50fbd7d26aeaf26232965bce71e refac(exchange) rename exchange.Interface to match golang conventions 2014-09-22T04:06:13-07:00 Brian Tiger Chow brian.holderchow@gmail.com examples: <a href="http://golang.org/pkg/container/heap/#Interface" rel="nofollow noreferrer noopener" target="_blank">http://golang.org/pkg/container/heap/#Interface</a> <a href="http://golang.org/pkg/net/#Interface" rel="nofollow noreferrer noopener" target="_blank">http://golang.org/pkg/net/#Interface</a> <a href="http://golang.org/pkg/sort/#Interface" rel="nofollow noreferrer noopener" target="_blank">http://golang.org/pkg/sort/#Interface</a> https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/36dca820ae9844ed84a1a47ad526aaa73c34607f refac(exchange) replace timeout -> context in API 2014-09-22T04:06:14-07:00 Brian Tiger Chow brian.holderchow@gmail.com https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/ac8c699864f37aaea132696771f3944c06af7367 feat(exchange) pass ctx to exchange.HasBlock(...) 2014-09-22T04:06:14-07:00 Brian Tiger Chow brian.holderchow@gmail.com https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/8171130d624b7eee81ce830834dae68e13a698f6 fix(exchange) package name 2014-09-22T04:06:15-07:00 Brian Tiger Chow brian.holderchow@gmail.com https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/f327e9b199779ec5cf795a43159ce499f0a64235 docs(exchange) 2014-11-08T21:42:37-08:00 Brian Tiger Chow brian.holderchow@gmail.com https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/42d8c6a1798901ad705c4fc0a6380046305fe1f4 beginnings of a bitswap refactor 2014-12-05T20:53:18+00:00 Jeromy jeromyj@gmail.com https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/c6503f1678c300401195be13299f35492217c453 fix(exchange) allow exchange to be closed 2014-12-05T20:53:25+00:00 Brian Tiger Chow brian.holderchow@gmail.com License: MIT Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:brian@perfmode.com" title="brian@perfmode.com"><img alt="default avatar" src="https://secure.gravatar.com/avatar/6a342981c8da694e4e214e662d851cd5?s=32&amp;d=identicon" class="avatar s16 avatar-inline"></a><a href="mailto:brian@perfmode.com" title="brian@perfmode.com">Brian Tiger Chow</a> &lt;<a href="mailto:brian@perfmode.com" title="brian@perfmode.com">brian@perfmode.com</a>&gt;</span> https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/35ac113f992ed6aacfe01955f0961037942945c1 wire GetBlocks into blockservice 2014-12-05T20:53:26+00:00 Jeromy jeromyj@gmail.com https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/5982c5b1cea284bf3db7cbd85e4bcab3a908d78b rewrote import paths of go.net/context to use golang.org/x/context 2015-02-25T11:58:19+01:00 Henry cryptix@riseup.net - updated go-ctxgroup and goprocess ctxgroup: AddChildGroup was changed to AddChild. Used in two files: - p2p/net/mock/mock_net.go - routing/dht/dht.go - updated context from hg repo to git prev. commit in hg was ad01a6fcc8a19d3a4478c836895ffe883bd2ceab. (context: make parentCancelCtx iterative) represents commit 84f8955a887232b6308d79c68b8db44f64df455c in git repo - updated context to master (b6fdb7d8a4ccefede406f8fe0f017fb58265054c) Aaron Jacobs (2): net/context: Don't accept a context in the DoSomethingSlow example. context: Be clear that users must cancel the result of WithCancel. Andrew Gerrand (1): go.net: use golang.org/x/... import paths Bryan C. Mills (1): net/context: Don't leak goroutines in Done example. Damien Neil (1): context: fix removal of cancelled timer contexts from parent David Symonds (2): context: Fix WithValue example code. net: add import comments. Sameer Ajmani (1): context: fix TestAllocs to account for ints in interfaces https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/f190e6acb7c313eff6ac060b2b69b9bb639bfa22 Reorged imports from jbenet/go-ipfs to ipfs/go-ipfs 2015-03-31T12:52:25-07:00 Ho-Sheng Hsiao talktohosh@gmail.com - Modified Godeps/Godeps.json by hand - [TEST] Updated welcome docs hash to sharness - [TEST] Updated contact doc - [TEST] disabled breaking test (t0080-repo refs local) https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/1729a4c601c00e4fd8ffce7774449bc970152d0f move util.Key into its own package under blocks 2015-06-01T16:10:08-07:00 Jeromy jeromyj@gmail.com https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/83459c0f9b4bae2f3c72b7201a2bf4f2006f22e6 remove context from HasBlock, use bitswap process instead 2015-09-15T17:53:42-07:00 Jeromy jeromyj@gmail.com License: MIT Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:jeromyj@gmail.com" title="jeromyj@gmail.com"><img alt="default avatar" src="https://secure.gravatar.com/avatar/4225c034d166af281ac14d50c54b65e3?s=32&amp;d=identicon" class="avatar s16 avatar-inline"></a><a href="mailto:jeromyj@gmail.com" title="jeromyj@gmail.com">Jeromy</a> &lt;<a href="mailto:jeromyj@gmail.com" title="jeromyj@gmail.com">jeromyj@gmail.com</a>&gt;</span> https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/915d7a0820a5fc4490b59b0ba198d5748f52a04f initial vendoring of libp2p outside of the repo with gx 2016-01-30T09:34:06-08:00 Jeromy jeromyj@gmail.com License: MIT Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:jeromyj@gmail.com" title="jeromyj@gmail.com"><img alt="default avatar" src="https://secure.gravatar.com/avatar/4225c034d166af281ac14d50c54b65e3?s=32&amp;d=identicon" class="avatar s16 avatar-inline"></a><a href="mailto:jeromyj@gmail.com" title="jeromyj@gmail.com">Jeromy</a> &lt;<a href="mailto:jeromyj@gmail.com" title="jeromyj@gmail.com">jeromyj@gmail.com</a>&gt;</span> https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/d63fbc7e4334cb75b7c308109a88e820d51b6307 correct go-log dep 2016-01-30T09:34:10-08:00 Jeromy jeromyj@gmail.com License: MIT Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:jeromyj@gmail.com" title="jeromyj@gmail.com"><img alt="default avatar" src="https://secure.gravatar.com/avatar/4225c034d166af281ac14d50c54b65e3?s=32&amp;d=identicon" class="avatar s16 avatar-inline"></a><a href="mailto:jeromyj@gmail.com" title="jeromyj@gmail.com">Jeromy</a> &lt;<a href="mailto:jeromyj@gmail.com" title="jeromyj@gmail.com">jeromyj@gmail.com</a>&gt;</span> https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/5916b728a63371e5afb3c4d6d23e0548c5103197 trivial: various superficial fixes 2016-02-03T15:46:28+10:00 Thomas Gardner tmg@fastmail.com misc/completion/ipfs-completion.bash: add `ipfs stats` to BASH completion core/commands/mount_unix.go: ensure error is not nil before printing it contribute.md: fix bibliography indexing in example core/commands/swarm.go: change tabs to spaces in USAGE message *: 80-column readability improvements License: MIT Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:tmg@fastmail.com" title="tmg@fastmail.com"><img alt="default avatar" src="https://secure.gravatar.com/avatar/4b802c55ae5fe3bdac9dc52be2a04b7f?s=32&amp;d=identicon" class="avatar s16 avatar-inline"></a><a href="mailto:tmg@fastmail.com" title="tmg@fastmail.com">Thomas Gardner</a> &lt;<a href="mailto:tmg@fastmail.com" title="tmg@fastmail.com">tmg@fastmail.com</a>&gt;</span> https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/056e9d53839e52886d3fce038bba589180ad45ee Merge pull request #2256 from ipfs/feat/gx-libp2p 2016-02-05T16:52:02-08:00 Jeromy Johnson whyrusleeping@users.noreply.github.com vendor libp2p with gx https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/631c4132a2d6119fdcf41f8158a9cb328afa668a Make blocks.Block an interface. 2016-05-05T18:02:11-04:00 Kevin Atkinson k@kevina.org License: MIT Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:k@kevina.org" title="k@kevina.org"><img alt="default avatar" src="https://secure.gravatar.com/avatar/d495ec8dfc169924ad1968333d23ea2b?s=32&amp;d=identicon" class="avatar s16 avatar-inline"></a><a href="mailto:k@kevina.org" title="k@kevina.org">Kevin Atkinson</a> &lt;<a href="mailto:k@kevina.org" title="k@kevina.org">k@kevina.org</a>&gt;</span> https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/10389ab7a8513a693ab1ee2091a5b121078b5ab6 integrate CIDv0 2016-09-07T13:32:32-07:00 Jeromy why@ipfs.io License: MIT Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:why@ipfs.io" title="why@ipfs.io"><img alt="default avatar" src="https://secure.gravatar.com/avatar/485a69ecbf74914bc92d4bc5f8b1efdc?s=32&amp;d=identicon" class="avatar s16 avatar-inline"></a><a href="mailto:why@ipfs.io" title="why@ipfs.io">Jeromy</a> &lt;<a href="mailto:why@ipfs.io" title="why@ipfs.io">why@ipfs.io</a>&gt;</span> https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/27247009d786225eb9aca2e4c39f0e78c9f1a4f4 Extract key and datastore 2016-09-09T15:52:25+01:00 George Antoniadis george@noodles.gr License: MIT Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:george@noodles.gr" title="george@noodles.gr"><img alt="default avatar" src="https://secure.gravatar.com/avatar/adcdd4080503216e19cee81f413e6eb3?s=32&amp;d=identicon" class="avatar s16 avatar-inline"></a><a href="mailto:george@noodles.gr" title="george@noodles.gr">George Antoniadis</a> &lt;<a href="mailto:george@noodles.gr" title="george@noodles.gr">george@noodles.gr</a>&gt;</span> https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/af55c45e5bdc2643642dbf208e0bed76d433390e update to libp2p 4.0.1 and propogate other changes 2016-10-05T22:12:43-07:00 Jeromy why@ipfs.io License: MIT Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:why@ipfs.io" title="why@ipfs.io"><img alt="default avatar" src="https://secure.gravatar.com/avatar/485a69ecbf74914bc92d4bc5f8b1efdc?s=32&amp;d=identicon" class="avatar s16 avatar-inline"></a><a href="mailto:why@ipfs.io" title="why@ipfs.io">Jeromy</a> &lt;<a href="mailto:why@ipfs.io" title="why@ipfs.io">why@ipfs.io</a>&gt;</span> https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/d25bf371c5ef33138d37f4b9cee576b6f092bf67 Don't use a separate LinkService for DAGService.GetLinks() 2016-10-06T11:52:39-04:00 Kevin Atkinson k@kevina.org 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: <span data-trailer="Signed-off-by:"><a href="mailto:k@kevina.org" title="k@kevina.org"><img alt="default avatar" src="https://secure.gravatar.com/avatar/d495ec8dfc169924ad1968333d23ea2b?s=32&amp;d=identicon" class="avatar s16 avatar-inline"></a><a href="mailto:k@kevina.org" title="k@kevina.org">Kevin Atkinson</a> &lt;<a href="mailto:k@kevina.org" title="k@kevina.org">k@kevina.org</a>&gt;</span> https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/b4c35b3ac29f6c4a35df24df8e9e5ea39458b531 cid: integrate cid into bitswap and blockstores 2016-10-08T12:14:58-07:00 Jeromy why@ipfs.io License: MIT Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:why@ipfs.io" title="why@ipfs.io"><img alt="default avatar" src="https://secure.gravatar.com/avatar/485a69ecbf74914bc92d4bc5f8b1efdc?s=32&amp;d=identicon" class="avatar s16 avatar-inline"></a><a href="mailto:why@ipfs.io" title="why@ipfs.io">Jeromy</a> &lt;<a href="mailto:why@ipfs.io" title="why@ipfs.io">why@ipfs.io</a>&gt;</span> https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/fac6d91cdf1c28c38b6e030c3d2d8c59afd5314d bitswap: protocol extension to handle cids 2016-10-10T08:19:31-07:00 Jeromy why@ipfs.io 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: <span data-trailer="Signed-off-by:"><a href="mailto:why@ipfs.io" title="why@ipfs.io"><img alt="default avatar" src="https://secure.gravatar.com/avatar/485a69ecbf74914bc92d4bc5f8b1efdc?s=32&amp;d=identicon" class="avatar s16 avatar-inline"></a><a href="mailto:why@ipfs.io" title="why@ipfs.io">Jeromy</a> &lt;<a href="mailto:why@ipfs.io" title="why@ipfs.io">why@ipfs.io</a>&gt;</span> https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/99935f5baff7ce959a5c6e78c24486491ff3f04a update to new cid and ipld node packages 2016-10-25T09:54:04-07:00 Jeromy why@ipfs.io License: MIT Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:why@ipfs.io" title="why@ipfs.io"><img alt="default avatar" src="https://secure.gravatar.com/avatar/485a69ecbf74914bc92d4bc5f8b1efdc?s=32&amp;d=identicon" class="avatar s16 avatar-inline"></a><a href="mailto:why@ipfs.io" title="why@ipfs.io">Jeromy</a> &lt;<a href="mailto:why@ipfs.io" title="why@ipfs.io">why@ipfs.io</a>&gt;</span> https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/35dc50badcccd77d0210935f4c7257aefa4015e1 Changed so only explicit ipfs cli commands are lowercased 2016-10-27T22:55:13-07:00 Richard Littauer richard.littauer@gmail.com License: MIT Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:richard.littauer@gmail.com" title="richard.littauer@gmail.com"><img alt="default avatar" src="https://secure.gravatar.com/avatar/70123f2cb4af0d0b414ae9c4827fdf33?s=32&amp;d=identicon" class="avatar s16 avatar-inline"></a><a href="mailto:richard.littauer@gmail.com" title="richard.littauer@gmail.com">Richard Littauer</a> &lt;<a href="mailto:richard.littauer@gmail.com" title="richard.littauer@gmail.com">richard.littauer@gmail.com</a>&gt;</span> https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/ace823f6a9d766e8cb8137dd34e2ddae71f1b9b3 update to newer ipld node interface with Copy and better Tree 2016-11-15T18:00:49-08:00 Jeromy why@ipfs.io License: MIT Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:why@ipfs.io" title="why@ipfs.io"><img alt="default avatar" src="https://secure.gravatar.com/avatar/485a69ecbf74914bc92d4bc5f8b1efdc?s=32&amp;d=identicon" class="avatar s16 avatar-inline"></a><a href="mailto:why@ipfs.io" title="why@ipfs.io">Jeromy</a> &lt;<a href="mailto:why@ipfs.io" title="why@ipfs.io">why@ipfs.io</a>&gt;</span> https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/cf6f27e29a938eba19ca56542e3a8c5fe30aa1ff bubble up go-datastore deps 2016-11-28T22:29:38-08:00 Jeromy why@ipfs.io License: MIT Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:why@ipfs.io" title="why@ipfs.io"><img alt="default avatar" src="https://secure.gravatar.com/avatar/485a69ecbf74914bc92d4bc5f8b1efdc?s=32&amp;d=identicon" class="avatar s16 avatar-inline"></a><a href="mailto:why@ipfs.io" title="why@ipfs.io">Jeromy</a> &lt;<a href="mailto:why@ipfs.io" title="why@ipfs.io">why@ipfs.io</a>&gt;</span> https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/f16adb6f37e6afa51a9c1f1d8fa4c76dded0c223 update go-multihash and bubble up deps 2017-02-12T12:25:41-08:00 Jeromy jeromyj@gmail.com License: MIT Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:jeromyj@gmail.com" title="jeromyj@gmail.com"><img alt="default avatar" src="https://secure.gravatar.com/avatar/4225c034d166af281ac14d50c54b65e3?s=32&amp;d=identicon" class="avatar s16 avatar-inline"></a><a href="mailto:jeromyj@gmail.com" title="jeromyj@gmail.com">Jeromy</a> &lt;<a href="mailto:jeromyj@gmail.com" title="jeromyj@gmail.com">jeromyj@gmail.com</a>&gt;</span> https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/e3b7efad7ef666e9b56b5ceca8f8766e2c51be68 bubble up updates from go-multihash changes 2017-04-20T20:28:04+02:00 Jeromy jeromyj@gmail.com License: MIT Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:jeromyj@gmail.com" title="jeromyj@gmail.com"><img alt="default avatar" src="https://secure.gravatar.com/avatar/4225c034d166af281ac14d50c54b65e3?s=32&amp;d=identicon" class="avatar s16 avatar-inline"></a><a href="mailto:jeromyj@gmail.com" title="jeromyj@gmail.com">Jeromy</a> &lt;<a href="mailto:jeromyj@gmail.com" title="jeromyj@gmail.com">jeromyj@gmail.com</a>&gt;</span> https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/2185a8d7b5fc67d8b0b01fa36ae832def322fd1f blocks: move block format to it's own repo 2017-06-29T22:12:14+02:00 Steven Allen steven@stebalien.com We need to reference it from outside of this repo. License: MIT Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:steven@stebalien.com" title="steven@stebalien.com"><img alt="default avatar" src="https://secure.gravatar.com/avatar/d161f230b3456d0bfd740154ae16e0a3?s=32&amp;d=identicon" class="avatar s16 avatar-inline"></a><a href="mailto:steven@stebalien.com" title="steven@stebalien.com">Steven Allen</a> &lt;<a href="mailto:steven@stebalien.com" title="steven@stebalien.com">steven@stebalien.com</a>&gt;</span> https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/f6584cf10a7277016faa9a0819150e94f211bdef blocks: gx import go-block-format 2017-06-29T22:12:14+02:00 Steven Allen steven@stebalien.com And updated related dependencies. License: MIT Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:steven@stebalien.com" title="steven@stebalien.com"><img alt="default avatar" src="https://secure.gravatar.com/avatar/d161f230b3456d0bfd740154ae16e0a3?s=32&amp;d=identicon" class="avatar s16 avatar-inline"></a><a href="mailto:steven@stebalien.com" title="steven@stebalien.com">Steven Allen</a> &lt;<a href="mailto:steven@stebalien.com" title="steven@stebalien.com">steven@stebalien.com</a>&gt;</span> https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/e5970566436509ba4f09054ad89a15dce6e705bb Update go-datastore to 1.2.2, go-cid to 0.7.16 2017-07-04T20:18:57+02:00 Łukasz Magiera magik6k@gmail.com License: MIT Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:magik6k@gmail.com" title="magik6k@gmail.com"><img alt="default avatar" src="https://secure.gravatar.com/avatar/c0e7644c009726eef6fce1e9432531de?s=32&amp;d=identicon" class="avatar s16 avatar-inline"></a><a href="mailto:magik6k@gmail.com" title="magik6k@gmail.com">Łukasz Magiera</a> &lt;<a href="mailto:magik6k@gmail.com" title="magik6k@gmail.com">magik6k@gmail.com</a>&gt;</span> https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/b010499f1267097fe0aeb5dae4289648822e6b24 WIP: wire sessions up through into FetchGraph 2017-07-05T10:48:28-07:00 Jeromy jeromyj@gmail.com License: MIT Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:jeromyj@gmail.com" title="jeromyj@gmail.com"><img alt="default avatar" src="https://secure.gravatar.com/avatar/4225c034d166af281ac14d50c54b65e3?s=32&amp;d=identicon" class="avatar s16 avatar-inline"></a><a href="mailto:jeromyj@gmail.com" title="jeromyj@gmail.com">Jeromy</a> &lt;<a href="mailto:jeromyj@gmail.com" title="jeromyj@gmail.com">jeromyj@gmail.com</a>&gt;</span> https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/84f2f5c22412ddaa834ee9fde01f64285d33a2e4 track broadcasted wantlist entries 2017-07-05T10:51:51-07:00 Jeromy jeromyj@gmail.com License: MIT Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:jeromyj@gmail.com" title="jeromyj@gmail.com"><img alt="default avatar" src="https://secure.gravatar.com/avatar/4225c034d166af281ac14d50c54b65e3?s=32&amp;d=identicon" class="avatar s16 avatar-inline"></a><a href="mailto:jeromyj@gmail.com" title="jeromyj@gmail.com">Jeromy</a> &lt;<a href="mailto:jeromyj@gmail.com" title="jeromyj@gmail.com">jeromyj@gmail.com</a>&gt;</span> https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/5e140152bd585904b6d655de6d4152b610e11220 update go-multihash and bubble up changes 2017-07-11T19:27:43-07:00 Jeromy jeromyj@gmail.com License: MIT Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:jeromyj@gmail.com" title="jeromyj@gmail.com"><img alt="default avatar" src="https://secure.gravatar.com/avatar/4225c034d166af281ac14d50c54b65e3?s=32&amp;d=identicon" class="avatar s16 avatar-inline"></a><a href="mailto:jeromyj@gmail.com" title="jeromyj@gmail.com">Jeromy</a> &lt;<a href="mailto:jeromyj@gmail.com" title="jeromyj@gmail.com">jeromyj@gmail.com</a>&gt;</span> https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/79cacb5624acc5ad0621ea0a61395d8c1338d667 gx: update go-cid, go-multibase, base32 2017-09-01T17:46:49-07:00 Steven Allen steven@stebalien.com License: MIT Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:steven@stebalien.com" title="steven@stebalien.com"><img alt="default avatar" src="https://secure.gravatar.com/avatar/d161f230b3456d0bfd740154ae16e0a3?s=32&amp;d=identicon" class="avatar s16 avatar-inline"></a><a href="mailto:steven@stebalien.com" title="steven@stebalien.com">Steven Allen</a> &lt;<a href="mailto:steven@stebalien.com" title="steven@stebalien.com">steven@stebalien.com</a>&gt;</span> https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/10c75eed681e86ba6dc34491d59f06ace43c5a9f gx: update go-multihash 2017-12-14T13:09:51-08:00 Steven Allen steven@stebalien.com License: MIT Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:steven@stebalien.com" title="steven@stebalien.com"><img alt="default avatar" src="https://secure.gravatar.com/avatar/d161f230b3456d0bfd740154ae16e0a3?s=32&amp;d=identicon" class="avatar s16 avatar-inline"></a><a href="mailto:steven@stebalien.com" title="steven@stebalien.com">Steven Allen</a> &lt;<a href="mailto:steven@stebalien.com" title="steven@stebalien.com">steven@stebalien.com</a>&gt;</span> https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/51df926aeeebd1ee3a8ff8d317b61194089f625b gx: mass update 2018-01-24T15:58:44-08:00 Steven Allen steven@stebalien.com License: MIT Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:steven@stebalien.com" title="steven@stebalien.com"><img alt="default avatar" src="https://secure.gravatar.com/avatar/d161f230b3456d0bfd740154ae16e0a3?s=32&amp;d=identicon" class="avatar s16 avatar-inline"></a><a href="mailto:steven@stebalien.com" title="steven@stebalien.com">Steven Allen</a> &lt;<a href="mailto:steven@stebalien.com" title="steven@stebalien.com">steven@stebalien.com</a>&gt;</span> https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/c4b9a06e0ac8dc92b3f7676e2f077ec786268504 Add exchange.SessionExchange interface for exchanges that support sessions. 2018-02-15T21:11:21+01:00 Hector Sanjuan hector@protocol.ai Blockservice has an explicit dependency on bitswap so it can call NewSession. It should rely on the exchange interfaces though, not on specific implementations. License: MIT Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:hector@protocol.ai" title="hector@protocol.ai"><img alt="default avatar" src="https://secure.gravatar.com/avatar/ceba6874e0cb51a9a9063fb345be8042?s=32&amp;d=identicon" class="avatar s16 avatar-inline"></a><a href="mailto:hector@protocol.ai" title="hector@protocol.ai">Hector Sanjuan</a> &lt;<a href="mailto:hector@protocol.ai" title="hector@protocol.ai">hector@protocol.ai</a>&gt;</span> https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/6e91bf9ba223bd8a03a82f0f9ae23fe6707aea07 Extract: gx, travis, readme, license, makefile 2018-04-03T14:29:49+02:00 Hector Sanjuan code@hector.link https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/1d5251c6fdf08529dbc0f8889efe3d754c0a6b7d gx publish 0.0.1 2018-04-03T14:31:33+02:00 Hector Sanjuan code@hector.link https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/c54770addb0153a0eb36ff4798327d9849ed3227 add .gx 2018-04-03T14:33:28+02:00 Hector Sanjuan code@hector.link https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/62d74ecd98f0ba0107379efe89d142c69500f485 gx publish 0.0.2 2018-06-08T20:28:38-07:00 Steven Allen steven@stebalien.com https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/535c7a3c946527c6452fa45c4d84ac0d40d226bd gx publish 0.0.3 2018-07-12T10:27:35+02:00 Steven Allen steven@stebalien.com https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/667c0cfcd4c0cf06d1f1d1c6c177c1834ce669f6 gx publish 0.0.4 2018-08-10T21:04:59-04:00 Kevin Atkinson k@kevina.org https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/3a2a0aeada09192e4f60f009e9db9115cf3bee26 gx publish 0.0.5 2018-08-15T08:27:20-07:00 Steven Allen steven@stebalien.com https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/d3f680651104952bdd7f71ee90e02d02580e1815 gx publish 0.0.6 2018-08-21T17:09:45-07:00 Steven Allen steven@stebalien.com https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/91dc3c5ff63431d23400cd98b7130fec86c7011d gx update and fix code to use new Cid type 2018-09-11T19:48:35-04:00 Kevin Atkinson k@kevina.org https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/a84aed89e778716803bc7885b6b89538c986a13a gx publish 0.1.0 2018-09-11T19:48:36-04:00 Kevin Atkinson k@kevina.org https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/615ac03eb55d9595690c78799641d8f2c9a6c16f gx publish 0.1.1 2018-09-19T14:35:16-07:00 Jeromy jeromyj@gmail.com https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/9ba3cfba8a23402eb66b89aa16100249bb2b9664 gx publish 0.1.2 2018-11-02T16:53:02-07:00 Steven Allen steven@stebalien.com https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/969e1b68e19269766e33149ae4ebe371f94e515e gx publish 0.1.3 2019-02-20T20:16:40-08:00 Steven Allen steven@stebalien.com https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/2970ce71247805ebf47a1c76c823e83dad4252da ci: modernize 2019-02-20T20:41:00-08:00 Steven Allen steven@stebalien.com https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/b6e88260772433e18af18bb3f237d78678e65f0b add gomod support // tag v0.0.1. 2019-03-02T18:10:52+01:00 Jakub Sztandera kubuxu@protonmail.ch License: MIT Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:kubuxu@protonmail.ch" title="kubuxu@protonmail.ch"><img alt="default avatar" src="https://secure.gravatar.com/avatar/d4dfe1f58343e5354836e797e574c29a?s=32&amp;d=identicon" class="avatar s16 avatar-inline"></a><a href="mailto:kubuxu@protonmail.ch" title="kubuxu@protonmail.ch">Jakub Sztandera</a> &lt;<a href="mailto:kubuxu@protonmail.ch" title="kubuxu@protonmail.ch">kubuxu@protonmail.ch</a>&gt;</span> https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/8f85ecf2ed199f07886a5a2b39feaf565ce326f3 Merge pull request #4 from ipfs/gomod 2019-03-02T19:15:29+01:00 Jakub Sztandera kubuxu@protonmail.ch add gomod support // tag v0.0.1. https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/aab2e33aa212746a05fc05ca0433428c69ce0d8c doc: add a lead maintainer 2019-09-18T22:17:42-07:00 Steven Allen steven@stebalien.com https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/30471bb5221baf901f150ff82303d1a1bd7e0736 Bump github.com/ipfs/go-cid from 0.0.1 to 0.0.3 2019-09-24T23:02:10+00:00 dependabot-preview[bot] 27856297+dependabot-preview[bot]@users.noreply.github.com Bumps [github.com/ipfs/go-cid](<a href="https://github.com/ipfs/go-cid" rel="nofollow noreferrer noopener" target="_blank">https://github.com/ipfs/go-cid</a>) from 0.0.1 to 0.0.3. - [Release notes](<a href="https://github.com/ipfs/go-cid/releases" rel="nofollow noreferrer noopener" target="_blank">https://github.com/ipfs/go-cid/releases</a>) - [Commits](<a href="https://github.com/ipfs/go-cid/compare/v0.0.1...v0.0.3" rel="nofollow noreferrer noopener" target="_blank">https://github.com/ipfs/go-cid/compare/v0.0.1...v0.0.3</a>) Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:support@dependabot.com" title="support@dependabot.com"><img alt="default avatar" src="https://secure.gravatar.com/avatar/c37982ef5d343cc3b27d3e5ecf6d6ed5?s=32&amp;d=identicon" class="avatar s16 avatar-inline"></a><a href="mailto:support@dependabot.com" title="support@dependabot.com">dependabot-preview[bot]</a> &lt;<a href="mailto:support@dependabot.com" title="support@dependabot.com">support@dependabot.com</a>&gt;</span> https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/3f798b753b4ca2f4a8fe9a86a5fb21d30392fa25 Merge pull request #5 from ipfs/dependabot/go_modules/github.com/ipfs/go-cid-... 2019-09-24T16:16:34-07:00 Steven Allen steven@stebalien.com Bump github.com/ipfs/go-cid from 0.0.1 to 0.0.3 https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/73e64d2c3c5920865c577d523cb7d70937e6cde8 chore(dep): remove gx 2019-12-20T06:54:46-08:00 Steven Allen steven@stebalien.com https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/39e77de9996f18c9552f64b3bb7bee4abc5f8270 Merge pull request #7 from ipfs/chore/remove-gx 2019-12-20T15:55:03+01:00 Steven Allen steven@stebalien.com chore(dep): remove gx https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/e2309fa8a8cd2a89caeb73c2808c5334a13f5a79 Bump github.com/ipfs/go-cid from 0.0.3 to 0.0.4 2019-12-20T14:57:02+00:00 dependabot-preview[bot] 27856297+dependabot-preview[bot]@users.noreply.github.com Bumps [github.com/ipfs/go-cid](<a href="https://github.com/ipfs/go-cid" rel="nofollow noreferrer noopener" target="_blank">https://github.com/ipfs/go-cid</a>) from 0.0.3 to 0.0.4. - [Release notes](<a href="https://github.com/ipfs/go-cid/releases" rel="nofollow noreferrer noopener" target="_blank">https://github.com/ipfs/go-cid/releases</a>) - [Commits](<a href="https://github.com/ipfs/go-cid/compare/v0.0.3...v0.0.4" rel="nofollow noreferrer noopener" target="_blank">https://github.com/ipfs/go-cid/compare/v0.0.3...v0.0.4</a>) Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:support@dependabot.com" title="support@dependabot.com"><img alt="default avatar" src="https://secure.gravatar.com/avatar/c37982ef5d343cc3b27d3e5ecf6d6ed5?s=32&amp;d=identicon" class="avatar s16 avatar-inline"></a><a href="mailto:support@dependabot.com" title="support@dependabot.com">dependabot-preview[bot]</a> &lt;<a href="mailto:support@dependabot.com" title="support@dependabot.com">support@dependabot.com</a>&gt;</span> https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/7fc9151f685a28d08be9562825ea405f6c11740a Merge pull request #6 from ipfs/dependabot/go_modules/github.com/ipfs/go-cid-... 2019-12-20T16:07:22+01:00 Steven Allen steven@stebalien.com Bump github.com/ipfs/go-cid from 0.0.3 to 0.0.4 https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/1353c7580968b868e5ae35aa5a312c77c0e5870f Bump github.com/ipfs/go-cid from 0.0.4 to 0.0.5 2020-02-05T11:14:39+00:00 dependabot-preview[bot] 27856297+dependabot-preview[bot]@users.noreply.github.com Bumps [github.com/ipfs/go-cid](<a href="https://github.com/ipfs/go-cid" rel="nofollow noreferrer noopener" target="_blank">https://github.com/ipfs/go-cid</a>) from 0.0.4 to 0.0.5. - [Release notes](<a href="https://github.com/ipfs/go-cid/releases" rel="nofollow noreferrer noopener" target="_blank">https://github.com/ipfs/go-cid/releases</a>) - [Commits](<a href="https://github.com/ipfs/go-cid/compare/v0.0.4...v0.0.5" rel="nofollow noreferrer noopener" target="_blank">https://github.com/ipfs/go-cid/compare/v0.0.4...v0.0.5</a>) Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:support@dependabot.com" title="support@dependabot.com"><img alt="default avatar" src="https://secure.gravatar.com/avatar/c37982ef5d343cc3b27d3e5ecf6d6ed5?s=32&amp;d=identicon" class="avatar s16 avatar-inline"></a><a href="mailto:support@dependabot.com" title="support@dependabot.com">dependabot-preview[bot]</a> &lt;<a href="mailto:support@dependabot.com" title="support@dependabot.com">support@dependabot.com</a>&gt;</span> https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/a30d3ce7a91e5b821120ac048c22875ece3255cf Merge pull request #8 from ipfs/dependabot/go_modules/github.com/ipfs/go-cid-... 2020-02-11T10:28:39-08:00 Steven Allen steven@stebalien.com Bump github.com/ipfs/go-cid from 0.0.4 to 0.0.5 https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/73498d2e745f84585bc71bfd77a15cd16d1407f6 Add standard issue template 2020-04-27T11:35:12+02:00 Hector Sanjuan code@hector.link https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/90f3c93befbf1a337dab68c92b932ae1862dcab8 Add autocomment configuration 2020-05-04T12:13:17+02:00 Hector Sanjuan code@hector.link https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/fe9d20f99b6b48969a85bdbf9413184013460120 sync: update CI config files (#14) 2021-04-23T11:26:29+00:00 web3-bot 81333946+web3-bot@users.noreply.github.com https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/0a05a633f123524adcdc5cf89b3f5d96350a33f0 Merge remote-tracking branch 'upstream/master' into reference 2021-05-03T04:11:36-04:00 tavit ohanian tavit@dms3.io https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/7e9dd0b925e296c18e786a6ae1e79cf519fe142a initial port 2021-06-17T02:20:10-04:00 tavit ohanian tavit@dms3.io https://gitlab.dms3.io/dms3/go-dms3-exchange-interface/-/commit/13c83de109c75fff4806a3955e78a363878fc932 Merge branch 'port-2021-05-03' into 'master' 2021-06-17T06:21:29+00:00 tavit ohanian tavit@dms3.io Port 2021 05 03 See merge request dms3/public/go-dms3-exchange-interface!1
blank_issues_enabled: false
contact_links:
- name: Getting Help on IPFS
url: https://ipfs.io/help
about: All information about how and where to get help on IPFS.
- name: IPFS Official Forum
url: https://discuss.ipfs.io
about: Please post general questions, support requests, and discussions here.
---
name: Open an issue
about: Only for actionable issues relevant to this repository.
title: ''
labels: need/triage
assignees: ''
---
<!--
Hello! To ensure this issue is correctly addressed as soon as possible by the IPFS team, please try to make sure:
- This issue is relevant to this repository's topic or codebase.
- A clear description is provided. It should includes as much relevant information as possible and clear scope for the issue to be actionable.
FOR GENERAL DISCUSSION, HELP OR QUESTIONS, please see the options at https://ipfs.io/help or head directly to https://discuss.ipfs.io.
(you can delete this section after reading)
-->
# Configuration for welcome - https://github.com/behaviorbot/welcome
# Configuration for new-issue-welcome - https://github.com/behaviorbot/new-issue-welcome
# Comment to be posted to on first time issues
newIssueWelcomeComment: >
Thank you for submitting your first issue to this repository! A maintainer
will be here shortly to triage and review.
In the meantime, please double-check that you have provided all the
necessary information to make this process easy! Any information that can
help save additional round trips is useful! We currently aim to give
initial feedback within **two business days**. If this does not happen, feel
free to leave a comment.
Please keep an eye on how this issue will be labeled, as labels give an
overview of priorities, assignments and additional actions requested by the
maintainers:
- "Priority" labels will show how urgent this is for the team.
- "Status" labels will show if this is ready to be worked on, blocked, or in progress.
- "Need" labels will indicate if additional input or analysis is required.
Finally, remember to use https://discuss.ipfs.io if you just need general
support.
# Configuration for new-pr-welcome - https://github.com/behaviorbot/new-pr-welcome
# Comment to be posted to on PRs from first time contributors in your repository
newPRWelcomeComment: >
Thank you for submitting this PR!
A maintainer will be here shortly to review it.
We are super grateful, but we are also overloaded! Help us by making sure
that:
* The context for this PR is clear, with relevant discussion, decisions
and stakeholders linked/mentioned.
* Your contribution itself is clear (code comments, self-review for the
rest) and in its best form. Follow the [code contribution
guidelines](https://github.com/ipfs/community/blob/master/CONTRIBUTING.md#code-contribution-guidelines)
if they apply.
Getting other community members to do a review would be great help too on
complex PRs (you can ask in the chats/forums). If you are unsure about
something, just leave us a comment.
Next steps:
* A maintainer will triage and assign priority to this PR, commenting on
any missing things and potentially assigning a reviewer for high
priority items.
* The PR gets reviews, discussed and approvals as needed.
* The PR is merged by maintainers when it has been approved and comments addressed.
We currently aim to provide initial feedback/triaging within **two business
days**. Please keep an eye on any labelling actions, as these will indicate
priorities and status of your contribution.
We are very grateful for your contribution!
# Configuration for first-pr-merge - https://github.com/behaviorbot/first-pr-merge
# Comment to be posted to on pull requests merged by a first time user
# Currently disabled
#firstPRMergeComment: ""
# File managed by web3-bot. DO NOT EDIT.
# See https://github.com/protocol/.github/ for details.
# Automatically merge pull requests opened by web3-bot, as soon as (and only if) all tests pass.
# This reduces the friction associated with updating with our workflows.
on: [ pull_request ]
jobs:
automerge:
if: github.event.pull_request.user.login == 'web3-bot'
runs-on: ubuntu-latest
steps:
- name: Wait on tests
uses: lewagon/wait-on-check-action@bafe56a6863672c681c3cf671f5e10b20abf2eaa # v0.2
with:
ref: ${{ github.event.pull_request.head.sha }}
repo-token: ${{ secrets.GITHUB_TOKEN }}
wait-interval: 10
running-workflow-name: 'automerge' # the name of this job
- name: Merge PR
uses: pascalgn/automerge-action@741c311a47881be9625932b0a0de1b0937aab1ae # v0.13.1
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
MERGE_LABELS: ""
MERGE_METHOD: "squash"
MERGE_DELETE_BRANCH: true
# File managed by web3-bot. DO NOT EDIT.
# See https://github.com/protocol/.github/ for details.
on: [push, pull_request]
jobs:
unit:
runs-on: ubuntu-latest
name: Go checks
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "1.16.x"
- name: Install staticcheck
run: go install honnef.co/go/tools/cmd/staticcheck@be534f007836a777104a15f2456cd1fffd3ddee8 # v2020.2.2
- name: Check that go.mod is tidy
run: |
go mod tidy
if [[ -n $(git ls-files --other --exclude-standard --directory -- go.sum) ]]; then
echo "go.sum was added by go mod tidy"
exit 1
fi
git diff --exit-code -- go.sum go.mod
- name: gofmt
if: ${{ success() || failure() }} # run this step even if the previous one failed
run: |
out=$(gofmt -s -l .)
if [[ -n "$out" ]]; then
echo $out | awk '{print "::error file=" $0 ",line=0,col=0::File is not gofmt-ed."}'
exit 1
fi
- name: go vet
if: ${{ success() || failure() }} # run this step even if the previous one failed
run: go vet ./...
- name: staticcheck
if: ${{ success() || failure() }} # run this step even if the previous one failed
run: |
set -o pipefail
staticcheck ./... | sed -e 's@\(.*\)\.go@./\1.go@g'
# File managed by web3-bot. DO NOT EDIT.
# See https://github.com/protocol/.github/ for details.
on: [push, pull_request]
jobs:
unit:
strategy:
fail-fast: false
matrix:
os: [ "ubuntu", "windows", "macos" ]
go: [ "1.15.x", "1.16.x" ]
runs-on: ${{ matrix.os }}-latest
name: Unit tests (${{ matrix.os}}, Go ${{ matrix.go }})
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- name: Go information
run: |
go version
go env
- name: Run tests
run: go test -v -coverprofile coverage.txt ./...
- name: Run tests (32 bit)
if: ${{ matrix.os != 'macos' }} # can't run 32 bit tests on OSX.
env:
GOARCH: 386
run: go test -v ./...
- name: Run tests with race detector
if: ${{ matrix.os == 'ubuntu' }} # speed things up. Windows and OSX VMs are slow
run: go test -v -race ./...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@967e2b38a85a62bd61be5529ada27ebc109948c2 # v1.4.1
with:
file: coverage.txt
env_vars: OS=${{ matrix.os }}, GO=${{ matrix.go }}
stages:
- build
- test
variables:
BUILD_DIR: "/tmp/$CI_CONCURRENT_PROJECT_ID"
before_script:
- mkdir -p $BUILD_DIR/src
- cd $BUILD_DIR/src
- if [ -d $CI_PROJECT_DIR ]
- then
- echo "soft link $CI_PROJECT_DIR exists"
- else
- echo "creating soft link $CI_PROJECT_DIR"
- ln -s $CI_PROJECT_DIR
- fi
- cd $CI_PROJECT_DIR
build:
stage: build
tags:
- testing
script:
- echo $CI_JOB_STAGE
- go build
test:
stage: test
tags:
- testing
script:
- echo $CI_JOB_STAGE
- go test -cover
coverage: '/coverage: \d+.\d+% of statements/'
0.1.3: QmWokDcQdSZCxrNxgaRzQDDBofALhActzNBaxRLtiRkUHg
MIT License
Copyright (c) 2018 IPFS
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
gx:
go get github.com/whyrusleeping/gx
go get github.com/whyrusleeping/gx-go
deps: gx
gx --verbose install --global
gx-go rewrite
publish:
gx-go rewrite --undo
# go-dms3-exchange-interface
# go-ipfs-exchange-interface
[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](http://ipn.io)
[![](https://img.shields.io/badge/project-IPFS-blue.svg?style=flat-square)](http://ipfs.io/)
[![standard-readme compliant](https://img.shields.io/badge/standard--readme-OK-green.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme)
[![GoDoc](https://godoc.org/github.com/ipfs/go-ipfs-exchange-interface?status.svg)](https://godoc.org/github.com/ipfs/go-ipfs-exchange-interface)
[![Build Status](https://travis-ci.org/ipfs/go-ipfs-exchange-interface.svg?branch=master)](https://travis-ci.org/ipfs/go-ipfs-exchange-interface)
> go-ipfs-exchange-interface defines the IPFS exchange interface
## Lead Maintainer
[Steven Allen](https://github.com/Stebalien)
## Table of Contents
- [Install](#install)
- [Usage](#usage)
- [Contribute](#contribute)
- [License](#license)
## Install
`go-ipfs-exchange-interface` works like a regular Go module:
```
> go get github.com/ipfs/go-ipfs-exchange-interface
```
## Usage
```
import "github.com/ipfs/go-ipfs-exchange-interface"
```
Check the [GoDoc documentation](https://godoc.org/github.com/ipfs/go-ipfs-exchange-interface)
## Contribute
PRs accepted.
Small note: If editing the README, please conform to the [standard-readme](https://github.com/RichardLitt/standard-readme) specification.
## License
MIT © Protocol Labs, Inc.
github.com/gxed/hashland/keccakpg v0.0.1/go.mod h1:kRzw3HkwxFU1mpmPP8v1WyQzwdGfmKFJ6tItnhQ67kU=
github.com/gxed/hashland/murmur3 v0.0.1/go.mod h1:KjXop02n4/ckmZSnY2+HKcLud/tcmvhST0bie/0lS48=
github.com/ipfs/go-block-format v0.0.2 h1:qPDvcP19izTjU8rgo6p7gTXZlkMkF5bz5G3fqIsSCPE=
github.com/ipfs/go-block-format v0.0.2/go.mod h1:AWR46JfpcObNfg3ok2JHDUfdiHRgWhJgCQF+KIgOPJY=
github.com/ipfs/go-cid v0.0.1/go.mod h1:GHWU/WuQdMPmIosc4Yn1bcCT7dSeX4lBafM7iqUPQvM=
github.com/ipfs/go-cid v0.0.5 h1:o0Ix8e/ql7Zb5UVUJEUfjsWCIY8t48++9lR8qi6oiJU=
github.com/ipfs/go-cid v0.0.5/go.mod h1:plgt+Y5MnOey4vO4UlUazGqdbEXuFYitED67FexhXog=
github.com/ipfs/go-ipfs-util v0.0.1 h1:Wz9bL2wB2YBJqggkA4dD7oSmqB4cAnpNbGrlHJulv50=
github.com/ipfs/go-ipfs-util v0.0.1/go.mod h1:spsl5z8KUnrve+73pOhSVZND1SIxPW5RyBCNzQxlJBc=
github.com/minio/blake2b-simd v0.0.0-20160723061019-3f5f724cb5b1 h1:lYpkrQH5ajf0OXOcUbGjvZxxijuBwbbmlSxLiuofa+g=
github.com/minio/blake2b-simd v0.0.0-20160723061019-3f5f724cb5b1/go.mod h1:pD8RvIylQ358TN4wwqatJ8rNavkEINozVn9DtGI3dfQ=
github.com/minio/sha256-simd v0.0.0-20190131020904-2d45a736cd16/go.mod h1:2FMWW+8GMoPweT6+pI63m9YE3Lmw4J71hV56Chs1E/U=
github.com/minio/sha256-simd v0.1.1-0.20190913151208-6de447530771 h1:MHkK1uRtFbVqvAgvWxafZe54+5uBxLluGylDiKgdhwo=
github.com/minio/sha256-simd v0.1.1-0.20190913151208-6de447530771/go.mod h1:B5e1o+1/KgNmWrSQK08Y6Z1Vb5pwIktudl0J58iy0KM=
github.com/mr-tron/base58 v1.1.0/go.mod h1:xcD2VGqlgYjBdcBLw+TuYLr8afG+Hj8g2eTVqeSzSU8=
github.com/mr-tron/base58 v1.1.3 h1:v+sk57XuaCKGXpWtVBX8YJzO7hMGx4Aajh4TQbdEFdc=
github.com/mr-tron/base58 v1.1.3/go.mod h1:BinMc/sQntlIE1frQmRFPUoPA1Zkr8VRgBdjWI2mNwc=
github.com/multiformats/go-base32 v0.0.3 h1:tw5+NhuwaOjJCC5Pp82QuXbrmLzWg7uxlMFp8Nq/kkI=
github.com/multiformats/go-base32 v0.0.3/go.mod h1:pLiuGC8y0QR3Ue4Zug5UzK9LjgbkL8NSQj0zQ5Nz/AA=
github.com/multiformats/go-base36 v0.1.0 h1:JR6TyF7JjGd3m6FbLU2cOxhC0Li8z8dLNGQ89tUg4F4=
github.com/multiformats/go-base36 v0.1.0/go.mod h1:kFGE83c6s80PklsHO9sRn2NCoffoRdUUOENyW/Vv6sM=
github.com/multiformats/go-multibase v0.0.1 h1:PN9/v21eLywrFWdFNsFKaU04kLJzuYzmrJR+ubhT9qA=
github.com/multiformats/go-multibase v0.0.1/go.mod h1:bja2MqRZ3ggyXtZSEDKpl0uO/gviWFaSteVbWT51qgs=
github.com/multiformats/go-multibase v0.0.3 h1:l/B6bJDQjvQ5G52jw4QGSYeOTZoAwIO77RblWplfIqk=
github.com/multiformats/go-multibase v0.0.3/go.mod h1:5+1R4eQrT3PkYZ24C3W2Ue2tPwIdYQD509ZjSb5y9Oc=
github.com/multiformats/go-multihash v0.0.1/go.mod h1:w/5tugSrLEbWqlcgJabL3oHFKTwfvkofsjW2Qa1ct4U=
github.com/multiformats/go-multihash v0.0.13 h1:06x+mk/zj1FoMsgNejLpy6QTvJqlSt/BhLEy87zidlc=
github.com/multiformats/go-multihash v0.0.13/go.mod h1:VdAWLKTwram9oKAatUcLxBNUjdtcVwxObEQBtRfuyjc=
github.com/multiformats/go-multihash v0.0.14 h1:QoBceQYQQtNUuf6s7wHxnE2c8bhbMqhfGzNI032se/I=
github.com/multiformats/go-multihash v0.0.14/go.mod h1:VdAWLKTwram9oKAatUcLxBNUjdtcVwxObEQBtRfuyjc=
github.com/multiformats/go-varint v0.0.5 h1:XVZwSo04Cs3j/jS0uAEPpT3JY6DzMcVLLoWOSnCxOjg=
github.com/multiformats/go-varint v0.0.5/go.mod h1:3Ls8CIEsrijN6+B7PbrXRPxHRPuXSrVKRY101jdMZYE=
github.com/multiformats/go-varint v0.0.6 h1:gk85QWKxh3TazbLxED/NlDVv8+q+ReFJk7Y2W/KhfNY=
github.com/multiformats/go-varint v0.0.6/go.mod h1:3Ls8CIEsrijN6+B7PbrXRPxHRPuXSrVKRY101jdMZYE=
github.com/spaolacci/murmur3 v1.1.0 h1:7c1g84S4BPRrfL5Xrdp6fOJ206sU9y293DDHaoy0bLI=
github.com/spaolacci/murmur3 v1.1.0/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA=
gitlab.dms3.io/dms3/public/go-block-format v0.0.0 h1:GGaKIgQy3jECheoAl92jbQ3L2AWm1wqDbOqJ1FB4Cbk=
gitlab.dms3.io/dms3/public/go-block-format v0.0.0/go.mod h1:4RfTocR2FVPDhS0VH3IRnO90OKVxRlqPGmdP/busuUw=
gitlab.dms3.io/dms3/public/go-block-format v0.0.1 h1:PQ6+E7zY6kUIHET86uJTQHTTj4Z9ZNfP7w281ZdExgk=
gitlab.dms3.io/dms3/public/go-block-format v0.0.1/go.mod h1:xlvtW/OF72rOzLa2RVWXX2Uw18qTAWTQEs/Xp7SCnuY=
gitlab.dms3.io/dms3/public/go-cid v0.0.0 h1:DKvGTYv5GqSEeVLfQAHBbsFZuWCZFNK5BHdBFykF45E=
gitlab.dms3.io/dms3/public/go-cid v0.0.0/go.mod h1:3WDixn/g/St71Wop8EY5QsPF3IHBOxb4VIgwWeOl5BQ=
gitlab.dms3.io/dms3/public/go-cid v0.0.1 h1:qs4dtkDigcLGY/58dIZaFjKLt+orrTcmTBvtqaM3570=
gitlab.dms3.io/dms3/public/go-cid v0.0.1/go.mod h1:GQw3gc4CSrFY+aX6M+OBQDlg0p5/eQJoRrayaZzkAOQ=
gitlab.dms3.io/dms3/public/go-dms3-util v0.0.1 h1:Gd+kJl1Rc+ZEUb9CIS1ZctQnF9G1oruNFyxUC//QBUQ=
gitlab.dms3.io/dms3/public/go-dms3-util v0.0.1/go.mod h1:ymlwtzTNMq8Ug+gVtPAMxXKCKTXwXJAzXS+SUihfKgo=
golang.org/x/crypto v0.0.0-20190211182817-74369b46fc67/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20190611184440-5c40567a22f8 h1:1wopBVtVdWnn03fZelqdXTqk7U7zPQCb+T4rbU9ZEoU=
golang.org/x/crypto v0.0.0-20190611184440-5c40567a22f8/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190219092855-153ac476189d/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d h1:+R4KGOnez64A81RvjARKc4UT5/tI9ujCIVX+P5KiHuI=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
// Package exchange defines the IPFS exchange interface
package exchange
import (
"context"
"io"
blocks "gitlab.dms3.io/dms3/public/go-block-format"
cid "gitlab.dms3.io/dms3/public/go-cid"
)
// Interface defines the functionality of the IPFS block exchange protocol.
type Interface interface { // type Exchanger interface
Fetcher
// TODO Should callers be concerned with whether the block was made
// available on the network?
HasBlock(blocks.Block) error
IsOnline() bool
io.Closer
}
// Fetcher is an object that can be used to retrieve blocks
type Fetcher interface {
// GetBlock returns the block associated with a given key.
GetBlock(context.Context, cid.Cid) (blocks.Block, error)
GetBlocks(context.Context, []cid.Cid) (<-chan blocks.Block, error)
}
// SessionExchange is an exchange.Interface which supports
// sessions.
type SessionExchange interface {
Interface
NewSession(context.Context) Fetcher
}