1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-30 01:52:26 +08:00

2717 Commits

Author SHA1 Message Date
37c32be10a bin graphmd for wonderful graphs 2015-01-07 13:44:30 -08:00
180b9b32d3 refs: added --format option 2015-01-07 13:42:06 -08:00
f46120b194 refs edges + stream fix 2015-01-07 12:56:14 -08:00
bac042536b Fix test_docker Makefile target and rename it test_3node
The dockertest/ directory has been moved into test/ and
it has been renamed 3nodetest/ in commit 28cf220d
(dockertest -> test/3nodetest).

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-01-07 21:54:47 +01:00
cb108f4897 Merge pull request #512 from jbenet/merkledag-traversal
merkledag traversal
2015-01-07 11:15:44 -08:00
bcce9ef088 merkledag traversal 2015-01-07 11:04:35 -08:00
0b199dd4b6 Merge pull request #511 from jbenet/test-reorg
test reorg
2015-01-07 08:09:07 -08:00
fa3374151d jenkins: move network-test script to repo 2015-01-07 07:57:22 -08:00
2faafa8478 test/Makefile 2015-01-07 07:57:22 -08:00
28cf220de1 dockertest -> test/3nodetest 2015-01-07 07:57:22 -08:00
b479602b61 moved epictest -> test/epictest 2015-01-07 07:24:21 -08:00
cecfa45745 moved sharness tests to a subdir.
kept bin in place
2015-01-07 07:10:17 -08:00
8307572777 ipfs block stat bugfix: cast 2015-01-07 06:26:34 -08:00
ce7ad2e26d Merge pull request #509 from jbenet/ipfs-object-stat
ipfs object learned stat
2015-01-07 02:40:30 -08:00
6b2795338f ipfs object has learned stat
'ipfs object stat' is a plumbing command to print DAG
node statistics. <key> is a base58 encoded multihash.
It outputs to stdout:

  NumLinks        int number of links in link table
  BlockSize       int size of the raw, encoded data
  LinksSize       int size of the links segment
  DataSize        int size of the data segment
  CumulativeSize  int cumulative size of object and references
2015-01-07 02:31:29 -08:00
f63d45ca56 merkledag: split off node.go 2015-01-07 02:15:53 -08:00
13e79a05e5 merkledag: add NodeStat object 2015-01-07 02:13:44 -08:00
f862933c9d Merge pull request #507 from jbenet/ipfs-block-stat
ipfs block stat cmd
2015-01-07 01:02:38 -08:00
30359cd238 Merge pull request #504 from jbenet/ignore-profiles
Ignore debug profile files in .gitignore
2015-01-07 01:02:00 -08:00
07b923d7a4 ipfs block stat cmd 2015-01-07 00:55:27 -08:00
74f9bf41c2 Ignore profile files in .gitignore 2015-01-06 17:37:55 -08:00
9bd2f42b2c Merge pull request #499 from jbenet/command-channels
Command channel output
2015-01-06 16:19:02 -08:00
2816ed038c commands: Fixed panic when marshalers gave nil output 2015-01-06 15:55:18 -08:00
97a3688429 commands; Fixed tests for Reader output 2015-01-06 15:55:17 -08:00
0419ce1d20 commands: Removed unused cleanup function 2015-01-06 15:55:17 -08:00
c2f46b618a commands: Fixed panic on nil output value 2015-01-06 15:55:17 -08:00
6236ef7fdb core/commands: Made add command output a channel
core/commands: Don't use pointers for Type field
2015-01-06 15:55:16 -08:00
69999bd0a7 commands: Allow commands to output pointers to specified type 2015-01-06 15:53:49 -08:00
77e5742ac7 commands/http: client: Decode values into a new instance of the output type 2015-01-06 15:53:49 -08:00
ecc2248aa0 commands/http: client: Fixed decoding values in channel output 2015-01-06 15:53:49 -08:00
981f793df9 commands: Use a flag to enable streaming channel output 2015-01-06 15:53:48 -08:00
abd390b892 core/commands: Made add command show streamed output 2015-01-06 15:53:48 -08:00
71838adf49 commands/http: handler: Fixed chunk copier to be able to write response before request is done 2015-01-06 15:53:48 -08:00
5d3bc652cb commands/http: client: Close output channel on decoder EOF 2015-01-06 15:53:48 -08:00
0452a5f75e commands: Made default JSON marshaler support channel output 2015-01-06 15:53:48 -08:00
cf1e770e1e commands/http: Client: decode chunked streaming output 2015-01-06 15:53:48 -08:00
c3c0b248e8 commands/http: Made Handler stream channel output 2015-01-06 15:53:48 -08:00
fd40702f73 commands: Changed Marshaler to return a io.Reader instead of a []byte
core/commands: Refactored command marshalers
2015-01-06 15:53:42 -08:00
0395a7af1e ipfs add output not sorted, cmds files sorted
I made the commands lib dir listing sort the contents
so we get the same sequence of files from it repeatably.
2015-01-06 14:02:49 -08:00
87c561b2cf Makefile: test makes sure it can build 2015-01-06 13:44:11 -08:00
caa7ac0e9a Merge pull request #495 from jbenet/sharness-add-recursive
sharness test: ipfs add -r
2015-01-06 13:18:13 -08:00
3b65f1a507 Add sharness tests for recursive add
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-01-06 13:12:23 -08:00
d490a85706 Make sure ipfs add output is sorted by name
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-01-06 13:12:22 -08:00
cd65ec614b merkledag: keep links sorted by name
May not be necessary to sort when adding each link--
doing so would be unnecessarily expensive O(n^2) when
constructing nodes -- though n wont be big.
2015-01-06 13:12:22 -08:00
e1cde6bc8c Merge pull request #462 from jbenet/feat/indirect
Implement recursive indirect block creation for DAGs
2015-01-06 12:08:28 -08:00
e3cf893616 implement recursive indirect blocks
improve efficiency of multilayered indirect blocks

clean up tests

panic cleanup

clean up logic, improve readability

add final root node to the dagservice upon creation

importer: simplified dag generation

test: updated hashes using latest code

@whyrusleeping this is why the sharness tests
were failing: the hashes are added manually to
make sure our generation doesn't change.

cleanup after CR

fix merkledag tests

fix small block generation (no subblocks!)
2015-01-06 19:43:56 +00:00
64bf493b54 swarm peers print pid.Pretty 2015-01-06 10:13:49 -08:00
fbba7c8f39 bootstrap: only dht bootstrap with live conns 2015-01-06 10:10:20 -08:00
b9fe37801f Merge pull request #498 from jbenet/blockservice-async-has
blockservice async exchange.HasBlock
2015-01-06 09:01:51 -08:00
238035c298 blockservice: async HasBlock with ratelimit 2015-01-06 08:54:04 -08:00