vyzo
322bb9802f
don't leak host in case of error adding relay
...
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2017-08-16 09:28:05 +03:00
vyzo
31e3b8f805
simplify code for ipfs protocol scheme in multiaddr display
...
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2017-08-16 09:28:05 +03:00
vyzo
a130659800
don't hardcode ipfs protocol name in multiaddr display
...
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2017-08-16 09:28:05 +03:00
vyzo
1141705e9a
gx: update go-libp2p-circuit
...
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2017-08-16 09:28:05 +03:00
vyzo
d7922e7f64
more descriptive help message for ipfs swarm addrs local
...
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2017-08-16 09:28:05 +03:00
vyzo
6f54181f66
ipfs swarm addrs listen command, fix t0060-daemon
...
Necessary for meaningful semantics in the presence of address filtering.
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2017-08-16 09:28:05 +03:00
vyzo
4f39962643
fix competing address factories in host options
...
integrate #3948
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2017-08-16 09:28:05 +03:00
vyzo
16247cb65d
docs/config: document relay options
...
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2017-08-16 09:28:05 +03:00
vyzo
9d15e63e00
core: address factory composition for constructPeerHost
...
- Adds AddrsFactory to ConstructPeerHostOpts
- Composes the AddrsFactory option with the relay filter
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2017-08-16 09:26:49 +03:00
vyzo
3e7dce295c
ipfsaddr: add TODO comment to clean up p2p-circuit special case
...
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2017-08-16 09:26:49 +03:00
vyzo
6c63cec719
swarm: more robust logic in remote address printing
...
Handles p2p-circuit addresses and any other address that uses a similar
routing scheme.
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2017-08-16 09:26:49 +03:00
vyzo
98da0853f4
test/sharness: extended circuit relay test
...
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2017-08-16 09:26:49 +03:00
vyzo
1f40c5210d
test/sharness: circuit relay test
...
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2017-08-16 09:26:49 +03:00
vyzo
4900935bd8
account for p2p-circuit address intricacies
...
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2017-08-16 09:26:49 +03:00
vyzo
ba5940e617
integrate circuit-relay transport
...
- enabled by default, so that we can dial/receive dials
- /p2p-circuit/QmId address is not announced; filtered at host with AddrsFactory
- use case is manual swarm connect with relay address
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2017-08-16 09:26:49 +03:00
Jeromy Johnson
dea24aedc3
Merge pull request #4113 from ipfs/feat/reprovider-starts
...
Reprovider strategies
2017-08-15 17:13:23 -07:00
Jeromy Johnson
9ea02e9fdd
Merge pull request #4123 from sherodtaylor/feature/tour/remove-tour
...
remove tour command from ipfs
2017-08-15 17:06:36 -07:00
Łukasz Magiera
4a5b93a1df
reprovider: apply review suggestions
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-08-16 00:39:12 +02:00
Jeromy Johnson
69bc94e7f9
Merge pull request #4140 from ipfs/gx/update-go-multiplex
...
update go-multiplex
2017-08-14 13:57:47 -07:00
Steven Allen
e7eca98c4a
update go-multiplex
...
Fixes a panic when creating new streams after closing a connection.
Depends on: https://github.com/whyrusleeping/go-smux-multiplex/pull/3
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-08-12 16:33:48 -07:00
Jeromy Johnson
22c5a83e0b
Merge pull request #4135 from ipfs/feat/gc/events
...
gc: add events for profiling GC
2017-08-12 16:05:40 -07:00
Łukasz Magiera
048debeffd
reprovider: strategy docs
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-08-13 00:02:23 +02:00
Łukasz Magiera
a865fde21d
reprovider: make reprovide cmd error if reprovider is active
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-08-13 00:02:23 +02:00
Łukasz Magiera
0f692baffa
reprovider: reduce pinned strategy i/o overhead
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-08-13 00:02:23 +02:00
Łukasz Magiera
7e5e0cba03
reprovider: Fix sharness tests
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-08-13 00:02:23 +02:00
Łukasz Magiera
3917d4dd18
reprovider: Make codeclimate happier
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-08-13 00:02:23 +02:00
Łukasz Magiera
279a560660
reprovider: strategy tests
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-08-13 00:02:23 +02:00
Łukasz Magiera
17ae331be2
reprovider: Implement 'bitswap reprovide' command
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-08-13 00:02:23 +02:00
Łukasz Magiera
bb7aee5729
reprovider: Fix build
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-08-13 00:02:23 +02:00
Łukasz Magiera
f20683eb53
Reprovider strategies
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-08-13 00:02:23 +02:00
Jeromy Johnson
1d2fbbd850
Merge pull request #4129 from ipfs/gx/iptb-1.2.2
...
Update iptb to 1.2.2
2017-08-12 15:00:27 -07:00
Jeromy Johnson
50bb128bce
Merge pull request #4095 from ipfs/feat/object-pin
...
object put --pin option
2017-08-12 14:32:18 -07:00
Jeromy Johnson
4e6954c9eb
Merge pull request #4136 from ipfs/feat/misc/zcash-is-being-used
...
misc: add feat/zcash to go-ipfs-archived exemption
2017-08-12 14:21:37 -07:00
Jeromy Johnson
a1e923e252
Merge pull request #4134 from clownpriest/trivial
...
trivial comment update
2017-08-12 12:33:54 -07:00
Jakub Sztandera
345519e026
misc: fix few shellcheck issues in archive-branches.sh
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-08-10 19:21:55 +02:00
Jakub Sztandera
079dfa4190
misc: add feat/zcash to go-ipfs-archived exemption
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-08-10 19:18:25 +02:00
Jakub Sztandera
5e3fd5e708
gc: add events for profiling GC
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2017-08-09 23:18:50 +02:00
Arthur Elliott
1c73f2bc75
fix import order
...
License: MIT
Signed-off-by: Arthur Elliott <clownpriest@gmail.com>
2017-08-09 15:59:29 -04:00
Arthur Elliott
8c0f4bd5df
trivial comment update
...
License: MIT
Signed-off-by: Arthur Elliott <clownpriest@gmail.com>
2017-08-09 15:42:31 -04:00
Sherod Taylor
bc75d3b88a
Removed tour command and fix test
...
License: MIT
Signed-off-by: Sherod Taylor <sherodtaylor@gmail.com>
2017-08-09 10:14:57 -04:00
Łukasz Magiera
60caafff7d
Update iptb to 1.2.2
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-08-07 19:07:39 +02:00
Jeromy Johnson
3b60666d25
Merge pull request #4073 from icidasset/master
...
Expose Content-Range header
2017-08-05 12:24:55 -07:00
Jeromy Johnson
542d63461e
Merge pull request #4050 from jon-choi/master
...
README.md: Notes on where to start reading code
2017-08-01 00:07:00 -07:00
Jeromy Johnson
fbdb896105
Merge pull request #4114 from ipfs/fix/add-pipe-error-test
...
sharness: fix the 'useful error message when adding a named pipe' test
2017-08-01 00:05:13 -07:00
Steven Allen
39197ff8d3
sharness: fix the 'useful error message when adding a named pipe' test
...
We were removing the file before testing, ignoring the error from stat, and then
grepping for `Error: Unrecognized file type for named-pipe: ` (because nothing
was sent to stdout).
This fix:
1. Changes our stat command to output failed to stdout on failure to ensure that
bugs like this *can't* happen.
2. Checks to make sure stat actually succeeds.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-07-31 18:31:40 -07:00
Jeromy Johnson
1ea1e38d53
Merge pull request #4111 from ipfs/fix/4102
...
gx: update go-libp2p-swarm
2017-07-31 17:52:03 -07:00
Steven Allen
38a9be5a0a
gx: update go-libp2p-swarm
...
fixes #4102 (fixed in go-libp2p-swarm)
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-07-31 14:04:40 -07:00
Łukasz Magiera
778d6c635d
object put: wrap CID in Object
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-07-31 22:06:00 +02:00
Jeromy Johnson
f686b4c88a
Merge pull request #3948 from ipfs/feat/addresses-announce
...
core: make announced swarm addresses configurable
2017-07-31 11:32:59 -07:00
Łukasz Magiera
c9446a7720
object: make objectPut return CID
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-07-31 19:38:05 +02:00