Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Net #89

Closed
wants to merge 119 commits into from
Closed

Net #89

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
119 commits
Select commit Hold shift + click to select a range
8acabe7
panic -> error
jbenet Aug 30, 2014
32765ed
Drop -> CloseConnection
jbenet Aug 30, 2014
6ef6a44
network.Find -> network.GetPeer
jbenet Aug 30, 2014
8a90469
added mux
jbenet Sep 11, 2014
ff4ebbf
mux test stop.
jbenet Sep 11, 2014
05714d9
message pkg
jbenet Sep 11, 2014
1d410e8
moved conn to own pkg
jbenet Sep 11, 2014
cd9debd
removed logging in conn_test
jbenet Sep 11, 2014
8186c34
Service + request
jbenet Sep 11, 2014
b056f3b
Godeps: use in net + new multiaddr
jbenet Sep 14, 2014
bff09da
swarm rewrite, doesnt yet work (tests)
jbenet Sep 14, 2014
99416ba
moved stuff
jbenet Sep 14, 2014
c4af51c
remove handshake for now (need to merge and move)
jbenet Sep 14, 2014
82623d8
rmv old swarm
jbenet Sep 14, 2014
ccdf8f3
net interface
jbenet Sep 14, 2014
a321cb1
godeps multiaddr + swarm move.
jbenet Sep 14, 2014
311ffc1
better handshake for all.
jbenet Sep 14, 2014
08c890f
removed old identify
jbenet Sep 14, 2014
42d86b5
merge wind HoC
jbenet Sep 14, 2014
7223700
starting to integrate new net
jbenet Sep 14, 2014
1255b2a
feat(net:message) get net package from e2430ae4279
Sep 13, 2014
dd48b13
refactor(bitswap) leverage third-party pubsub lib
Sep 11, 2014
c2f1c15
refactor(bitswap) meslistener -> notifications
Sep 11, 2014
fb6a021
fix(bitswap:notifications) shutdown on bs.Halt()
Sep 11, 2014
ecd816b
style(bitswap:notifications) rm explicit returns
Sep 11, 2014
2284749
fix(bitswap:notifications) close chan on Publish
Sep 12, 2014
2ab8778
docs(bitswap:notifications) Subscribe
Sep 12, 2014
6c6ee24
refactor(bitswap:notifications) move, rename
Sep 12, 2014
7083af9
test(bitswap:notifications) check if chan is open
Sep 12, 2014
08eb7ba
feat(bitswap:msg) add ToNet() method
Sep 13, 2014
da7432d
feat(bitswap:msg) define interfaces
Sep 13, 2014
069f80d
feat(bitswap:msg) impl FromSwarm method
Sep 13, 2014
5d1bb6a
refactor(bitswap:msg) add, use getters
Sep 13, 2014
ea7615a
refactor(bitswap:msg) move to package
Sep 13, 2014
3490f3e
feat(bs:net) impl service wrapper
Sep 13, 2014
edf25b9
style(bs:notific) let struct field be value
Sep 13, 2014
69ab644
fix(bs:net) add peer to receiver interface
Sep 13, 2014
b3f4fff
refac(bs:msg) let msg.Blocks() return []blocks
Sep 13, 2014
04f280e
feat(util) add u.Key().ToDatastore() method
Sep 14, 2014
1ffd658
refac(bs:msg) msg.Wantlist() returns []u.Key
Sep 14, 2014
5cdfd2b
style(bs:tx) rename network -> transmission
Sep 14, 2014
3db1c02
style(bs:tx) rename receiver -> forwarder
Sep 14, 2014
25b3f77
fix(cmd:ipfs) import err identify -> spipe
Sep 14, 2014
78cc2a9
fix(net) use NetMessage interface
Sep 14, 2014
a80f98f
fix(bs:msg) remove swarm.Message
Sep 14, 2014
69374a0
chore(core) add TODOs to use contexts
Sep 14, 2014
d1d2949
Merge pull request #76 from jbenet/net-plus-bitswap
Sep 14, 2014
cb62727
fix(bs) remove concrete refs to swarm and dht
Sep 14, 2014
2218fc2
refactor(bs, core) rename bitswap objects
Sep 14, 2014
9fb4a87
feat(net:service) add sender interface
Sep 14, 2014
036386b
todo(blockservice, core) add notes
Sep 15, 2014
361115e
feat(bitswap) add interface
Sep 15, 2014
9bba0d2
refactor(blockservice) use bitswap.Exchange interface
Sep 15, 2014
0276c9b
Merge pull request #1 from jbenet/master
llSourcell Sep 15, 2014
a945d4d
add test for DHT package #59
llSourcell Sep 15, 2014
56f57b7
clarifying variables
llSourcell Sep 15, 2014
cebcf10
tests for Daemon Listener #59
llSourcell Sep 15, 2014
b694a4c
allow service to have nil handler
jbenet Sep 15, 2014
598ad39
bugfix: service has a Start func
jbenet Sep 15, 2014
9b93f46
generating privKey, added shutdown function for ipfsnode
llSourcell Sep 16, 2014
79abc60
Service: remove RequestID from SendMessage
jbenet Sep 16, 2014
a57ec77
Move Sender interface to network pkg
jbenet Sep 16, 2014
36dbe06
using IDfromPubKey
llSourcell Sep 16, 2014
f8ee61a
temporarily removing ipfsnode close function, saving for future core …
llSourcell Sep 16, 2014
27422ab
better protobuf Makefile with wildcard.
jbenet Sep 16, 2014
fd00daa
expose handler in inet
jbenet Sep 16, 2014
17f79d8
core dht setup
jbenet Sep 16, 2014
1e1f523
goroutine note comment
jbenet Sep 16, 2014
3c1f277
simpler, clearer dht message
jbenet Sep 16, 2014
18b2ee7
starting on dht-- msg handler
jbenet Sep 16, 2014
e974910
handleGetValue
jbenet Sep 16, 2014
d81ab5e
refactor symbol
jbenet Sep 16, 2014
5b14397
lint nit
jbenet Sep 16, 2014
a85a9ed
ping + find peer
jbenet Sep 16, 2014
e5b39fe
refactor peer distance search + handleGetProviders
jbenet Sep 16, 2014
304bc71
comment out diagnostic
jbenet Sep 16, 2014
8fda238
moved handlers to own file
jbenet Sep 16, 2014
ec28120
refac(bitswap:interface) GetBlock, HaveBlock -> Block, HasBlock
Sep 15, 2014
02ea2a8
feat(util:testutil) add func to generate blocks in tests
Sep 15, 2014
60e1fef
refac(bitswap:notif) replace block generating func
Sep 15, 2014
e47f17d
feat(bitswap) impl offline exchange
Sep 15, 2014
7ead09b
refac(bitswap:message) accept block by value
Sep 15, 2014
6f1e9c8
refac(bitswap:exch) HasBlock(ptr) -> HasBlock(val)
Sep 15, 2014
976bbe9
refactor(bitswap) rm SetStrategy method
Sep 15, 2014
21b7fd0
wip(bitswap) port service wrapper
Sep 16, 2014
b7367fe
refactor(bitswap) rename bitswap/transmission -> bitswap/network
Sep 16, 2014
b38dfc0
feat(net:service) add SetHandler method
Sep 16, 2014
f5ac6ca
feat(bitswap:network) define a service interface for use with net/ser…
Sep 16, 2014
7eba6b8
refac(bitswap) simply network interfaces
Sep 16, 2014
ae898b4
uncomment all handlers
jbenet Sep 16, 2014
c78b4c1
check type assertion
jbenet Sep 16, 2014
b67213d
getValueSingle using SendRequest
jbenet Sep 16, 2014
ba6ce9f
Peerstore -- threadsafe collection
jbenet Sep 16, 2014
56bc17f
Peerstore - threadsafe peer collection
jbenet Sep 16, 2014
e869b06
peerstore test
jbenet Sep 16, 2014
c4459de
added peerstore to core
jbenet Sep 16, 2014
e83d4cf
godep multiaddr update
jbenet Sep 16, 2014
a231e67
Peer: only add addresses once.
jbenet Sep 16, 2014
540423d
peer: golint
jbenet Sep 16, 2014
ca604ba
Peer: change locking to whole Peer object.
jbenet Sep 16, 2014
c8189ee
add Peerstore to dht
jbenet Sep 16, 2014
7b93349
getFromPeerList and peerFromInfo
jbenet Sep 16, 2014
59993c0
updated Update function
jbenet Sep 16, 2014
3573c30
newMessage and more impl.
jbenet Sep 16, 2014
e7226b6
feat(blockstore): implement blockstore
Sep 16, 2014
f4a2c51
style(blockstore) move to top-level
Sep 16, 2014
efc8f15
refac(bitswap) use blockstore
Sep 16, 2014
87eb9e6
refac(bitswap): privatize bitswap
Sep 16, 2014
b14ff4a
chore(util) rm unused DatastoreKey method
Sep 16, 2014
50dc943
refac(bitswap) privatize strategies
Sep 16, 2014
9ed05a9
refac(bitswap) privatize ledger
Sep 16, 2014
62f815b
refac(bitswap) define Directory interface
Sep 16, 2014
5e1b8ed
Merge pull request #3 from jbenet/net
llSourcell Sep 16, 2014
234e057
Merge pull request #4 from jbenet/net
llSourcell Sep 16, 2014
5159533
merged conflict
llSourcell Sep 17, 2014
1e93660
network adapter test and refactoring
llSourcell Sep 18, 2014
9262bc8
clarifying method name
llSourcell Sep 18, 2014
d2a8fcc
clarified method name
llSourcell Sep 18, 2014
51d6d25
method changed
llSourcell Sep 18, 2014
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions Godeps/Godeps.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading