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

32 Commits

Author SHA1 Message Date
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
c6b74207bc config/init: init Version with CheckPeriod #265 2014-11-04 19:15:25 -08:00
866c2c8915 updates + config: moved location of current version number 2014-11-04 18:58:15 -08:00
e989d6febe move IDFromPubKey to peer pkg 2014-10-18 04:28:26 -07:00
98ba0be060 Move versioning/updates stuff to a separate package 2014-10-09 19:59:15 -07:00
4c167a42e2 Rename config.Updates to config.Version 2014-10-09 19:58:51 -07:00
c8678666e3 Save ipfs version used to initialize config 2014-10-09 19:57:59 -07:00
6f033dd7a1 Initialize Updates.check config setting 2014-10-09 19:57:59 -07:00
bc0769e370 ipfs + ipns mounts with flags + config 2014-10-02 03:05:49 -07:00
381824477e Bugfix: daemon wg sync 2014-10-02 00:12:36 -07:00
832d84ef3c When initializing datastore, create directory with correct permissions. 2014-09-29 21:54:35 +02:00
2a3ab23f1d Check the datastore is writeable when initializing 2014-09-29 21:54:35 +02:00
e200c089fa Correct style. 2014-09-29 21:54:35 +02:00
7705dfb939 Refactor config file location, add IPFS_CONFIG_DIR
Removed config.Filename and replace it with config.GetConfigFilePath that
takes a configuration directory as argument instead. Makes code simpler.
ipfs.getConfigDir now also return the default configuration dir instead of
an empty string in some cases.
2014-09-29 21:54:35 +02:00
73077d1f72 Implement ipfs init -d (change datastore location) 2014-09-29 21:54:08 +02:00
303ebd894d config: changed language from Peers to Bootstrap 2014-09-24 05:31:25 -07:00
193aebc4c0 config: rename addresses
WARNING: change breaks old configs.
@whyrusleeping @perfmode

This commit changes the way addresses are stored in config files.
It lumps Identity.Address and RPCAddress into Addresses. This
commit also fixes several golint issues.
2014-09-24 05:28:35 -07:00
81b4b38140 RPC Address init + checks 2014-09-22 04:06:17 -07:00
1653304129 adjusted what Address means in config
There are (so far) two sorts of addresses that peers care about:

- peer network addresses, local to listen, saved to bootstrap.
  `config.Identity.Address`

- peer RPC network address, local RPC tcp endpoint
  `config.RPCAddress`

@whyrusleeping @perfmode
2014-09-22 04:06:17 -07:00
6807b6e98e added mars.i.ipfs.io as a bootstrap node
In the future, let's have a (signed) list of bootstrap
nodes. Ideally just a list of ipfs multiaddrs (with node.ID)
2014-09-22 04:06:17 -07:00
d1c4ffba7c init -f fix and output 2014-09-22 04:06:16 -07:00
d17fcc1780 fix security comment #92 2014-09-22 04:06:16 -07:00
556da76b2c fix(cmd:ipfs) import err identify -> spipe 2014-09-22 04:05:15 -07:00
2607bee4d6 Change config flag to accept config dir instead of file path 2014-09-17 06:03:58 +00:00
5a41a2ac07 Merge pull request #54 from jbenet/fix/config-test
fix(config) failing test
2014-09-12 10:59:43 -07:00
256db0b52b Merge pull request #1 from jbenet/master
give
2014-09-12 10:32:00 -07:00
a5c0f67c8c fix(config) failing test
also replace *Datastore with Datastore
2014-09-12 04:20:46 -07:00
fbec97982f cmd/init: Fixed init checking if config exists 2014-09-11 13:07:38 -07:00
b88ee2870a golint cleanup 2014-09-11 12:25:52 -07:00
7968b45e58 vendor dependencies with godep
dependencies are vendored into Godeps/_workspace and commit versions are
recorded in Godeps.json

update datastore to e89f0511
update go.crypto
2014-09-09 22:39:42 -07:00
4b97f1f270 create new crypto package and make rest of repo use it 2014-09-03 20:15:10 +00:00
aa5a34a6d1 add init command to generate crypto keys 2014-09-02 12:58:35 -07:00