Commit Graph

11097 Commits

Author SHA1 Message Date
Brian Tiger Chow
67bc9cc89d feat(init) display peer id in init command
use case:

Just configured and installed a node.

benefits:

1) reduces friction when setting up a new node

2) reveals useful details about the workings of the system. It's the
user's first encounter with her node's identity. The tour can build on
the user's knowledge.

```
ipfs (maybebtc-november) λ. ipfs init -f
initializing ipfs node at /Users/btc/.go-ipfs
generating key pair
peer identity: QmcRbn41Vc2CvbpLYfN36mAWusErKWvAAHbq92LPra2gFT
```
2014-11-05 10:15:17 -08:00
Brian Tiger Chow
e6ee19ed92 feat(Dockerfile) use ENTRYPOINT
Fixes #258

https://github.com/jbenet/go-ipfs/issues/258
2014-11-05 10:15:17 -08:00
Brian Tiger Chow
83716af890 fix(bitswap) shut down async 2014-11-05 10:13:24 -08:00
Brian Tiger Chow
d742984968 Merge pull request #272 from jbenet/context-dial-peer
add context to DialPeer interface
2014-11-05 10:08:40 -08:00
Brian Tiger Chow
390f4d7419 readability(util) Do -> ContextDo
@jbenet
2014-11-05 10:07:16 -08:00
Brian Tiger Chow
40c5cca117 fix(bitswap) always cancel on return 2014-11-05 10:04:20 -08:00
Brian Tiger Chow
a529378ce0 fix(bitswap) don't 'go' local function calls 2014-11-05 10:04:20 -08:00
Brian Tiger Chow
97e11c7d01 fix(do) child listens on ctx too 2014-11-05 10:04:20 -08:00
Brian Tiger Chow
68618f3fb8 fix(net) use Do to respect the caller's context 2014-11-05 10:04:20 -08:00
Brian Tiger Chow
ed247ec154 add do 2014-11-05 10:04:20 -08:00
Brian Tiger Chow
23096de3c4 fix(net) pass contexts to dial peer 2014-11-05 10:04:20 -08:00
Brian Tiger Chow
c60d011764 fix(exchange) add context to DialPeer 2014-11-05 10:04:20 -08:00
Brian Tiger Chow
9d7e0bbd4b Merge pull request #273 from jbenet/fix-data-races
Fix data races in #270
2014-11-05 10:02:46 -08:00
Brian Tiger Chow
45b1929342 fix(bitswap_test) race cond
https://github.com/jbenet/go-ipfs/issues/270#issuecomment-61826022
2014-11-05 10:01:22 -08:00
Brian Tiger Chow
de61d663b5 fix(race condition)
https://github.com/jbenet/go-ipfs/issues/270
2014-11-05 10:01:22 -08:00
Juan Batiz-Benet
3bc2281c51 fixed race in multiconn 2014-11-05 09:44:51 -08:00
Juan Batiz-Benet
70f796afd6 fixed dht race #270 2014-11-05 09:26:17 -08:00
Juan Batiz-Benet
65f95a1940 mux test race #270 2014-11-05 09:26:17 -08:00
Juan Batiz-Benet
d26fd58182 ctx closer races #270 2014-11-05 09:26:17 -08:00
Juan Batiz-Benet
7cfe2f1a00 Merge pull request #271 from jbenet/listen-addrs
Swarm + Handshake Listen Addresses
2014-11-05 09:25:52 -08:00
Brian Tiger Chow
48e105226e Merge pull request #269 from jbenet/tour-content-structure
feat(tour) content
2014-11-05 07:31:33 -08:00
Juan Batiz-Benet
40aea2a934 handshake: log whether new addr observed 2014-11-05 04:05:30 -08:00
Juan Batiz-Benet
4989dcafed swarm + handshake: better observed addr check
The check needed knowledge of the _listen_ addresses,
not just the interface addresses. Also, the handshake now
sends out all the addresses we accumulate about ourselves.
(this may be bad in the long run, but useful now to test)
2014-11-05 04:01:38 -08:00
Juan Batiz-Benet
0135e3ebbe swarm + net: add explicit listen addresses 2014-11-05 04:00:49 -08:00
Juan Batiz-Benet
f0f202ed08 updated multiaddr 2014-11-05 02:31:23 -08:00
Brian Tiger Chow
72414ce72c docs(tour) chapter 2014-11-05 00:04:44 -08:00
Brian Tiger Chow
1fd5abf408 todo(tour) add 2014-11-05 00:02:27 -08:00
Brian Tiger Chow
7436696460 docs(tour) the rest 2014-11-04 23:55:24 -08:00
Brian Tiger Chow
3d4143b2b6 feat(tour) exchange, ipns 2014-11-04 23:45:59 -08:00
Brian Tiger Chow
37ca4475cf feat(tour) routing 2014-11-04 23:38:08 -08:00
Brian Tiger Chow
747c9cd803 feat(tour) network 2014-11-04 23:29:20 -08:00
Brian Tiger Chow
b1e67111f3 feat(tour) merkledag chapter 2014-11-04 23:22:22 -08:00
Brian Tiger Chow
97f7b60186 feat(tour) add node basics 2014-11-04 22:48:37 -08:00
Brian Tiger Chow
2db25a6762 refactor(tour0 move chapter to it's own file 2014-11-04 22:36:56 -08:00
Brian Tiger Chow
eba22da632 docs(tour) Chapter 2014-11-04 22:36:00 -08:00
Brian Tiger Chow
b353f75e21 docs(tour) comment Chapter func 2014-11-04 22:34:38 -08:00
Brian Tiger Chow
b2323afedd refactor(tour) extract chapters 2014-11-04 22:30:30 -08:00
Brian Tiger Chow
8d57f50709 feat(tour) add file basics
keep things in one file for now
2014-11-04 22:15:40 -08:00
Brian Tiger Chow
8f6d6653ba feat(tour) initial content
@jbenet please review

If this is a desirable format, I will put in the rest so we can start to
make incrementatl progress on the actual copy.

Separated content from topic so Ids can be seen and modified without
excessive scrolling. Hopefully will make it easy to re-order content.
2014-11-04 21:53:13 -08:00
Brian Tiger Chow
5335417dc3 feat(tour) content struct
this way, ID's can be managed separately from the content
2014-11-04 21:43:13 -08:00
Juan Batiz-Benet
24f319b549 Merge pull request #268 from jbenet/config-version-init
Initialize Config Version
2014-11-04 19:18:45 -08:00
Juan Batiz-Benet
c6b74207bc config/init: init Version with CheckPeriod #265 2014-11-04 19:15:25 -08:00
Juan Batiz-Benet
866c2c8915 updates + config: moved location of current version number 2014-11-04 18:58:15 -08:00
Juan Batiz-Benet
6ba45221d6 config/version: Update_ -> AutoUpdate_ 2014-11-04 18:57:03 -08:00
Brian Tiger Chow
98ebe2f3ec hotfix(vendor) 2014-11-04 08:48:27 -08:00
Juan Batiz-Benet
b1958be808 Merge pull request #262 from jbenet/cmd-ref-part1
Commands Refactor Part 1
2014-11-04 02:06:14 -08:00
Matt Bell
1b9b60331f commands/http: Cleaned up argument handling in Parse 2014-11-04 02:04:51 -08:00
Matt Bell
db9c7f7c29 commands: Fixed panic when trying to marshal without a command set in request 2014-11-04 02:04:51 -08:00
Matt Bell
df6c700426 commands/http: Renamed variable for clarity 2014-11-04 02:04:51 -08:00
Matt Bell
c8ae4b6f42 commands/http: Decomposed Client#Send function 2014-11-04 02:04:51 -08:00