- 28 10月, 2014 10 次提交
-
-
to emphasize idempotence
由 Brian Tiger Chow 提交于 -
comes at the cost of O(n) Blocks() method.
由 Brian Tiger Chow 提交于 -
so there's one less name to think about
由 Brian Tiger Chow 提交于 -
A nice invariant for bitswap sessions: Senders and receivers can trust that messages do not contain duplicate blocks or duplicate keys. Backing the message with a map enforces this invariant. This comes at the cost of O(n) getters.由 Brian Tiger Chow 提交于 -
implementation will be patched to ensure bitswap messages cannot contain duplicate blocks or keys
由 Brian Tiger Chow 提交于 -
@whyrusleeping noticed this a couple days ago potential long-term fix: prevent duplicate entries in the wantlist by using a map/set and iterating over this data structure on export
由 Brian Tiger Chow 提交于 -
Revert "perf(mux) use RWMutex"
由 Brian Tiger Chow 提交于 -
由 Brian Tiger Chow 提交于
-
perf(mux) use RWMutex
由 Juan Batiz-Benet 提交于 -
由 Brian Tiger Chow 提交于
-
- 27 10月, 2014 1 次提交
-
-
ipfs tour
由 Juan Batiz-Benet 提交于
-
- 26 10月, 2014 18 次提交
-
-
由 Juan Batiz-Benet 提交于
-
由 Juan Batiz-Benet 提交于
-
Improve tests
由 Juan Batiz-Benet 提交于 -
License: MIT Signed-off-by:Christian Couder <chriscool@tuxfamily.org>
由 Christian Couder 提交于 -
License: MIT Signed-off-by:Christian Couder <chriscool@tuxfamily.org>
由 Christian Couder 提交于 -
由 Juan Batiz-Benet 提交于
-
- if equinox says there is a new update, but the version number IS NOT larger, we interpret that as no update (you may have gotten a newer version by building it yourself). - Also export ErrNoUpdateAvailable so clients don't also need to import the equinox library to check the error. cc @cryptix comments?
由 Juan Batiz-Benet 提交于 -
ContextCloserify
由 Juan Batiz-Benet 提交于 -
由 Juan Batiz-Benet 提交于
-
- less floating variables
由 Juan Batiz-Benet 提交于 -
由 Juan Batiz-Benet 提交于
-
由 Juan Batiz-Benet 提交于
-
由 Juan Batiz-Benet 提交于
-
由 Juan Batiz-Benet 提交于
-
convert DAGService to an interface
由 Juan Batiz-Benet 提交于 -
由 Emery Hemingway 提交于
-
Fix logs + msgio error
由 Juan Batiz-Benet 提交于 -
由 Jeromy 提交于
-
- 25 10月, 2014 11 次提交
-
-
由 Jeromy 提交于
-
License: MIT Signed-off-by:Christian Couder <chriscool@tuxfamily.org>
由 Christian Couder 提交于 -
由 Jeromy 提交于
-
由 Jeromy 提交于
-
Use Sharness as our shell test framework, version 3
由 Juan Batiz-Benet 提交于 -
You can use it like this to launch all the test scripts in order: $ cd test $ make rm -r test-results *** t0010-basic-commands.sh *** ok 1 - current dir is writable ok 2 - ipfs version succeeds ok 3 - ipfs version output looks good ok 4 - ipfs help succeeds ok 5 - ipfs help output looks good # passed all 5 test(s) 1..5 ./test-aggregate-results.sh fixed 0 success 5 failed 0 broken 0 total 5 Or you can just run one test like this: $ make t0010-basic-commands.sh *** t0010-basic-commands.sh *** ok 1 - current dir is writable ok 2 - ipfs version succeeds ok 3 - ipfs version output looks good ok 4 - ipfs help succeeds ok 5 - ipfs help output looks good # passed all 5 test(s) 1..5
由 Christian Couder 提交于 -
This script aggregates test results using Sharness.
由 Christian Couder 提交于 -
This way we can easily reuse the checks in test-sharness-config.sh.
由 Christian Couder 提交于 -
This checks a little bit the installation and some basic commands. You can run it like that: $ cd test $ ./t0010-basic-commands.sh ok 1 - current dir is writable ok 2 - ipfs version succeeds ok 3 - ipfs version output looks good ok 4 - ipfs help succeeds ok 5 - ipfs help output looks good # passed all 5 test(s) 1..5
由 Christian Couder 提交于 -
Our test framework is based on Sharness. So the first thing to do is to source it.
由 Christian Couder 提交于 -
redux: refactor(dht/pb) move proto to pb package
由 Juan Batiz-Benet 提交于
-