058bfc3b54
Testutil to gen random CidV0
...
License: MIT
Signed-off-by: Zander Mackie <zmackie@gmail.com>
2016-12-17 11:05:36 -05:00
20665fc5e3
Fixes nc on macOS not closing socket when the stdin sends EOF
...
Uses `-d` option that is supported both by BSD and GNU nc.
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-12-16 21:10:53 +01:00
695c22a7d1
Tests for OfflineRouting storage and Retrieval
...
License: MIT
Signed-off-by: Zander Mackie <zmackie@gmail.com>
2016-12-16 07:14:55 -05:00
e2ba43c12d
Merge pull request #3494 from ipfs/fix/gc-timeout
...
Remove GC timeout, fix GC tests
2016-12-15 20:15:49 -08:00
56bc19bae8
Merge pull request #3507 from ipfs/fix/pbnode-json
...
merkledag: fix json marshalling of pbnode
2016-12-15 16:41:43 -08:00
f6948bbec4
Merge pull request #3509 from ipfs/fix/namesys/dht-cache-panic
...
namesys: fix case where there is no cache
2016-12-15 16:41:15 -08:00
c1d5a60b66
namesys: add test for publish with cache size 0
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-12-15 22:05:23 +01:00
0864c8e20e
namesys: fix case where there is no cache
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-12-15 02:17:55 +01:00
7c8a8a81cf
Add json unmarshal code and fix panic
...
A panic would occur when a link was created with a nil cid, this should
be allowable, just catch the potential problem and skip marshaling the
cid.
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-12-14 16:11:07 -08:00
4373bf9d75
merkledag: fix json marshalling of pbnode
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-12-14 13:11:49 -08:00
9e8d108a8c
Merge pull request #3499 from ipfs/dag-get-ro
...
dag get should be a read only command
2016-12-14 13:07:42 -08:00
a47d1b03b1
Merge pull request #3501 from ipfs/feat/namesys/publish-cache
...
namesys: add entry to DHT cache after publish
2016-12-14 13:00:40 -08:00
6a9009b8aa
namesys: fix TYPO, make constant constant
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-12-14 21:53:10 +01:00
edeffa558c
Merge pull request #3502 from ipfs/deps/go-ds-measure
...
Update go-ds-measure to 1.1.0
2016-12-14 11:58:53 -08:00
2d37e60334
namesys: extract DefaultRecortTTL to a variable
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-12-14 20:50:04 +01:00
4016f40311
repo: remove nodeid from the metrics
...
It was there because old collector was using debug env to report metrics
and there keys have to very unique.
As we are reporting it now to prometheus it is better to have it under
the same key as we had before.
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-12-14 20:45:50 +01:00
bb85dd9815
dag get should be a read only command
...
added CmdDagGet to the read only command set.
tried to add a test, but dag get needs tests in general
License: MIT
Signed-off-by: Juan Batiz-Benet
2016-12-14 10:45:54 -08:00
ab48dee695
Update go-ds-measure to 1.1.0
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-12-13 22:26:40 +01:00
b558012d27
namesys: fix length of self resolve cache
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-12-13 20:58:10 +01:00
9fe9d9eb53
namesys: add entry to DHT cache after publish
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-12-13 20:38:05 +01:00
2836c64642
gc: remove unneccessary full repo scan
...
GetStorageUsage() is super expensive as it involves a full repo scan,
and it's already bad enough that we have do it once.
The call that's being removed here is purely for cosmetical purposes:
printing the number of bytes freed by the GC run. Let's drop it.
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-12-13 14:50:01 +01:00
a6ae8e72bf
gc: remove wonky timeout
...
This timeout was:
- unneccessary
- based on a metric that doesn't make sense
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-12-13 14:50:01 +01:00
4cb236caa4
Merge pull request #3497 from ipfs/docs/changelog-0.4.4
...
changelog: add 0.4.4
2016-12-12 09:26:06 -08:00
d432f18565
changelog: add 0.4.4
...
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-12-12 15:33:48 +01:00
93c90020b2
Merge pull request #3495 from ipfs/fix/fetch-graph-concurrency
...
merkledag: add a concurrency limit to merkledag fetch graph
2016-12-10 11:21:25 -08:00
0c14b4162e
merkledag: add a concurrency limit to merkledag fetch graph
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-12-09 17:35:22 -08:00
938f95d72e
Merge pull request #3492 from Zanadar/test/unixfs/format
...
Test: unixfs @ 87% coverage
2016-12-09 15:38:21 -08:00
e893fb90b7
Merge pull request #3484 from ipfs/fix/pubsub-peers-cmd
...
cmd/pubsub: fix peers command topic filtering
2016-12-09 12:08:45 -08:00
477787c7e3
Merge pull request #3491 from ipfs/fix/swarm-peers-0-lat
...
swarm/peers: print 'n/a' instead of zero latency
2016-12-09 12:06:32 -08:00
6622fd0a28
Add Some Comments to unixfs/format
...
License: MIT
Signed-off-by: Zander Mackie <zmackie@gmail.com>
2016-12-09 08:30:51 -05:00
7b16a8daa8
Add test for unixfs/format to reach 87% coverage.
...
License: MIT
Signed-off-by: Zander Mackie <zmackie@gmail.com>
2016-12-09 08:30:46 -05:00
4f78f40537
swarm/peers: print 'n/a' instead of zero latency
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-12-08 21:56:47 -08:00
f104b8ae57
cmd/pubsub: fix peers command topic filtering
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-12-08 21:26:09 -08:00
2aded6785d
Merge pull request #3483 from ipfs/feat/block-put-hash
...
cmd/block: add selection of multihash parameters to block put command
2016-12-08 13:33:33 -08:00
e9215a6617
Merge pull request #3482 from ipfs/fix/daemon-routing-opt-chk
...
cmd/ipfs: error out on invalid routing option
2016-12-08 13:33:16 -08:00
58a2c5f815
cmd/ipfs: error out on invalid routing option
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-12-07 16:51:40 -08:00
cf6e3219b6
cmd/block: add selection of multihash parameters to block put command
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-12-07 16:36:00 -08:00
b6c1155ac8
Merge pull request #3475 from ipfs/deps/go-multiplex-0.2.6
...
update experimental go-multiplex to 0.2.6
2016-12-07 12:52:39 -08:00
19353df374
Merge pull request #3477 from ipfs/test/multiple-different
...
Add multiple small tests
2016-12-07 11:35:34 -08:00
f43811a750
Merge pull request #3476 from ipfs/docs/bitswap-proto
...
update message.proto
2016-12-07 10:38:36 -08:00
38703a8a7f
update message.proto
...
Add some comments so that I don't forget about these
License: MIT
Signed-off-by: David Dias <daviddias.p@gmail.com>
2016-12-07 09:08:24 -08:00
a3c38917e2
test: add memkeystore test
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-12-07 09:02:23 +01:00
84a9208bce
test: add test for nonexistant key
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-12-07 08:59:54 +01:00
cc61e5bb1a
test: Bloom filter, basic filter test
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-12-07 08:23:59 +01:00
24d35f3c66
Merge pull request #3474 from ipfs/feat/codecov/skip-ci
...
Do not require CI to pass for coverage
2016-12-06 17:11:54 -08:00
70e02cf766
Do not require CI to pass for coverage
...
If travis fail (or is cancelled) or random build failure happens, or
js-ipfs-api test is down for a long time we still want the coverage.
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-12-07 01:24:18 +01:00
2e1467cfe0
update experimental go-multiplex to 0.2.6
...
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
2016-12-06 15:39:22 -08:00
60371a5b4c
Merge pull request #3472 from ipfs/feat/keystore
...
basic keystore implementation
2016-12-06 15:10:00 -08:00
90d6ab0ed1
Merge pull request #3473 from ipfs/feat/cover/maybe-better
...
Switch coverage to codecov from coveralls
2016-12-06 15:09:16 -08:00
ff63184e1a
Ignore travis and teamcity in codecov
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2016-12-06 23:50:10 +01:00