1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-10-29 00:46:02 +08:00

244 Commits

Author SHA1 Message Date
b30dd47aa3 Peerstore fix (ptr to iface) 2014-09-22 04:06:17 -07:00
64ba4cd0df output + linting 2014-09-22 04:06:17 -07:00
0c67019447 style(exch:bitswap) rename adapter, session, etc.
style(exch:bitswap) rename NetMessage adapter impl
2014-09-22 04:06:14 -07:00
e1fe4f6d60 refac(exchange) rename exchange.Interface to match golang conventions
examples:

    http://golang.org/pkg/container/heap/#Interface

    http://golang.org/pkg/net/#Interface

    http://golang.org/pkg/sort/#Interface
2014-09-22 04:06:13 -07:00
fd086b9c48 refac(exchange) bitswap -> exchange/bitswap
Move go-ipfs/bitswap package to go-ipfs/exchange/bitswap

* Delineates the difference between the generic exchange interface and
  implementations (eg. BitSwap protocol)

  Thus, the bitswap protocol can be refined without having to overthink
  how future exchanges will work. Aspects common to BitSwap and other
  exchanges can be extracted out to the exchange package in piecemeal.

  Future exchange implementations can be placed in sibling packages next
  to exchange/bitswap. (eg. exchange/multilateral)
2014-09-22 04:06:13 -07:00
4284e8e960 config: use PeerID in bootstrap config 2014-09-22 04:06:12 -07:00
b77a785cd8 fix(dht) remove deprecated Start() call 2014-09-22 04:05:22 -07:00
547f9e1cf6 fix(core) patiently convince the core to compile
=)
2014-09-22 04:05:21 -07:00
e4e021085b add Peerstore to dht 2014-09-22 04:05:19 -07:00
70ea4f540c added peerstore to core 2014-09-22 04:05:19 -07:00
fda94d9f34 refactor(bitswap) rm SetStrategy method
remove this setter while the interface is under construction
2014-09-22 04:05:18 -07:00
27d0e692ed core dht setup 2014-09-22 04:05:16 -07:00
dde6ad495e todo(blockservice, core) add notes
* to wrap datastore for ease of use
* to pass a non-responsive bitswap mock rather than performing nil
* checks internally
2014-09-22 04:05:16 -07:00
ab460ed882 refactor(bs, core) rename bitswap objects 2014-09-22 04:05:15 -07:00
0075a47df0 fix(bs) remove concrete refs to swarm and dht 2014-09-22 04:05:15 -07:00
6aecb80395 chore(core) add TODOs to use contexts 2014-09-22 04:05:15 -07:00
c14123397a starting to integrate new net 2014-09-22 04:05:13 -07:00
67e76c0acc godeps multiaddr + swarm move. 2014-09-22 04:05:12 -07:00
035d600f28 Godeps: use in net + new multiaddr 2014-09-22 04:05:12 -07:00
3ae37b29bd core: Show error when config identity is not set 2014-09-11 17:50:05 -07:00
b63e10f3b5 core: Don't require address for node initialization 2014-09-11 17:49:10 -07:00
7b32c11347 core: Refactored node initialization 2014-09-11 17:22:44 -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
e6498b3733 fix issue with blocks not being trimmed properly and being too large to be sent over the network 2014-09-05 02:58:31 +00:00
eeab5f9bd9 fix issue with blocks not actually being stored via dagservice 2014-09-04 03:37:29 +00: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
a5d54ea29e fix up tests that started failing after changing identify code 2014-09-01 21:55:59 -07:00
45fc43c9cf add pub/priv key code to identify, not complete yet 2014-09-01 16:09:03 -07:00
c2cc4b1d70 a little cleanup, ipfs 'works' for basic file adds and cats 2014-08-29 17:22:40 -07:00
691d1b36bb integrate bitswap and blockservice into the core package 2014-08-29 11:34:50 -07:00
cfdf01d58a bitswap first working commit! 2014-08-26 14:24:51 -07:00
91e4675cbf basic implementation of bitswap, needs testing/verification that it works 2014-08-24 18:13:05 -07:00
3f97e7e385 goling: PeerId -> ID 2014-07-22 02:28:25 -07:00
f718bd6a92 go lint
link errors left:
- protocol buffers output is not lint-friendly
2014-07-22 02:20:08 -07:00
8a07a62643 added path resolution 2014-07-06 00:07:04 -07:00
7b98bf80f4 cleaned up interface to use DAG 2014-07-05 23:47:26 -07:00
9f542f8797 abstracted merkledag service 2014-07-05 23:45:35 -07:00
5abf3c2ae9 added ls + recusrive directory adding 2014-07-05 18:19:38 -07:00
3b241486a9 ipfs cat 2014-07-05 17:29:44 -07:00
cd1d4d4455 core block service 2014-07-05 15:38:41 -07:00
2d7f2473a5 go fmt 2014-07-05 13:21:30 -07:00
2b9d67df81 core construction 2014-07-05 13:21:15 -07:00
3b570d3f82 skeleton. 2014-06-26 01:14:26 -07:00