Commit Graph

1115 Commits

Author SHA1 Message Date
Jeromy
402fdd2db9 changes from PR 2014-11-03 01:45:45 +00:00
Jeromy
094baf6fbf error out if attempting connection to loopback 2014-11-03 00:28:07 +00:00
Jeromy
cb2fb9cfe6 print NAT if detected 2014-11-02 21:59:59 +00:00
Jeromy
2eac5aeec6 begin code for NAT detection 2014-11-02 21:19:22 +00:00
Juan Batiz-Benet
03ca7fdf76 Merge pull request #221 from jbenet/bench
Performance optimizations and memory management
2014-11-01 18:26:02 -07:00
Juan Batiz-Benet
634d89f1b0 Remove Travis testing of Go 1.2
Go 1.2 is no longer supported (we use sync.Pool).
2014-11-01 17:55:59 -07:00
Juan Batiz-Benet
56c45d42ff Godeps GoVersion off devel 2014-11-01 17:53:11 -07:00
Juan Batiz-Benet
07e55fcb69 Merge pull request #250 from jbenet/docker-daemon
feat(docker) build a daemon
2014-11-01 17:39:10 -07:00
Brian Tiger Chow
06a8feeaf3 feat(docker) build a daemon
The default Docker build creates a daemon.

TODO allow bootstrap node to be overridden at runtime (perhaps with an
environment variable), so we can use custom topologies in test
environments. NB: We still want the default behavior to connect to Mars.

TODO create a docker image that mounts and uses shared volume to make
that mount accessible on the host.
2014-11-01 17:32:49 -07:00
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