3003f93854
Fix "files stat" to work on raw nodes.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-10-19 16:08:10 -04:00
0182e5977c
Documentation.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-10-19 14:14:49 -04:00
798afedf8d
Make --hash and related option local to sub-commands that use them.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-10-19 14:14:49 -04:00
00a3b1df21
Address C.R. in t0250-files-api.sh.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-10-19 14:14:49 -04:00
b5b61f7527
Rename "files update" to "files chcid".
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-10-19 14:14:49 -04:00
d29930c031
Eliminate Prefix field from MFS root, use MkdirOpts.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-10-19 14:14:49 -04:00
fd7b72fa16
Fix help text for "update" command.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-10-19 14:14:49 -04:00
47c198ceb8
Enhance sharness tests.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-10-19 14:14:49 -04:00
63ddffdb5d
Add "files update" command.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-10-19 14:14:49 -04:00
18a6344bdd
Add --cid-version and --hash-fun option to files API
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-10-19 14:14:49 -04:00
f2fbfdf291
mfs: inherit CID prefix from from parent directory
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-10-19 14:14:49 -04:00
77e9b8ddf9
Test for alternative hash function in Dag Modifier.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-10-19 14:14:42 -04:00
2e15dcb647
Enable CidV1 (and other prefixes) in the Dag Modifier.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-10-19 13:30:53 -04:00
a3bd2c23b3
Add "--raw-leaves" option to "ipfs files"
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-10-19 13:00:24 -04:00
7302c3ab66
Provide support for raw leaves in DAG modifier.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-10-19 12:59:40 -04:00
189cf0cb03
Test raw leaves in trickle dag tests.
...
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2017-10-19 12:59:40 -04:00
5c9125e8b5
Merge pull request #4315 from ipfs/feat/sessions-tagging
...
tag peers associated with a bitswap session
2017-10-18 16:01:03 +01:00
329eb1cd1d
Merge pull request #4316 from ipfs/fix/bitswap-active-peers
...
filter out "" from active peers in bitswap sessions
2017-10-18 12:17:52 +01:00
08733c2b30
Merge pull request #4317 from ipfs/feat/remove-bsnet-todo
...
NewStream now creates a connection if necessary
2017-10-18 12:16:58 +01:00
d727a75e6d
NewStream now creates a connection if necessary
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-10-17 15:58:27 -07:00
37296d3958
filter out "" from active peers in bitswap sessions
...
We use "" to indicate that the block came from the local node. There's no reason
to record "" as an active peer (doesn't really *hurt* but still...).
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-10-17 15:37:46 -07:00
3eafbea262
tag peers associated with a bitswap session
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-10-17 12:03:48 -07:00
d840f67e0a
Check for Peers before dht provide
( #4290 )
...
* Check for Peers before `dht provide`
Check if there are any peers before running logic for `dht provide`
License: MIT
Signed-off-by: Koushik Roy <meff@meff.me>
2017-10-17 13:29:35 +01:00
c9705c6b31
Merge pull request #4310 from ipfs/fix/p2p-sharness
...
sharness: make t0180-p2p less racy
2017-10-17 13:07:22 +01:00
bae3d73e07
Merge pull request #4270 from ipfs/misc/pnet-docs/boot
...
docs(pnet): add more info about bootstrap
2017-10-17 00:20:16 +01:00
0f935ef136
sharness: make t0180-p2p less racy
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-10-16 23:19:03 +02:00
6beab668fd
Merge pull request #4288 from ipfs/feat/connmgr
...
Implement Connection Manager
2017-10-16 18:37:11 +01:00
b4463d2c79
Merge pull request #4307 from ipfs/fix/remove-rest-of-supernode
...
remove the rest of the supernode code
2017-10-16 18:05:53 +01:00
62d521783f
Integrate connection manager
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-10-16 09:46:46 -07:00
603ecf62e3
add sharness test for deprecated supernode option
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-10-16 09:27:24 -07:00
a0bedf6a5b
remove the rest of the supernode code
...
missed in the initial cleanup
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-10-14 16:43:30 -07:00
94ec788555
update deps for new connmgr code
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-10-14 05:38:52 -07:00
786d81eda5
Merge pull request #4302 from ipfs/fix/3950
...
remove supernode routing
2017-10-14 13:36:02 +01:00
9c06a0ee10
Merge pull request #4296 from ipfs/feat/parallel-batch
...
parallelize batch flushing
2017-10-14 13:34:09 +01:00
93f3117d7d
remove supernode routing
...
It was never fully implemented and isn't used.
fixes #3950
(not removing routing/mock because that *is* in use).
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-10-12 19:39:29 -07:00
9de031b432
preallocate Batch's blocks buffer on commit.
...
It's probably safe to assume that this buffer will be about the same time each
flush.
This could cause 1 extra allocation (if this is the last commit) but that's
unlikely to be an issue.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-10-11 11:43:30 -07:00
e41848c537
create an issue for tuning the parallelism constant
...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-10-11 11:40:54 -07:00
e7acb96c65
Merge pull request #4285 from ipfs/feat/raw-dag
...
add raw support to the dag put command.
2017-10-11 12:41:33 +03:00
613508a0d3
add raw support to the dag put command.
...
`dag get` still doesn't properly support raw output but that's a bigger issue.
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-10-10 19:58:23 -07:00
09136e931b
parallelize batch flushing
...
1. Modern storage devices (i.e., SSDs) tend to be highly parallel.
2. Allows us to read and write at the same time (avoids pausing while flushing).
fixes https://github.com/ipfs/go-ipfs/issues/898#issuecomment-331849064
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2017-10-10 19:38:27 -07:00
1e73c3fb09
Merge pull request #4212 from ipfs/fix/sharness-indent
...
Fix indent in sharness tests
2017-10-09 16:56:26 +03:00
4f478e2c57
Merge pull request #4255 from ipfs/docs/plugin
...
docs: Add some docs on plugins
2017-10-09 16:55:31 +03:00
6eec603414
Merge pull request #4291 from ipfs/gx/badgerds0.4.1
...
datastore: update badgerds to 0.4.1
2017-10-09 16:06:14 +03:00
f617a32731
datastore: update badgerds to 0.4.1
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-10-07 11:29:18 +02:00
959ee92edd
Merge pull request #4281 from ipfs/gx/update-go-testutil
...
update go-testutil to 1.1.12
2017-10-06 11:16:16 +03:00
4f1edf2570
update go-testutil to 1.1.12
...
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2017-10-05 17:11:39 +03:00
de01927be1
Merge pull request #4278 from ipfs/gx/update-oix7qs
...
gx: update cbor to 0.2.3
2017-10-05 17:03:12 +03:00
d679d3fcf5
gx: update cbor to 0.2.3
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-10-05 13:54:07 +02:00
be6935924f
Update plugins.md
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2017-10-05 02:18:11 -07:00
a11bb713d6
docs: Add some docs on plugins
...
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2017-10-05 02:18:11 -07:00