1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-09-18 05:31:35 +08:00

85 Commits

Author SHA1 Message Date
1aafd285b5 add in some extra debug logging, and increase routing table latencies 2014-10-08 21:55:50 +00:00
66839fa1de changed logging, in dht and elsewhere
- use log.* instead of u.*
- use automatic type conversions to .String()
  (Peer.String() prints nicely, and avoids calling b58 encoding
  until needed)
2014-10-07 21:33:59 -07:00
77fccaa2f3 Obviated need for .ID.Pretty() all over the place. 2014-10-06 04:23:55 -07:00
0c8ae7674e loggers: set level 2014-10-04 03:53:21 -07:00
7e1cd59259 initialize loggers at ERROR 2014-10-04 03:36:30 -07:00
612be59643 use string datastore keys. 2014-10-03 15:39:22 -07:00
f085d594aa vendoring ipns things 2014-10-01 00:44:22 -07:00
9652ada0d2 implement publisher for ipns to wait until moments of rapid churn die down 2014-10-01 00:42:17 -07:00
54142b2173 update logging in multiple packages 2014-10-01 00:41:30 -07:00
375a38c5f7 add basic publish command, needs polish 2014-10-01 00:39:57 -07:00
a65e8600a3 catch ipns branch up to master and make all things compile 2014-10-01 00:37:53 -07:00
e2a9c5de00 feat(net:service, routing) remove error return value 2014-09-24 23:35:36 -04:00
52cefb16cd Routing uses context now
@perfmode boom
2014-09-22 04:06:18 -07:00
aa29603923 dht tests pass again 2014-09-22 04:06:16 -07:00
afb1d01048 provider testing 2014-09-22 04:06:15 -07:00
043c09e14b fixed get/put 2014-09-22 04:06:12 -07:00
9dd39de491 Fixed connections all over. 2014-09-22 04:06:12 -07:00
de7af506b1 dht.Connect(Peer) 2014-09-22 04:06:12 -07:00
700b6ab99f remove start 2014-09-22 04:05:23 -07:00
a114e9cd12 better query processing (runner) 2014-09-22 04:05:22 -07:00
67bd041b9c got everything to build 2014-09-22 04:05:21 -07:00
15a823d058 newMessage and more impl. 2014-09-22 04:05:19 -07:00
0773e584fd updated Update function 2014-09-22 04:05:19 -07:00
3ae7021700 getFromPeerList and peerFromInfo 2014-09-22 04:05:19 -07:00
e4e021085b add Peerstore to dht 2014-09-22 04:05:19 -07:00
4cc1f60d91 Peerstore -- threadsafe collection
this will later have persistent storage, but no need yet
2014-09-22 04:05:19 -07:00
3711d54098 getValueSingle using SendRequest 2014-09-22 04:05:18 -07:00
520640840f check type assertion
`v.([]byte)` coming from a datastore can panic.
`byt, ok := v.([]byte)` to be safe.

@whyrusleeping
2014-09-22 04:05:18 -07:00
d91955b412 moved handlers to own file 2014-09-22 04:05:17 -07:00
c4536d127d comment out diagnostic
it'll have to change lots since the listener is gone
2014-09-22 04:05:17 -07:00
69ed45c555 refactor peer distance search + handleGetProviders 2014-09-22 04:05:17 -07:00
9eb41e7237 ping + find peer 2014-09-22 04:05:17 -07:00
2522625bc6 lint nit 2014-09-22 04:05:17 -07:00
e872482aa7 refactor symbol 2014-09-22 04:05:17 -07:00
2f2808e9d8 handleGetValue 2014-09-22 04:05:17 -07:00
9c5c49b690 starting on dht-- msg handler 2014-09-22 04:05:17 -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
2563e9204c network.Find -> network.GetPeer 2014-09-22 04:05:11 -07:00
71ec4f91dc Drop -> CloseConnection 2014-09-22 04:05:11 -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
1fa7c07dc7 clean up merge of bren2010's crypto branch and merge into master 2014-09-08 18:17:57 +00:00
85273daaa5 allow peers to realize that they are actually a provider for a value 2014-09-04 20:32:46 +00:00
af2f04ae89 fixing up some bitswap stuff after the PR 2014-08-28 12:01:03 -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
c5e7273cab refactor to allow use of mes_listener outside of dht 2014-08-23 22:25:50 -07:00
05b80afc35 fix swarm message type code, i beleive it works well now 2014-08-20 18:42:40 -07:00
afdac2ca3a add in message type routing to the swarm object. tired, needs cleanup. 2014-08-20 18:42:31 -07:00
c9c9420912 add some more tests in 2014-08-20 18:42:26 -07:00