1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-09-10 09:52:20 +08:00

211 Commits

Author SHA1 Message Date
bf22aeec0a Reorged imports from jbenet/go-ipfs to ipfs/go-ipfs
- Modified Godeps/Godeps.json by hand
- [TEST] Updated welcome docs hash to sharness
- [TEST] Updated contact doc
- [TEST] disabled breaking test (t0080-repo refs local)
2015-03-31 12:52:25 -07:00
7ad8dd8523 ignore bootstrap failures in namesys initialization 2015-03-17 21:57:57 -07:00
f679127d83 comments! and cleanup 2015-03-17 20:57:21 -07:00
eb228eb615 remove addCloser 2015-03-17 20:57:21 -07:00
9ab59e44ad implement in memory model for ipns filesystem, to be used as backing for ipns fuse interface 2015-03-17 20:57:20 -07:00
7fb63d7e43 move signing options into a validation checker struct 2015-02-26 22:05:03 -08:00
92d08db7a5 rewrote import paths of go.net/context to use golang.org/x/context
- updated go-ctxgroup and goprocess
ctxgroup: AddChildGroup was changed to AddChild. Used in two files:
- p2p/net/mock/mock_net.go
- routing/dht/dht.go

- updated context from hg repo to git
prev. commit in hg was ad01a6fcc8a19d3a4478c836895ffe883bd2ceab. (context: make parentCancelCtx iterative)
represents commit 84f8955a887232b6308d79c68b8db44f64df455c in git repo

- updated context to master (b6fdb7d8a4ccefede406f8fe0f017fb58265054c)

Aaron Jacobs (2):
net/context: Don't accept a context in the DoSomethingSlow example.
context: Be clear that users must cancel the result of WithCancel.

Andrew Gerrand (1):
go.net: use golang.org/x/... import paths

Bryan C. Mills (1):
net/context: Don't leak goroutines in Done example.

Damien Neil (1):
context: fix removal of cancelled timer contexts from parent

David Symonds (2):
context: Fix WithValue example code.
net: add import comments.

Sameer Ajmani (1):
context: fix TestAllocs to account for ints in interfaces
2015-02-25 11:58:19 +01:00
a29c0fc751 move blocking calls out of single threaded loops, cancel contexts ASAP 2015-02-19 06:04:39 +00:00
5253b6ab13 pass routed host into bitswap construction 2015-02-18 19:11:38 +00:00
6241c25984 make contructor code a little less magical 2015-02-18 19:11:33 +00:00
e40e5699f9 use a routedHost in the core node constructor 2015-02-18 18:56:57 +00:00
7a2545a14b implement nodebuilder 2015-02-11 21:47:07 +00:00
140c70d772 document some packages 2015-02-10 22:59:10 +00:00
8558838d00 fix(core) check nil for _all_ owned resources
since construction can fail, and construction is non-trivial, it's
probably safer to never assume resource exists.

cc @jbenet @whyrusleeping
2015-02-06 11:22:43 -07:00
581c4e558e cmds/id: show self addrs 2015-02-03 05:51:31 -08:00
e908effb4b AddrManager: use addr manager with smarter TTLs
This addr manager should seriously help with the addrsplosion
problem.
2015-02-02 21:04:14 -08:00
88fa7388de feat(core) add shutdown message 2015-02-01 21:54:20 -08:00
d0f9be56e7 refac(core) privatize method 2015-02-01 21:54:20 -08:00
1beef957da refac(core): expose core.OnlineWithRouting constructor option
fix FIXUP maybeRouter in core
2015-02-01 21:54:19 -08:00
c114b04ae1 feat(bitswap): synchronous close 2015-02-01 21:54:19 -08:00
29bf59dded bootstrap: use ipfsaddr for boostrap peers ⚠️
⚠️ this commit makes your current configs unusable, as the
default bootstrap peers. You may need to edit your config.

Go from:

```js
Bootstrap: [
  {
    "Address": "/ip4/104.131.131.82/tcp/4001",
    "PeerID": "QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ"
  }
]
```

To:
```js
Bootstrap: [
  "/ip4/104.131.131.82/tcp/4001/ipfs/QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ"
]
```
2015-02-01 05:16:52 -08:00
7b85579d7a core: move online service init block into own func
addresses CR comments
2015-01-31 17:20:34 -08:00
1a3752b81f core: setup peerhost + listen separate steps
We had a problem: we were starting all the services with the network
live, and so would miss early messages. We were noticing bitswap
messages not handled (not in muxer). Many of the subsystems expect
the network to _exist_ when they start up, so we split construction
and starting to listen into two separate steps.
2015-01-30 20:37:53 -08:00
abb3c9c9c4 implement path type 2015-01-29 17:51:08 +00:00
f1267d0624 change ipns resolve/publish to store raw keys, not b58 encoded 2015-01-28 19:36:30 +00:00
76d9d89aff user friendliness in logs + output 2015-01-26 17:01:00 -08:00
ca757c66ff p2p/nat: managed by host now.
Exposing the NAT to the core is unnecessary. The Host can take
care of it. If a need emerges, we can address it then.
2015-01-26 14:00:00 -08:00
332d350196 p2p/nat: re-factors nat object
- allow retrieving addresses
- allow notifications on mapping changes
- allow lifecycle mgmt (future commit will manage it)
2015-01-26 13:45:02 -08:00
069cff3d25 p2p/nat: upnp + pmp 2015-01-24 12:42:22 -08:00
95d58b2a4a core: cleaned up bootstrap process 2015-01-23 05:25:31 -08:00
d6ce837d72 core/bootstrap: cleaned up bootstrapping
Moved it to its own package to isolate scope.
2015-01-23 02:08:29 -08:00
ec848c486b core: call dht bootstrap 2015-01-23 02:08:28 -08:00
eb6afd3edc fix interface for coreunix.Cat, now takes a path 2015-01-23 06:39:20 +00:00
721ff57263 fix(blockservice) fully async exchange.HasBlock 2015-01-20 23:43:21 -08:00
56ae2fd0a8 routing: record validation into record/
This commit moves the record validation/verification
from dht/ into the new record/ packaage. Validator object
-- which is merely a map of ValidatorFuncs -- with a
VerifyRecord

cc @whyrusleeping
2015-01-19 08:10:37 +00:00
a5233faeae some comments 2015-01-19 08:06:51 +00:00
feeada0d90 fix fuse mounting issues
this time, without loading the private key on every startup
2015-01-19 08:05:52 +00:00
797aad9137 refactor(core) extract const 2015-01-18 14:41:43 -08:00
a025fc9adf refactor(core) switch style to type assertions
@jbenet cool with this?
2015-01-18 14:41:43 -08:00
c1ff2149f1 doc(core) add TODO 2015-01-18 14:41:43 -08:00
15a6237ffc fix(core) improve documentation and describe behavior of function 2015-01-18 14:41:43 -08:00
19c2c6556f fix(core) don't assume Repo won't be nil 2015-01-18 14:41:43 -08:00
de45277883 doc(core, main) 2015-01-18 14:41:43 -08:00
1edc5c0a65 refactor(core) Close in teardown
This declarative style is simpler to compose than the imperative wiring
up of objects.

+ pass context to StartOnlineServices as parameter. one by one, trying
to remove dependencies on node state so these initialization steps can
be broken down.
2015-01-18 14:41:43 -08:00
4b5ff960c9 feat(core): use repo.Repo in core constructor 2015-01-18 14:41:42 -08:00
884143bf9c move generic packages to thirdparty (see thirdparty/README.md) 2015-01-18 14:04:45 -08:00
a7650b259d add test for reprovider and slight refactor 2015-01-14 22:14:52 +00:00
f068c89147 reprovide: move core's reprovider into online services 2015-01-13 22:12:37 -08:00
3269986e42 basic reprovider implementation
make vendor
2015-01-13 22:12:37 -08:00
5b3164de5c refactor(repo/config) move config under repo 2015-01-13 03:09:30 -08:00