kubo/cmd/ipfs
Juan Batiz-Benet c84a714b16 peer change: peer.Peer -> peer.ID
this is a major refactor of the entire codebase
it changes the monolithic peer.Peer into using
a peer.ID and a peer.Peerstore.

Other changes:
- removed handshake3.
-	testutil vastly simplified peer
-	secio bugfix + debugging logs
-	testutil: RandKeyPair
-	backpressure bugfix: w.o.w.
-	peer: added hex enc/dec
-	peer: added a PeerInfo struct
  PeerInfo is a small struct used to pass around a peer with
 	a set of addresses and keys. This is not meant to be a
 	complete view of the system, but rather to model updates to
 	the peerstore. It is used by things like the routing system.
-	updated peer/queue + peerset
-	latency metrics
-	testutil: use crand for PeerID gen
 	RandPeerID generates random "valid" peer IDs. it does not
 	NEED to generate keys because it is as if we lost the key
 	right away. fine to read some randomness and hash it. to
 	generate proper keys and an ID, use:
 	  sk, pk, _ := testutil.RandKeyPair()
 	  id, _ := peer.IDFromPublicKey(pk)
 	Also added RandPeerIDFatal helper
- removed old spipe
- updated seccat
- core: cleanup initIdentity
- removed old getFromPeerList
2014-12-23 08:33:32 -08:00
..
.gitignore Remove dot and slash before files in cmd/ipfs/.gitignore 2014-11-22 21:55:12 +01:00
daemon.go daemon: Set allowed API origins in API_ORIGIN environment variable 2014-11-25 06:12:35 -08:00
equinox.yaml transitioned ipfs2 -> ipfs 2014-11-18 06:15:00 -08:00
init.go peer change: peer.Peer -> peer.ID 2014-12-23 08:33:32 -08:00
ipfs.go transitioned ipfs2 -> ipfs 2014-11-18 06:15:00 -08:00
ipfsHandler.go transitioned ipfs2 -> ipfs 2014-11-18 06:15:00 -08:00
main_test.go transitioned ipfs2 -> ipfs 2014-11-18 06:15:00 -08:00
main.go util/log: SetDebugLogging 2014-12-12 02:45:22 -08:00
Makefile transitioned ipfs2 -> ipfs 2014-11-18 06:15:00 -08:00
README.md Fix typo. 2014-12-14 20:55:29 +01:00
tour_test.go transitioned ipfs2 -> ipfs 2014-11-18 06:15:00 -08:00
tour.go transitioned ipfs2 -> ipfs 2014-11-18 06:15:00 -08:00

go-ipfs/cmd/ipfs

This is the ipfs commandline tool. For now, it's the main entry point to using IPFS. Use it.

> go build
> go install
> ipfs
ipfs - global versioned p2p merkledag file system

Basic commands:

    init          Initialize ipfs local configuration
    add <path>    Add an object to ipfs
    cat <ref>     Show ipfs object data
    ls <ref>      List links from an object

Tool commands:

    config        Manage configuration
    update        Download and apply go-ipfs updates
    version       Show ipfs version information
    commands      List all available commands

Advanced Commands:

    mount         Mount an ipfs read-only mountpoint
    serve         Serve an interface to ipfs
    diag          Print diagnostics

Plumbing commands:

    block         Interact with raw blocks in the datastore
    object        Interact with raw dag nodes


Use "ipfs help <command>" for more information about a command.