Juan Batiz-Benet
708e47fcbc
ipfs blocks local command
...
ipfs blocks local returns _all_ local refs. For now this is one
long op. future commits will make it async.
2015-01-11 16:59:22 -08:00
Juan Batiz-Benet
da976a5f21
blocks: AllKeys + tests
2015-01-11 16:59:22 -08:00
Juan Batiz-Benet
f9ca67ef04
updated datastore (Query)
2015-01-11 16:59:22 -08:00
Juan Batiz-Benet
dac2e449a2
Merge pull request #540 from jbenet/listener-fixes
...
fix listener problems
2015-01-11 13:43:27 -08:00
Juan Batiz-Benet
4e2431a0e4
p2p/net/swarm/listener: consume peerstream listeners
2015-01-11 12:55:33 -08:00
Juan Batiz-Benet
14b4c8223b
updated peerstream: fixed hanging bug
...
peerstream would hang when it got many temporary errors.
temp errors should not count as an error. Now, it will
only exit when an error is not temporary.
I kept the acceptErr channel because it will no longer
cause a bad hang. The goroutine is exiting, so if it
blocks until acceptErr is read, it's fine. If users
launch tons of listers and see goroutines building up,
they know they should be reading + logging those.
2015-01-11 12:55:33 -08:00
Juan Batiz-Benet
b7a4e92121
p2p/net/conn/Listener: ignore conns failed to secure
...
Instead of erroring out, which would break the listener,
we instead log a message and continue. This is not an error,
the internet is a place with lots of probing + connection
failures.
2015-01-11 12:55:33 -08:00
Juan Batiz-Benet
4525269cd8
p2p/net/conn/listener: ignore certain errors
...
This should handle early breakages, where a failing connection
would take out the listener entirely.
There are probably other errors we should be handling here,
like secure connection failures.
2015-01-11 12:55:33 -08:00
Juan Batiz-Benet
387c0508fe
p2p/net/conn/dialer: added Dialer field
2015-01-11 12:55:33 -08:00
Juan Batiz-Benet
fd3e0bb37c
added temp-err-catcher
2015-01-11 12:55:33 -08:00
Brian Tiger Chow
f44ef3fe8d
Merge pull request #538 from jbenet/refactor/core-construction
...
refactor(core): NewIPFSNode constructor
2015-01-11 01:47:34 -08:00
Brian Tiger Chow
63c0d41614
fix(core): perform sophisticated boostrap operation
2015-01-11 01:23:27 -08:00
Brian Tiger Chow
033e33dadf
feat(core): expose IpfsNode.Resolve
2015-01-11 01:23:27 -08:00
Brian Tiger Chow
223ee4df1a
refactor(core): move Add, Cat to core/io
2015-01-11 01:23:27 -08:00
Brian Tiger Chow
ddf14bee78
refactor(core): replace online bool with mode type
2015-01-11 01:23:27 -08:00
Brian Tiger Chow
130532c532
rm errTODO
2015-01-11 01:23:27 -08:00
Brian Tiger Chow
b0f7143250
refactor(core): distinguish repo.Repo components
2015-01-11 01:23:27 -08:00
Brian Tiger Chow
9d438843bd
refactor(core): distinguish Online services
2015-01-11 01:23:27 -08:00
Brian Tiger Chow
ca8190a889
refactor(core): isolate complex DHT initialization
2015-01-11 01:23:27 -08:00
Brian Tiger Chow
eb6c40d5dd
refactor(core): isolate the complex initialization of PeerHost construction
2015-01-11 01:23:27 -08:00
Brian Tiger Chow
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
Brian Tiger Chow
707874c3a5
refactor(core): init node.Blocks in shared NewIPFSNode constructor
2015-01-11 01:23:26 -08:00
Brian Tiger Chow
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
Brian Tiger Chow
7fa5d81093
refactor(core): rename
2015-01-11 01:23:26 -08:00
Brian Tiger Chow
91808e18f7
refactor: use core.ConfigOption return type
2015-01-11 01:23:26 -08:00
Brian Tiger Chow
7cebb33e81
fix: remove dead code
2015-01-11 01:23:26 -08:00
Brian Tiger Chow
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
Brian Tiger Chow
401b8f413d
misc: move initialization sqaush
2015-01-11 01:23:26 -08:00
Brian Tiger Chow
efb75ee5ba
refactor: move add and cat to the core
2015-01-11 01:23:25 -08:00
Brian Tiger Chow
85401d53fd
refactor: use the Core in the integration test
2015-01-11 01:23:25 -08:00
Brian Tiger Chow
2c3fb43350
feat: expose IpfsNode.Bootstrap() method
2015-01-11 01:23:25 -08:00
Brian Tiger Chow
4c2eda2123
refactor: remove deprecated function
2015-01-11 01:23:25 -08:00
Brian Tiger Chow
57b3ffa533
feat: new core constructor + config options (Standard, Online, Offline)
2015-01-11 01:23:25 -08:00
Brian Tiger Chow
007ffd40bd
refactor: move LatencyConfig
2015-01-11 01:23:25 -08:00
Brian Tiger Chow
836e5cab6d
Merge pull request #539 from jbenet/bitswap/tweak
...
early out if no entries in wantlist
2015-01-11 00:51:53 -08:00
Jeromy
a09854db97
early out if no entries in wantlist
2015-01-11 08:09:37 +00:00
Juan Batiz-Benet
456719ede7
Merge pull request #523 from jbenet/feat/ping
...
Implement ipfs ping
2015-01-10 08:11:03 -08:00
Juan Batiz-Benet
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
Juan Batiz-Benet
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
Juan Batiz-Benet
66f1a5a9bb
Merge pull request #521 from jbenet/linkblock_size
...
linkblock size calc test
2015-01-10 07:56:14 -08:00
Juan Batiz-Benet
136ef70f00
calc_test for picking link block size
2015-01-10 01:22:45 -08:00
Jeromy
edd7062c56
mark ipns as readonly
2015-01-10 01:22:44 -08:00
Juan Batiz-Benet
6b308292e7
go humanize
2015-01-10 01:11:10 -08:00
Juan Batiz-Benet
5b6c44fd60
Merge pull request #533 from jbenet/fix-osx-mount
...
osxfuse: fix version check
2015-01-10 01:10:38 -08:00
Juan Batiz-Benet
538550f8f8
fix osx mounting version checks
2015-01-10 01:07:43 -08:00
Juan Batiz-Benet
01f9ef3c54
added fuseversion for osxfuse
2015-01-10 01:07:43 -08:00
Juan Batiz-Benet
05a0a944ce
makefile: fix target in sharness tests
2015-01-10 01:07:43 -08:00
Jeromy
0f4f91c2f3
restore ability to ping by ID alone
2015-01-10 08:31:17 +00:00
Jeromy
1561291d61
improve UI of ping
2015-01-10 07:27:49 +00:00
Jeromy
9fc0f86a3a
cleanup from PR
2015-01-10 07:27:49 +00:00