Commit Graph

1106 Commits

Author SHA1 Message Date
Jeromy
b4b26faefd make FetchGraph waitable 2014-11-01 16:07:56 -07:00
Jeromy
6efaa1d811 remove signed pipe 2014-11-01 16:07:56 -07:00
Jeromy
5edbca2e70 cleanup from CR 2014-11-01 16:07:56 -07:00
Jeromy
09004e4989 finish addressing PR concerns 2014-11-01 16:07:56 -07:00
Jeromy
ce223eef61 some small cleanup of logging 2014-11-01 16:07:56 -07:00
Jeromy
3ed10b1331 dagservice interface fix 2014-11-01 16:07:56 -07:00
Jeromy
98f56ab7e2 remove sha1 from hmac hash suite options 2014-11-01 16:07:56 -07:00
Jeromy
950957240a address comments from PR 2014-11-01 16:07:56 -07:00
Jeromy
a8069024e9 cut down on allocations 2014-11-01 16:07:56 -07:00
Jeromy
027920540f more memory tweaks 2014-11-01 16:07:56 -07:00
Jeromy
9b1c99e9aa shrink msgio buffer size to decrease memory pressure 2014-11-01 16:07:56 -07:00
Jeromy
32417724a6 Reenable secure channel code 2014-11-01 16:07:56 -07:00
Jeromy
f89cfc1108 moved pipes package 2014-11-01 16:07:56 -07:00
Jeromy
07733b17b3 msgio pooling first hack 2014-11-01 16:07:56 -07:00
Jeromy
ffc59fff1b add blowfish code and refactor pipes and duplex a little 2014-11-01 16:07:56 -07:00
Jeromy
01c0c6e169 implement signed pipe and add blowfish cipher to supported suites 2014-11-01 16:07:56 -07:00
Jeromy
3994762ca6 fix bug 2014-11-01 16:07:56 -07:00
Jeromy
317ca2f865 benchmark secure channel 2014-11-01 16:07:56 -07:00
Jeromy
c7ef55a450 move OSX specific calls to build tagged files 2014-10-31 19:46:42 +00:00
Juan Batiz-Benet
ca1bf26744 check osxfuse version. Fixes #202. 2014-10-31 10:10:12 -07:00
Jeromy
b02dbc4a6b Add testutil package and function to generate a dagservice 2014-10-31 06:02:52 +00:00
Jeromy
e9779b1c7f address comments from PR 2014-10-31 05:57:47 +00:00
Jeromy
ae339a0320 remove dagwriter in favor of new importer function 2014-10-31 05:03:42 +00:00
Juan Batiz-Benet
01a583ea7f Merge pull request #241 from jbenet/fix/log-debugf
fix(everything) log.Debug -> log.Debugf
2014-10-30 17:09:26 -07:00
Jeromy
3270ab0efb fix bug where terminal would randomly become garbled binary crap 2014-10-30 16:34:52 +00:00
Brian Tiger Chow
cea398b8a7 fix(all) log.Debug -> log.Debugf 2014-10-30 06:35:29 -07:00
Juan Batiz-Benet
b5fc3caea3 cmd/add: output file hash Fixed #239 2014-10-30 06:15:23 -07:00
Juan Batiz-Benet
70e1f9b6bc make vendor
cc @whyrusleeping
2014-10-30 05:43:14 -07:00
Juan Batiz-Benet
334cc4b7a1 Merge pull request #240 from jbenet/perf/no-snappy-compression
perf(core/datastore) disable snappy compression
2014-10-30 05:10:11 -07:00
Juan Batiz-Benet
3430a4d80a remove comment 2014-10-30 05:08:03 -07:00
Juan Batiz-Benet
f62cedf4d7 rm comments 2014-10-30 05:07:07 -07:00
Brian Tiger Chow
ff490a6d52 perf(core/datastore) disable snappy compression 2014-10-30 04:58:25 -07:00
Juan Batiz-Benet
461e5a3c2c Merge pull request #237 from jbenet/dont-write-twice
blockservice: dont write blocks twice
2014-10-30 04:44:18 -07:00
Juan Batiz-Benet
483ccf9f5f better test exercises saved buf 2014-10-30 04:33:13 -07:00
Juan Batiz-Benet
adec8dac12 util: cleaner ByteChanReader.Read 2014-10-30 04:14:37 -07:00
Juan Batiz-Benet
cb22b62a9b util: remove broken rand 2014-10-30 04:14:05 -07:00
Juan Batiz-Benet
37ce1863c0 test splitting is deterministic. (it is) 2014-10-30 02:49:42 -07:00
Juan Batiz-Benet
13f00abc27 blockservice: signal add optimization 2014-10-30 02:01:27 -07:00
Juan Batiz-Benet
04eba28a16 blockservice: dont write blocks twice
If the datastore has a value for the key, we already have
the block. We should not write it again. This will make redundant
writes much faster.

At the moment, a datastore.Has on leveldb is a GetBackedHas.
Track https://github.com/jbenet/go-datastore/issues/6
2014-10-30 01:54:53 -07:00
Juan Batiz-Benet
f0d823c2db fix tests (circular import) 2014-10-30 01:17:26 -07:00
Jeromy
71ac117546 Address concerns in PR 2014-10-30 06:23:31 +00:00
Jeromy
18ada93ec3 rewrite add command to use dagwriter, moved a pinner into the dagwriter for inline pinning 2014-10-30 04:40:48 +00:00
Juan Batiz-Benet
a29b9d3353 Merge pull request #235 from jbenet/feat/mprof-in-cli-ipfs1-debug
perf(cmd/ipfs) write mprof file in debug mode
2014-10-29 18:27:42 -07:00
Brian Tiger Chow
7510ef2081 feat(cmd/ipfs1) add mem profiling in debug mode
TODO add memory profiling to ipfs2
2014-10-29 18:24:32 -07:00
Brian Tiger Chow
1e847059bc style(cmd/ipfs/pprof) move defer close to initialization 2014-10-29 18:24:32 -07:00
Brian Tiger Chow
79866d3378 hotfix(core) assign node.Resolver = path.Resolver
discovered by @mappum and applied at 414e20b71e

fixing here to address #233

https://github.com/jbenet/go-ipfs/issues/233
2014-10-29 06:58:35 -07:00
Juan Batiz-Benet
3a0bbe2aa8 Merge pull request #224 from jbenet/issue-209-plus
refactor(blockservice, merkledag, namesys) deprecate u.ErrNotFound
2014-10-28 16:11:52 -07:00
Brian Tiger Chow
9a9dc926b5 fix(merkledag) return static error 2014-10-28 16:10:17 -07:00
Brian Tiger Chow
edbaa3f664 fix(namesys) use the error that already exists 2014-10-28 15:41:49 -07:00
Brian Tiger Chow
0bfadea036 fix(namesys, merkledag) use static error 2014-10-28 15:40:26 -07:00