Steven Allen
7df7d11199
fix dht commands when pubsub routing is enabled
...
Instead of checking if Routing is a DHT (because it can now be a tiered
router and still contain a DHT), stash the DHT in a separate field in the IPFS
node (same as we do with the PSRouter).
fixes #5197
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-07-09 09:58:44 +02:00
Steven Allen
b6081be32a
only construct a node in online mode when running external commands.
...
This breaks commands like `ipfs update` that expect IPFS to *not* be running.
fixes #5191
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-07-05 14:32:44 -07:00
Steven Allen
3eba14aa24
gx update
...
Updates:
* go-kad-dht: Query performance improvements, DHT client fixes, validates
records on *local* put.
* go-libp2p-swarm/go-libp2p-transport: Timeout improvements.
* go-multiaddr-net: Exposes useful Conn methods (CloseWrite, CloseRead, etc.)
* go-log: fixes possible panic when enabling/disabling events.
* go-multiaddr: fixes possible panic when stringifying malformed multiaddrs,
adds support for consuming /p2p/ multiaddrs.
fixes #5113
unblocks #4895
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-06-26 17:11:33 -07:00
Steven Allen
352ec3561c
add record validation to offline routing
...
fixes #5115
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-06-25 18:14:25 -07:00
Steven Allen
dafe495376
extract ipns record logic to go-ipns
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-06-15 20:10:26 -07:00
Steven Allen
78f82e8e79
allow disconnecting from a peer by ID
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-06-12 14:50:16 -07:00
Steven Allen
39febb1910
make ipfs swarm connect /ipfs/QmId work
...
fixes #5102
Also, allow specifying multiple addresses for a single peer.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-06-12 14:37:29 -07:00
Steven Allen
85acad9a01
gx update go-log, sys, go-crypto
...
* go-log
* sys
* go-crypto
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-06-08 22:36:24 -07:00
Steven Allen
39f927aa04
update gx imports
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-06-05 23:55:08 -07:00
Steven Allen
b84a71de8c
transport refactor update
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-06-05 23:51:06 -07:00
Steven Allen
c9c9986c9e
update multiplexers
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-06-04 10:05:20 -07:00
Steven Allen
1089eda84b
cleanup namesys a bit
...
Remove ~50 lines of code, some casting, and a superfluous map (when go starts
looking like python, something's wrong).
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-05-31 18:29:22 -07:00
Steven Allen
5dc0b7326e
extract IPNS over pubsub as a ValueStore
...
And:
* Update for DHT changes.
* Switch to the new record validation system.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-05-31 18:29:21 -07:00
Steven Allen
1e9e2f453c
update deps
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-05-31 17:59:17 -07:00
Dominic Della Valle
56eb2b00d5
remove nofuse build constraints
...
License: MIT
Signed-off-by: Dominic Della Valle <ddvpublic@gmail.com>
2018-05-29 18:18:12 -04:00
Whyrusleeping
8c7c2ceb43
Merge pull request #5018 from forstmeier/fix/refs-goroutine-leak
...
Fix goroutine leaks in refs.go
2018-05-24 13:13:44 +02:00
Whyrusleeping
06f11bd81a
Merge pull request #5016 from alecbrick/fix/dag-goroutine-leak
...
Fix goroutine leak in dag put
2018-05-24 13:12:37 +02:00
Pierre-Alain TORET
1789888d47
Fix build on DragonFlyBSD
...
License: MIT
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
2018-05-21 17:23:42 +02:00
forstmeier
20b06c297c
Fix goroutine leaks in refs.go
...
Description:
This addresses one of the listed problem files in #4414 . I chose to
keep the return statement outside of the select statement on line
132 since that behavior was already there following the write to
out.
License: MIT
Signed-off-by: John Forstmeier <john.forstmeier@gmail.com>
2018-05-14 15:50:51 -04:00
Whyrusleeping
053f123461
Merge pull request #4962 from grokcoder/fix/core/commands
...
Fix key rename command output error
2018-05-12 12:15:38 +01:00
Alec Brickner
4a59b557e7
Fix goroutine leak in dag put
...
License: MIT
Signed-off-by: Alec Brickner <alecjbrick@gmail.com>
2018-05-12 03:38:38 -07:00
Alec Brickner
f3f186b493
Fix goroutine leak in pin
...
License: MIT
Signed-off-by: Alec Brickner <alecjbrick@gmail.com>
2018-05-10 19:08:10 -07:00
Dominic Della Valle
b675ade0d8
gx: update go-ipfs-cmds
...
License: MIT
Signed-off-by: Dominic Della Valle <ddvpublic@gmail.com>
2018-04-24 15:01:16 -04:00
Xiaoyi Wang
b7ce80c0f5
Fix key rename command output error
...
License: MIT
Signed-off-by: Xiaoyi Wang <wangxiaoyi@hyperchain.cn>
2018-04-22 11:45:37 +08:00
Whyrusleeping
c225c344e4
Merge pull request #4833 from ipfs/misc/remove-dead-code
...
misc: Remove some dead code
2018-04-20 23:39:55 +09:00
Whyrusleeping
076fd91e5f
Merge pull request #4835 from ipfs/fix/typos
...
misc: Fix a few typos
2018-04-20 23:35:58 +09:00
Hector Sanjuan
df59b29fdc
Extract exchange/offline to go-ipfs-exchange offline
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-04-19 12:07:36 +02:00
Whyrusleeping
8c00a74190
Merge pull request #4846 from ipfs/feat/profile-help
...
Fix missing profile docs
2018-04-08 09:42:08 +09:00
Łukasz Magiera
b290286dd7
misc: Fix a few typos
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-03-30 09:47:22 +02:00
Łukasz Magiera
2ee5cfb90f
fix error style
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-03-30 09:43:27 +02:00
Whyrusleeping
fa9489ef72
Merge pull request #4631 from ipfs/refactor/extract-fs-lock
...
refactor: extract fs lock into go-fs-lock
2018-03-29 17:59:04 -07:00
dignifiedquire
816787448f
refactor: extract fs lock into go-fs-lock
...
License: MIT
Signed-off-by: dignifiedquire <dignifiedquire@gmail.com>
2018-03-29 12:22:33 -07:00
Steven Allen
3b0e16e38b
infer type from CID when possible in ls command
...
We don't need to fetch the linked node when it's a raw node, we already know
it's a file.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-03-28 19:53:55 -07:00
Hector Sanjuan
69a6bd2770
Revert go-libp2p-kad-dht and related changes to a working version
...
This uses a working libp2p-kad-dht and libp2p-record libraries,
reverts the changes that were introduced to support the newer versions
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-03-26 22:12:14 +02:00
Hector Sanjuan
3ee1d76d88
Update to latest go-datastore
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-03-26 22:12:14 +02:00
Łukasz Magiera
57d6a7c2db
Fix missing profile docs
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-03-26 19:16:57 +02:00
Whyrusleeping
a98a4f40d3
Merge pull request #4873 from ipfs/fix/4871
...
make the tar writer handle sharded ipfs directories
2018-03-25 12:47:40 -07:00
Whyrusleeping
b1b96fc9db
Merge pull request #4856 from ipfs/fix/stats-bs-header
...
cmds/stat: remove useless header if not polling
2018-03-24 19:50:22 -07:00
Steven Allen
6895fc653f
return a nice error when listing sharded directories
...
Unfortunately, fixing this would require breaking the API.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-03-23 16:03:02 -07:00
Steven Allen
70bf571742
bump tar dep to make it resolvable
...
It wasn't pinned and `gx publish -f` gave a different hash.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-03-23 10:53:55 -07:00
Whyrusleeping
41d82eeeb5
Merge pull request #4733 from dirkmc/feat/namesys-value-count
...
Add options for record count and timeout for resolving DHT paths
2018-03-23 09:59:26 -07:00
Whyrusleeping
1fb90ad62c
Merge pull request #4857 from ipfs/extract/thirdparty-tar
...
Extract: thirdparty/tar
2018-03-23 09:41:31 -07:00
Whyrusleeping
6b180b2f7c
Merge pull request #4832 from ipfs/fix/bootstrap-cmd-prefix
...
Use prefix in bootstrapWritePeers
2018-03-22 23:32:47 -07:00
Whyrusleeping
aaf6ee78cc
Merge pull request #4809 from djdv/fix/get/outpath
...
Fix get output path
2018-03-22 23:29:17 -07:00
Whyrusleeping
59ad0f8c4b
Merge pull request #4755 from schomatis/fix/add/hash-only
...
add: hash-only: set the prefix for MFS root
2018-03-22 23:18:23 -07:00
Whyrusleeping
a9dfe410d2
Merge pull request #4563 from ipfs/fix/block-mhtype
...
commands/block: use CIDv1 with custom mhtype
2018-03-22 23:03:56 -07:00
Dirk McCormick
494f242b76
Parse string time (eg 30s) instead of assuming seconds for —-dht-timeout
...
License: MIT
Signed-off-by: Dirk McCormick <dirkmdev@gmail.com>
2018-03-22 12:52:09 -04:00
Hector Sanjuan
9a2f2976f2
Use latests tar-utils
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-03-22 00:28:44 +01:00
Hector Sanjuan
5bbaa75bea
Extract: thirdparty/tar
...
This module was sort of extracted to whyrusleeping/tar-utils long ago.
I gxed that, imported commits from go-ipfs to the current state, and
extracted it.
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-03-21 18:02:25 +01:00
Jakub Sztandera
21fae5bfad
cmds/stat: remove useless header if not polling
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2018-03-21 15:36:58 +01:00