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

2675 Commits

Author SHA1 Message Date
223ee4df1a refactor(core): move Add, Cat to core/io 2015-01-11 01:23:27 -08:00
ddf14bee78 refactor(core): replace online bool with mode type 2015-01-11 01:23:27 -08:00
130532c532 rm errTODO 2015-01-11 01:23:27 -08:00
b0f7143250 refactor(core): distinguish repo.Repo components 2015-01-11 01:23:27 -08:00
9d438843bd refactor(core): distinguish Online services 2015-01-11 01:23:27 -08:00
ca8190a889 refactor(core): isolate complex DHT initialization 2015-01-11 01:23:27 -08:00
eb6c40d5dd refactor(core): isolate the complex initialization of PeerHost construction 2015-01-11 01:23:27 -08:00
8e42e86d87 hack(core): instantiate peerstore at the end if it hasn't already been instantiated
this is a dirty hack
2015-01-11 01:23:26 -08:00
707874c3a5 refactor(core): init node.Blocks in shared NewIPFSNode constructor 2015-01-11 01:23:26 -08:00
34e8f3ee26 refactor(core): init DAG and its dependents in shared constructor
fix: remove merkledag import

may need to squash this commit into the merkledag move commit
2015-01-11 01:23:26 -08:00
7fa5d81093 refactor(core): rename 2015-01-11 01:23:26 -08:00
91808e18f7 refactor: use core.ConfigOption return type 2015-01-11 01:23:26 -08:00
7cebb33e81 fix: remove dead code 2015-01-11 01:23:26 -08:00
5c46597c53 use the core.NewIPFSNode constructor
NB: all commits (from master) pass tests up to this point.

fix: squashme into use core constructor
2015-01-11 01:23:26 -08:00
401b8f413d misc: move initialization sqaush 2015-01-11 01:23:26 -08:00
efb75ee5ba refactor: move add and cat to the core 2015-01-11 01:23:25 -08:00
85401d53fd refactor: use the Core in the integration test 2015-01-11 01:23:25 -08:00
2c3fb43350 feat: expose IpfsNode.Bootstrap() method 2015-01-11 01:23:25 -08:00
4c2eda2123 refactor: remove deprecated function 2015-01-11 01:23:25 -08:00
57b3ffa533 feat: new core constructor + config options (Standard, Online, Offline) 2015-01-11 01:23:25 -08:00
007ffd40bd refactor: move LatencyConfig 2015-01-11 01:23:25 -08:00
836e5cab6d Merge pull request #539 from jbenet/bitswap/tweak
early out if no entries in wantlist
2015-01-11 00:51:53 -08:00
a09854db97 early out if no entries in wantlist 2015-01-11 08:09:37 +00:00
456719ede7 Merge pull request #523 from jbenet/feat/ping
Implement ipfs ping
2015-01-10 08:11:03 -08:00
6699d92977 Merge pull request #534 from jbenet/swarm-filter-addrs
core: make sure to call swarm.FilterAddrs
2015-01-10 08:10:56 -08:00
1bd69b19ac core: make sure to call swarm.FilterAddrs
also move network setup into its own self-contained func
2015-01-10 08:07:19 -08:00
66f1a5a9bb Merge pull request #521 from jbenet/linkblock_size
linkblock size calc test
2015-01-10 07:56:14 -08:00
136ef70f00 calc_test for picking link block size 2015-01-10 01:22:45 -08:00
edd7062c56 mark ipns as readonly 2015-01-10 01:22:44 -08:00
6b308292e7 go humanize 2015-01-10 01:11:10 -08:00
5b6c44fd60 Merge pull request #533 from jbenet/fix-osx-mount
osxfuse: fix version check
2015-01-10 01:10:38 -08:00
538550f8f8 fix osx mounting version checks 2015-01-10 01:07:43 -08:00
01f9ef3c54 added fuseversion for osxfuse 2015-01-10 01:07:43 -08:00
05a0a944ce makefile: fix target in sharness tests 2015-01-10 01:07:43 -08:00
0f4f91c2f3 restore ability to ping by ID alone 2015-01-10 08:31:17 +00:00
1561291d61 improve UI of ping 2015-01-10 07:27:49 +00:00
9fc0f86a3a cleanup from PR 2015-01-10 07:27:49 +00:00
50c8561bdd add peer info after FindPeer RPC
fix ping test
2015-01-10 07:27:49 +00:00
566a86f5d4 Address PR comments and add in more user feedback 2015-01-10 07:27:48 +00:00
0794d5b46a a little cleanup 2015-01-10 07:27:48 +00:00
069966d55a ping WIP
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>

Conflicts:
	core/commands/root.go

begin ping command, WIP

finish initial ping implementation
2015-01-10 07:27:45 +00:00
29071baceb Merge pull request #528 from jbenet/bench/crypto-sign-verify
benchmark Sign and Verify operations
2015-01-09 23:16:53 -08:00
d01aaa97c4 test: benchmark Sign and Verify operations
BenchmarkSign1B             1000           2406924 ns/op
BenchmarkSign10B            1000           2360527 ns/op
BenchmarkSign100B           1000           2354136 ns/op
BenchmarkSign1000B           500           2361775 ns/op
BenchmarkSign10000B          500           2415993 ns/op
BenchmarkSign100000B         500           2718051 ns/op
BenchmarkVerify1B          30000             52117 ns/op
BenchmarkVerify10B         30000             50968 ns/op
BenchmarkVerify100B        30000             51037 ns/op
BenchmarkVerify1000B       30000             56768 ns/op
BenchmarkVerify10000B      10000            105744 ns/op
BenchmarkVerify100000B      2000            628530 ns/op
2015-01-09 17:24:05 -08:00
f3519cf0e9 Merge pull request #527 from chriscool/sharness_download
install-sharness.sh: use git instead of wget and shasum
2015-01-09 15:40:01 -08:00
9e8fc3826a install-sharness.sh: use git instead of wget and shasum
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-01-09 23:13:48 +01:00
06299297c5 swarm addr checks 2015-01-09 06:22:27 -08:00
e1a0486e15 updated go-multiaddr-net (disabled utp) 2015-01-09 06:16:29 -08:00
19a5f088d5 updated multiaddr 2015-01-09 06:13:24 -08:00
3bc976c49e Merge pull request #522 from jbenet/path-ignore-ipfs-prefix
path: ignore prefix /ipfs/
2015-01-08 17:06:47 -08:00
670e693a31 path: ignore prefix /ipfs/ 2015-01-08 16:52:23 -08:00