Henrique Dias
58c29399cf
chore: clean migration
2023-11-29 12:29:59 +01:00
Henrique Dias
4c04311257
docs: clean mentions of go-ipfs-api, go-ipfs-http-api
2023-10-13 13:57:05 +02:00
Jorropo
e7294cbdff
feat: warn users who are falling behind reprovides
...
Fixes : #9704
Fixes : #9702
Fixes : #9703
Fixes : #9419
2023-06-08 10:05:30 +02:00
Hector Sanjuan
027c5b1a09
feat: allow injecting custom path resolvers ( #9750 )
...
In order to make it possible to easily-overwrite the path Resolvers (i.e. via
plugins), this creates resolvers as part of the Node rather than creating them
ad-hoc.
2023-04-04 18:11:32 +00:00
Jorropo
3ab1086f71
chore: migrate go-libipfs to boxo
...
Resolves #9677 , #9676 , #9675 , #9736
2023-03-28 22:05:25 -04:00
Henrique Dias
a3c70a11e6
feat(gateway): IPNS record response format (IPIP-351) ( #9399 )
...
* feat(gateway): IPNS record response format
* docs(rpc): mark as experimental: routing provide, get, put
Co-authored-by: Marcin Rataj <lidel@lidel.org >
2023-01-27 04:46:50 +01:00
Gus Eggert
e550d9e476
ci: add stylecheck to golangci-lint ( #9334 )
2022-10-06 10:18:40 -04:00
Jorropo
196887cbe5
chore: bump go-libp2p v0.22.0 & go1.18&go1.19
...
Fixes : #9225
2022-09-09 17:09:38 +02:00
Marcin Rataj
82467bc936
refactor: rename to kubo
2022-07-06 18:40:37 +02:00
Hannah Howard
f63a997c35
IPLD Prime In IPFS: Target Merge Branch ( #7976 )
...
* feat: switch to using go-ipld-prime for codecs, path resolution, and the `dag put/get` commands
* fix: `dag put/get` not roundtripping due to an extra new line being added (https://github.com/ipfs/go-ipfs/issues/3503 )
More detailed information is in the CHANGELOG.md file. Very high level:
* IPLD codecs (and their plugins) must use go-ipld-prime
* Added support for the dag-json codec
* `dag get/put` use IPLD codec names from the multicodec table
* `dag get` defaults to dag-json output instead of json, but may output with other codecs
* Data model pathing can be achieved using the /ipld prefix. For example, you can use `/ipld/QmFoo/Links/0/Hash` to traverse through a DagPB node
* With `dag get/put` the DagPB field names have been changed to match the ones in the protobuf listed in the specification
Co-authored-by: hannahhoward <hannah@hannahhoward.net >
Co-authored-by: Daniel Martí <mvdan@mvdan.cc >
Co-authored-by: acruikshank <acruikshank@example.com >
Co-authored-by: Steven Allen <steven@stebalien.com >
Co-authored-by: Will Scott <will.scott@protocol.ai >
Co-authored-by: Will Scott <will@cypherpunk.email >
Co-authored-by: Rod Vagg <rod@vagg.org >
Co-authored-by: Adin Schmahmann <adin.schmahmann@gmail.com >
Co-authored-by: Eric Myhre <hash@exultant.us >
2021-08-17 13:32:49 -04:00
vyzo
eb7456d38f
update for the new namesys api
2021-05-10 21:04:57 -07:00
vyzo
543c5da34a
explicit construction of DNS resolver
2021-05-10 21:03:27 -07:00
Hector Sanjuan
3db9551f79
Extract the namesys and the keystore submodules
...
Namesys is a very useful submodule. Given a ValueStore and a Datastore it can
resolve and publish /ipns/ paths.
This functionality does not need to be sequestered inside go-ipfs as it can
and should be used without IPFS, for example, for implementing lightweight
IPNS publishing services or for resolving /ipns/ paths.
"keystore" extraction was necessary, as there is a dependency to it in
namesys. Keystore is also a useful module by itself within the stack.
Fixes #6537
2021-03-12 14:09:36 -05:00
Steven Allen
c58e3e4c7d
fix: remove pubsub discovery hack
...
Pubsub handles this internally now.
2020-05-29 16:42:10 -07:00
Michael Muré
c3692a5913
extract the pinner to go-ipfs-pinner and dagutils into go-merkledag
2019-12-02 15:45:44 -05:00
Michael Avila
10de165644
Change to construct provider from go-ipfs-provider
2019-07-03 14:22:55 -07:00
Raúl Kripalani
e8c2852179
migrate to go-libp2p-core.
...
closes #6391
License: MIT
Signed-off-by: Raúl Kripalani <raul@protocol.ai >
2019-05-31 23:23:52 -07:00
Michael Avila
6d6ce8fba7
Introduce first strategic provider: do nothing
...
License: MIT
Signed-off-by: Michael Avila <davidmichaelavila@gmail.com >
2019-05-29 16:20:31 -07:00
Łukasz Magiera
d35dac70f0
Cleanup core package
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com >
2019-04-17 16:56:27 -07:00
Michael Avila
dde397ebc1
Refactor per code climate rules
...
License: MIT
Signed-off-by: Michael Avila <davidmichaelavila@gmail.com >
2019-03-11 09:55:13 -07:00
Michael Avila
bfcea27d39
Use offlineProvider when --offline
...
License: MIT
Signed-off-by: Michael Avila <davidmichaelavila@gmail.com >
2019-03-08 16:44:28 -08:00
Michael Avila
a9b6534687
Provide root node immediately when add and pin add
...
License: MIT
Signed-off-by: Michael Avila <davidmichaelavila@gmail.com >
2019-03-08 14:27:43 -08:00
Jakub Sztandera
42e191c017
gx: unrewrite
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch >
2019-03-05 18:33:56 +01:00
Steven Allen
3dac4609a8
split 'mode' into IsOnline and IsDaemon flags
...
1. They don't _have_ to be mutually exclusive.
2. local, mode, etc is _really_ confusing.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com >
2019-03-04 19:00:47 -08:00
Steven Allen
f227862e88
gx: update go-ipfs-cmds, go-bitswap, go-libp2p-kad-dht, and go-mplex
...
Fixes the latest batch of bugs found in RC testing.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com >
2019-02-27 12:39:24 -08:00
Hector Sanjuan
6972a9aa4d
Gx Bubble. libp2p-6.0.38
...
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link >
2019-02-27 01:10:59 +00:00
Steven Allen
fea7ae727f
gx: update go-cid
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com >
2019-02-20 20:29:06 -08:00
Steven Allen
f924f57c61
gx: update go-bitswap and go-libp2p-kad-dht
...
* go-bitswap: fix some race conditions.
* go-libp2p-kad-dht: fix a goroutine leak.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com >
2019-02-20 17:19:54 -08:00
Steven Allen
91ca5911be
coreapi: return coreiface.ErrNotSupported when "catting" symlinks.
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com >
2019-02-19 03:48:04 -08:00
Jakub Sztandera
28cf3de0f9
Update protobuf
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch >
2019-02-18 20:46:22 +01:00
Steven Allen
cf0d4706e2
gx: update libp2p stuff
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com >
2019-02-14 14:58:35 -08:00
Steven Allen
e97a60b073
gx: update go-ipfs-files
...
fix compatibility issue with js-ipfs
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com >
2019-02-11 10:48:58 -08:00
Łukasz Magiera
648cc40ec3
coreapi: fix import grouping after extracting iface
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com >
2019-02-09 01:57:26 +01:00
Łukasz Magiera
7ed6b518b6
coreapi: update imports to updated interface
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com >
2019-02-09 01:42:32 +01:00
Steven Allen
2c93eeffc6
gx: update go-libp2p-peer
...
Switch _back_ to the 0.4.18 style of peer IDs while we figure things out. See
https://github.com/libp2p/specs/issues/138 .
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com >
2019-02-07 17:41:39 -08:00
Łukasz Magiera
53e55e3314
gx: update go-unixfs to 1.2.14 and go-bitswap to 1.1.21
...
(and everything else...)
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com >
2019-01-23 11:01:38 -08:00
Łukasz Magiera
85eb8812fa
Port dag commansds to CoreAPI
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com >
2019-01-22 21:01:19 +01:00
Łukasz Magiera
eb23c90031
coreapi: replace coreiface.DagAPI with ipld.DAGService
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com >
2019-01-12 16:05:02 +01:00
Steven Allen
08cc5da55f
gx: update deps
...
Importantly:
* fixes a bunch of MFS bugs
* pulls in some bitswap improvements
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com >
2019-01-08 19:19:34 -08:00
Łukasz Magiera
2c28ef19ae
coreapi: FetchBlocks option
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com >
2019-01-04 15:40:15 +01:00
Łukasz Magiera
6cee21d39a
Fix offline gateway directory logic
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com >
2019-01-04 02:39:17 +01:00
Łukasz Magiera
85772fcd54
Fix name resolve --offline
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com >
2019-01-02 11:58:31 -08:00
Łukasz Magiera
3f0945a1bd
coreapi: move DefaultIpnsCacheSize to a const
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com >
2018-12-20 17:02:11 +01:00
Łukasz Magiera
6044d2ae89
coreapi offline: Address review
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com >
2018-12-20 16:41:16 +01:00
Łukasz Magiera
190728f04a
coreapi: update for always loaded privkey
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com >
2018-12-20 16:41:16 +01:00
Łukasz Magiera
47a46393cf
coreapi WithOptions: apply on top of parent options
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com >
2018-12-20 16:40:51 +01:00
Łukasz Magiera
2c2f9f2bed
coreapi: implement --local with Offline option
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com >
2018-12-20 16:40:51 +01:00
Łukasz Magiera
50aea07257
coreapi.WithOptions
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com >
2018-12-20 16:40:09 +01:00
Łukasz Magiera
c832a32a4c
coreapi: global offline option
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com >
2018-12-20 16:40:09 +01:00
Łukasz Magiera
3183b1cb8e
coreapi: Untangle from core.IpfsNode
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com >
2018-12-20 16:40:09 +01:00