-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Net #89
Commits on Sep 14, 2014
-
Configuration menu - View commit details
-
Copy full SHA for 8acabe7 - Browse repository at this point
Copy the full SHA 8acabe7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 32765ed - Browse repository at this point
Copy the full SHA 32765edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ef6a44 - Browse repository at this point
Copy the full SHA 6ef6a44View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a90469 - Browse repository at this point
Copy the full SHA 8a90469View commit details -
Configuration menu - View commit details
-
Copy full SHA for ff4ebbf - Browse repository at this point
Copy the full SHA ff4ebbfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 05714d9 - Browse repository at this point
Copy the full SHA 05714d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d410e8 - Browse repository at this point
Copy the full SHA 1d410e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for cd9debd - Browse repository at this point
Copy the full SHA cd9debdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8186c34 - Browse repository at this point
Copy the full SHA 8186c34View commit details -
Configuration menu - View commit details
-
Copy full SHA for b056f3b - Browse repository at this point
Copy the full SHA b056f3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for bff09da - Browse repository at this point
Copy the full SHA bff09daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 99416ba - Browse repository at this point
Copy the full SHA 99416baView commit details -
Configuration menu - View commit details
-
Copy full SHA for c4af51c - Browse repository at this point
Copy the full SHA c4af51cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 82623d8 - Browse repository at this point
Copy the full SHA 82623d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for ccdf8f3 - Browse repository at this point
Copy the full SHA ccdf8f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for a321cb1 - Browse repository at this point
Copy the full SHA a321cb1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 311ffc1 - Browse repository at this point
Copy the full SHA 311ffc1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 08c890f - Browse repository at this point
Copy the full SHA 08c890fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 42d86b5 - Browse repository at this point
Copy the full SHA 42d86b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7223700 - Browse repository at this point
Copy the full SHA 7223700View commit details -
feat(net:message) get net package from e2430ae
fix(net:msg) use vendored imports
Brian Tiger Chow committedSep 14, 2014 Configuration menu - View commit details
-
Copy full SHA for 1255b2a - Browse repository at this point
Copy the full SHA 1255b2aView commit details -
refactor(bitswap) leverage third-party pubsub lib
use a third-party pubsub library for internal communications Insights: * Within bitswap, the actors don't need anything more than simple pubsub behavior. Wrapping and unwrapping messages proves unneccessary. Changes: * Simplifies the interface for both actors calling GetBlock and actors receiving blocks on the network * Leverages a well-tested third-party pubsub library Design Goals: * reduce complexity * extract implementation details (wrapping and unwrapping data, etc) from bitswap and let bitswap focus on composition of core algorithms operations
Brian Tiger Chow committedSep 14, 2014 Configuration menu - View commit details
-
Copy full SHA for dd48b13 - Browse repository at this point
Copy the full SHA dd48b13View commit details -
refactor(bitswap) meslistener -> notifications
Brian Tiger Chow committedSep 14, 2014 Configuration menu - View commit details
-
Copy full SHA for c2f1c15 - Browse repository at this point
Copy the full SHA c2f1c15View commit details -
fix(bitswap:notifications) shutdown on bs.Halt()
Brian Tiger Chow committedSep 14, 2014 Configuration menu - View commit details
-
Copy full SHA for fb6a021 - Browse repository at this point
Copy the full SHA fb6a021View commit details -
style(bitswap:notifications) rm explicit returns
Brian Tiger Chow committedSep 14, 2014 Configuration menu - View commit details
-
Copy full SHA for ecd816b - Browse repository at this point
Copy the full SHA ecd816bView commit details -
fix(bitswap:notifications) close chan on Publish
Brian Tiger Chow committedSep 14, 2014 Configuration menu - View commit details
-
Copy full SHA for 2284749 - Browse repository at this point
Copy the full SHA 2284749View commit details -
docs(bitswap:notifications) Subscribe
Brian Tiger Chow committedSep 14, 2014 Configuration menu - View commit details
-
Copy full SHA for 2ab8778 - Browse repository at this point
Copy the full SHA 2ab8778View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c6ee24 - Browse repository at this point
Copy the full SHA 6c6ee24View commit details -
test(bitswap:notifications) check if chan is open
Brian Tiger Chow committedSep 14, 2014 Configuration menu - View commit details
-
Copy full SHA for 7083af9 - Browse repository at this point
Copy the full SHA 7083af9View commit details -
feat(bitswap:msg) add ToNet() method
Brian Tiger Chow committedSep 14, 2014 Configuration menu - View commit details
-
Copy full SHA for 08eb7ba - Browse repository at this point
Copy the full SHA 08eb7baView commit details -
feat(bitswap:msg) define interfaces
Brian Tiger Chow committedSep 14, 2014 Configuration menu - View commit details
-
Copy full SHA for da7432d - Browse repository at this point
Copy the full SHA da7432dView commit details -
feat(bitswap:msg) impl FromSwarm method
Brian Tiger Chow committedSep 14, 2014 Configuration menu - View commit details
-
Copy full SHA for 069f80d - Browse repository at this point
Copy the full SHA 069f80dView commit details -
refactor(bitswap:msg) add, use getters
Brian Tiger Chow committedSep 14, 2014 Configuration menu - View commit details
-
Copy full SHA for 5d1bb6a - Browse repository at this point
Copy the full SHA 5d1bb6aView commit details -
refactor(bitswap:msg) move to package
Brian Tiger Chow committedSep 14, 2014 Configuration menu - View commit details
-
Copy full SHA for ea7615a - Browse repository at this point
Copy the full SHA ea7615aView commit details -
feat(bs:net) impl service wrapper
Brian Tiger Chow committedSep 14, 2014 Configuration menu - View commit details
-
Copy full SHA for 3490f3e - Browse repository at this point
Copy the full SHA 3490f3eView commit details -
style(bs:notific) let struct field be value
rather than pointer
Brian Tiger Chow committedSep 14, 2014 Configuration menu - View commit details
-
Copy full SHA for edf25b9 - Browse repository at this point
Copy the full SHA edf25b9View commit details -
fix(bs:net) add peer to receiver interface
Brian Tiger Chow committedSep 14, 2014 Configuration menu - View commit details
-
Copy full SHA for 69ab644 - Browse repository at this point
Copy the full SHA 69ab644View commit details -
refac(bs:msg) let msg.Blocks() return []blocks
discard erroneous values wherever blocks cannot be nil, use value rather than pointer. only use pointers when absolutely necessary.
Brian Tiger Chow committedSep 14, 2014 Configuration menu - View commit details
-
Copy full SHA for b3f4fff - Browse repository at this point
Copy the full SHA b3f4fffView commit details -
feat(util) add u.Key().ToDatastore() method
Brian Tiger Chow committedSep 14, 2014 Configuration menu - View commit details
-
Copy full SHA for 04f280e - Browse repository at this point
Copy the full SHA 04f280eView commit details -
refac(bs:msg) msg.Wantlist() returns []u.Key
Brian Tiger Chow committedSep 14, 2014 Configuration menu - View commit details
-
Copy full SHA for 1ffd658 - Browse repository at this point
Copy the full SHA 1ffd658View commit details -
style(bs:tx) rename network -> transmission
Brian Tiger Chow committedSep 14, 2014 Configuration menu - View commit details
-
Copy full SHA for 5cdfd2b - Browse repository at this point
Copy the full SHA 5cdfd2bView commit details -
style(bs:tx) rename receiver -> forwarder
Brian Tiger Chow committedSep 14, 2014 Configuration menu - View commit details
-
Copy full SHA for 3db1c02 - Browse repository at this point
Copy the full SHA 3db1c02View commit details -
fix(cmd:ipfs) import err identify -> spipe
Brian Tiger Chow committedSep 14, 2014 Configuration menu - View commit details
-
Copy full SHA for 25b3f77 - Browse repository at this point
Copy the full SHA 25b3f77View commit details -
fix(net) use NetMessage interface
Brian Tiger Chow committedSep 14, 2014 Configuration menu - View commit details
-
Copy full SHA for 78cc2a9 - Browse repository at this point
Copy the full SHA 78cc2a9View commit details -
fix(bs:msg) remove swarm.Message
no longer exists. instead, use net message
Brian Tiger Chow committedSep 14, 2014 Configuration menu - View commit details
-
Copy full SHA for a80f98f - Browse repository at this point
Copy the full SHA a80f98fView commit details -
chore(core) add TODOs to use contexts
Brian Tiger Chow committedSep 14, 2014 Configuration menu - View commit details
-
Copy full SHA for 69374a0 - Browse repository at this point
Copy the full SHA 69374a0View commit details -
Merge pull request #76 from jbenet/net-plus-bitswap
integrate bitswap with net
Brian Tiger Chow committedSep 14, 2014 Configuration menu - View commit details
-
Copy full SHA for d1d2949 - Browse repository at this point
Copy the full SHA d1d2949View commit details -
fix(bs) remove concrete refs to swarm and dht
Brian Tiger Chow committedSep 14, 2014 Configuration menu - View commit details
-
Copy full SHA for cb62727 - Browse repository at this point
Copy the full SHA cb62727View commit details -
refactor(bs, core) rename bitswap objects
Brian Tiger Chow committedSep 14, 2014 Configuration menu - View commit details
-
Copy full SHA for 2218fc2 - Browse repository at this point
Copy the full SHA 2218fc2View commit details -
feat(net:service) add sender interface
Brian Tiger Chow committedSep 14, 2014 Configuration menu - View commit details
-
Copy full SHA for 9fb4a87 - Browse repository at this point
Copy the full SHA 9fb4a87View commit details
Commits on Sep 15, 2014
-
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
Brian Tiger Chow committedSep 15, 2014 Configuration menu - View commit details
-
Copy full SHA for 036386b - Browse repository at this point
Copy the full SHA 036386bView commit details -
Brian Tiger Chow committed
Sep 15, 2014 Configuration menu - View commit details
-
Copy full SHA for 361115e - Browse repository at this point
Copy the full SHA 361115eView commit details -
refactor(blockservice) use bitswap.Exchange interface
Brian Tiger Chow committedSep 15, 2014 Configuration menu - View commit details
-
Copy full SHA for 9bba0d2 - Browse repository at this point
Copy the full SHA 9bba0d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0276c9b - Browse repository at this point
Copy the full SHA 0276c9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for a945d4d - Browse repository at this point
Copy the full SHA a945d4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 56f57b7 - Browse repository at this point
Copy the full SHA 56f57b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for cebcf10 - Browse repository at this point
Copy the full SHA cebcf10View commit details -
allow service to have nil handler
@perfmode this means we can create a Service first, give it to the network and protocol (removing interdep).
Configuration menu - View commit details
-
Copy full SHA for b694a4c - Browse repository at this point
Copy the full SHA b694a4cView commit details -
bugfix: service has a Start func
We were issuing handling goroutines in both NewService and Start
Configuration menu - View commit details
-
Copy full SHA for 598ad39 - Browse repository at this point
Copy the full SHA 598ad39View commit details
Commits on Sep 16, 2014
-
Configuration menu - View commit details
-
Copy full SHA for 9b93f46 - Browse repository at this point
Copy the full SHA 9b93f46View commit details -
Configuration menu - View commit details
-
Copy full SHA for 79abc60 - Browse repository at this point
Copy the full SHA 79abc60View commit details -
Move Sender interface to network pkg
@perfmode sender is exactly what we need to pass in to dht/bitswap.
Configuration menu - View commit details
-
Copy full SHA for a57ec77 - Browse repository at this point
Copy the full SHA a57ec77View commit details -
Configuration menu - View commit details
-
Copy full SHA for 36dbe06 - Browse repository at this point
Copy the full SHA 36dbe06View commit details -
Configuration menu - View commit details
-
Copy full SHA for f8ee61a - Browse repository at this point
Copy the full SHA f8ee61aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 27422ab - Browse repository at this point
Copy the full SHA 27422abView commit details -
Configuration menu - View commit details
-
Copy full SHA for fd00daa - Browse repository at this point
Copy the full SHA fd00daaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 17f79d8 - Browse repository at this point
Copy the full SHA 17f79d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e1f523 - Browse repository at this point
Copy the full SHA 1e1f523View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c1f277 - Browse repository at this point
Copy the full SHA 3c1f277View commit details -
Configuration menu - View commit details
-
Copy full SHA for 18b2ee7 - Browse repository at this point
Copy the full SHA 18b2ee7View commit details -
Configuration menu - View commit details
-
Copy full SHA for e974910 - Browse repository at this point
Copy the full SHA e974910View commit details -
Configuration menu - View commit details
-
Copy full SHA for d81ab5e - Browse repository at this point
Copy the full SHA d81ab5eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b14397 - Browse repository at this point
Copy the full SHA 5b14397View commit details -
Configuration menu - View commit details
-
Copy full SHA for a85a9ed - Browse repository at this point
Copy the full SHA a85a9edView commit details -
Configuration menu - View commit details
-
Copy full SHA for e5b39fe - Browse repository at this point
Copy the full SHA e5b39feView commit details -
it'll have to change lots since the listener is gone
Configuration menu - View commit details
-
Copy full SHA for 304bc71 - Browse repository at this point
Copy the full SHA 304bc71View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8fda238 - Browse repository at this point
Copy the full SHA 8fda238View commit details -
refac(bitswap:interface) GetBlock, HaveBlock -> Block, HasBlock
Brian Tiger Chow committedSep 16, 2014 Configuration menu - View commit details
-
Copy full SHA for ec28120 - Browse repository at this point
Copy the full SHA ec28120View commit details -
feat(util:testutil) add func to generate blocks in tests
Brian Tiger Chow committedSep 16, 2014 Configuration menu - View commit details
-
Copy full SHA for 02ea2a8 - Browse repository at this point
Copy the full SHA 02ea2a8View commit details -
refac(bitswap:notif) replace block generating func
Brian Tiger Chow committedSep 16, 2014 Configuration menu - View commit details
-
Copy full SHA for 60e1fef - Browse repository at this point
Copy the full SHA 60e1fefView commit details -
feat(bitswap) impl offline exchange
Brian Tiger Chow committedSep 16, 2014 Configuration menu - View commit details
-
Copy full SHA for e47f17d - Browse repository at this point
Copy the full SHA e47f17dView commit details -
refac(bitswap:message) accept block by value
Brian Tiger Chow committedSep 16, 2014 Configuration menu - View commit details
-
Copy full SHA for 7ead09b - Browse repository at this point
Copy the full SHA 7ead09bView commit details -
refac(bitswap:exch) HasBlock(ptr) -> HasBlock(val)
Brian Tiger Chow committedSep 16, 2014 Configuration menu - View commit details
-
Copy full SHA for 6f1e9c8 - Browse repository at this point
Copy the full SHA 6f1e9c8View commit details -
refactor(bitswap) rm SetStrategy method
remove this setter while the interface is under construction
Brian Tiger Chow committedSep 16, 2014 Configuration menu - View commit details
-
Copy full SHA for 976bbe9 - Browse repository at this point
Copy the full SHA 976bbe9View commit details -
wip(bitswap) port service wrapper
Brian Tiger Chow committedSep 16, 2014 Configuration menu - View commit details
-
Copy full SHA for 21b7fd0 - Browse repository at this point
Copy the full SHA 21b7fd0View commit details -
refactor(bitswap) rename bitswap/transmission -> bitswap/network
makes more sense this way
Brian Tiger Chow committedSep 16, 2014 Configuration menu - View commit details
-
Copy full SHA for b7367fe - Browse repository at this point
Copy the full SHA b7367feView commit details -
feat(net:service) add SetHandler method
Allows the service to be used through an interface. NB: If the handler is exposed directly, clients of the service cannot swap out their concrete references and replace them with interfaces
Brian Tiger Chow committedSep 16, 2014 Configuration menu - View commit details
-
Copy full SHA for b38dfc0 - Browse repository at this point
Copy the full SHA b38dfc0View commit details -
feat(bitswap:network) define a service interface for use with net/ser…
…vice/Service
Brian Tiger Chow committedSep 16, 2014 Configuration menu - View commit details
-
Copy full SHA for f5ac6ca - Browse repository at this point
Copy the full SHA f5ac6caView commit details -
refac(bitswap) simply network interfaces
Brian Tiger Chow committedSep 16, 2014 Configuration menu - View commit details
-
Copy full SHA for 7eba6b8 - Browse repository at this point
Copy the full SHA 7eba6b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae898b4 - Browse repository at this point
Copy the full SHA ae898b4View commit details -
`v.([]byte)` coming from a datastore can panic. `byt, ok := v.([]byte)` to be safe. @whyrusleeping
Configuration menu - View commit details
-
Copy full SHA for c78b4c1 - Browse repository at this point
Copy the full SHA c78b4c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for b67213d - Browse repository at this point
Copy the full SHA b67213dView commit details -
Peerstore -- threadsafe collection
this will later have persistent storage, but no need yet
Configuration menu - View commit details
-
Copy full SHA for ba6ce9f - Browse repository at this point
Copy the full SHA ba6ce9fView commit details -
Peerstore - threadsafe peer collection
will have persistence later on as a datastore passed in.
Configuration menu - View commit details
-
Copy full SHA for 56bc17f - Browse repository at this point
Copy the full SHA 56bc17fView commit details -
Configuration menu - View commit details
-
Copy full SHA for e869b06 - Browse repository at this point
Copy the full SHA e869b06View commit details -
Configuration menu - View commit details
-
Copy full SHA for c4459de - Browse repository at this point
Copy the full SHA c4459deView commit details -
Configuration menu - View commit details
-
Copy full SHA for e83d4cf - Browse repository at this point
Copy the full SHA e83d4cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for a231e67 - Browse repository at this point
Copy the full SHA a231e67View commit details -
Configuration menu - View commit details
-
Copy full SHA for 540423d - Browse repository at this point
Copy the full SHA 540423dView commit details -
Configuration menu - View commit details
-
Copy full SHA for ca604ba - Browse repository at this point
Copy the full SHA ca604baView commit details -
Configuration menu - View commit details
-
Copy full SHA for c8189ee - Browse repository at this point
Copy the full SHA c8189eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b93349 - Browse repository at this point
Copy the full SHA 7b93349View commit details -
Configuration menu - View commit details
-
Copy full SHA for 59993c0 - Browse repository at this point
Copy the full SHA 59993c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3573c30 - Browse repository at this point
Copy the full SHA 3573c30View commit details -
feat(blockstore): implement blockstore
Brian Tiger Chow committedSep 16, 2014 Configuration menu - View commit details
-
Copy full SHA for e7226b6 - Browse repository at this point
Copy the full SHA e7226b6View commit details -
style(blockstore) move to top-level
Brian Tiger Chow committedSep 16, 2014 Configuration menu - View commit details
-
Copy full SHA for f4a2c51 - Browse repository at this point
Copy the full SHA f4a2c51View commit details -
Brian Tiger Chow committed
Sep 16, 2014 Configuration menu - View commit details
-
Copy full SHA for efc8f15 - Browse repository at this point
Copy the full SHA efc8f15View commit details -
refac(bitswap): privatize bitswap
Brian Tiger Chow committedSep 16, 2014 Configuration menu - View commit details
-
Copy full SHA for 87eb9e6 - Browse repository at this point
Copy the full SHA 87eb9e6View commit details -
chore(util) rm unused DatastoreKey method
Brian Tiger Chow committedSep 16, 2014 Configuration menu - View commit details
-
Copy full SHA for b14ff4a - Browse repository at this point
Copy the full SHA b14ff4aView commit details -
refac(bitswap) privatize strategies
temporarily. until bitswap is refactored
Brian Tiger Chow committedSep 16, 2014 Configuration menu - View commit details
-
Copy full SHA for 50dc943 - Browse repository at this point
Copy the full SHA 50dc943View commit details -
refac(bitswap) privatize ledger
temporarily. at least until refactor is complete
Brian Tiger Chow committedSep 16, 2014 Configuration menu - View commit details
-
Copy full SHA for 9ed05a9 - Browse repository at this point
Copy the full SHA 9ed05a9View commit details -
refac(bitswap) define Directory interface
Brian Tiger Chow committedSep 16, 2014 Configuration menu - View commit details
-
Copy full SHA for 62f815b - Browse repository at this point
Copy the full SHA 62f815bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e1b8ed - Browse repository at this point
Copy the full SHA 5e1b8edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 234e057 - Browse repository at this point
Copy the full SHA 234e057View commit details
Commits on Sep 17, 2014
-
Configuration menu - View commit details
-
Copy full SHA for 5159533 - Browse repository at this point
Copy the full SHA 5159533View commit details
Commits on Sep 18, 2014
-
Configuration menu - View commit details
-
Copy full SHA for 1e93660 - Browse repository at this point
Copy the full SHA 1e93660View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9262bc8 - Browse repository at this point
Copy the full SHA 9262bc8View commit details -
Configuration menu - View commit details
-
Copy full SHA for d2a8fcc - Browse repository at this point
Copy the full SHA d2a8fccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 51d6d25 - Browse repository at this point
Copy the full SHA 51d6d25View commit details