Commit Graph

10437 Commits

Author SHA1 Message Date
Juan Batiz-Benet
881f5c9883 secio unexpose bufPool 2014-12-12 03:33:09 -08:00
Juan Batiz-Benet
e7edeca392 added log.Events to secio 2014-12-12 03:29:09 -08:00
Brian Tiger Chow
67665069d1 Update interface.go 2014-12-12 03:10:47 -08:00
Brian Tiger Chow
24308148ad Update interface.go 2014-12-12 03:10:25 -08:00
Juan Batiz-Benet
9267f45085 secio: encrypt copy
sadly, encrypting needs to copy, as the user supplied buffer
must not be mangled.
2014-12-12 02:47:37 -08:00
Juan Batiz-Benet
8d961fc03b secio: better handshake log msg 2014-12-12 02:47:36 -08:00
Juan Batiz-Benet
5b142948ab seccat (to test sio) 2014-12-12 02:45:23 -08:00
Juan Batiz-Benet
5aab08fe4f secio -- spipe v2
This commit introduces secio, the next generation spipe.
2014-12-12 02:45:23 -08:00
Juan Batiz-Benet
aed70170dc msgio proper write 2014-12-12 02:45:22 -08:00
Juan Batiz-Benet
9d05b35231 crypto/key: stretcher refactor 2014-12-12 02:45:22 -08:00
Juan Batiz-Benet
ac2be0b68b util/log: SetDebugLogging 2014-12-12 02:45:22 -08:00
Juan Batiz-Benet
477f5c8838 update msgio (combine) 2014-12-12 02:45:22 -08:00
Jeromy Johnson
a62b239e04 Merge pull request #441 from jbenet/rtable-simplify
remove multilayered routing table from the DHT (for now)
2014-12-11 06:20:54 +00:00
Jeromy
8cdf566865 remove multilayered routing table from the DHT (for now) 2014-12-11 06:08:53 +00:00
Jeromy Johnson
ba1a6c0850 Merge pull request #440 from jbenet/findprovs-rewrite
rewrite FindProvidersAsync
2014-12-11 05:54:16 +00:00
Jeromy
9e14bcfe2d changes from PR 2014-12-11 05:42:05 +00:00
Jeromy
2d94b78480 rewrite FindProvidersAsync 2014-12-11 05:09:03 +00:00
Juan Batiz-Benet
f952275bf2 shorter queue test (reloaded) 2014-12-10 21:06:07 -08:00
Juan Batiz-Benet
0f12f4b245 shorter peer queue test 2014-12-10 21:03:31 -08:00
Juan Batiz-Benet
beb70c9449 Merge pull request #436 from jbenet/feat/context-clues
add UUID to root context
2014-12-09 15:41:31 -08:00
Brian Tiger Chow
fb45e7b7fb fix: name
editing in the browser here goes nothing
2014-12-09 15:27:02 -08:00
Brian Tiger Chow
c2c95d1105 start threading context through the system
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-12-09 07:11:48 -08:00
Juan Batiz-Benet
11df4d5b80 Merge pull request #432 from jbenet/fix/seed
fix: seed the random number generator
2014-12-09 02:38:52 -08:00
Juan Batiz-Benet
a9da519715 test/countineyn terminal and error code 2014-12-09 02:24:11 -08:00
Juan Batiz-Benet
dc9f1c4532 net: README.
I'm using a Google Drawing to make this diagram.
Turned out pretty well.
2014-12-09 02:12:43 -08:00
Brian Tiger Chow
6780228765 fix: seed the random number generator
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-12-09 00:06:53 -08:00
Juan Batiz-Benet
04a5dd5164 Merge pull request #431 from jbenet/hotfix/bootstrap-uranus-saturn
fix(bootstrap) swap IP addresses of Uranus and Saturn
2014-12-08 23:29:19 -08:00
Brian Tiger Chow
bd685045c8 fix: uranus and saturn IP addresses
Mistake: Saturn referred to the NY node and vice versa.

Correction: Fittingly, Uranus is in NY and _S_aturn is _S_ingapore.

I'll have to reboot the testnet to rectify the changes.

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-12-08 23:19:52 -08:00
Juan Batiz-Benet
d74ea449f6 Merge pull request #428 from jbenet/dht-connected-peers
dht find connected peers
2014-12-08 22:05:33 -08:00
Juan Batiz-Benet
26a44fcc06 dht: comment for asyncQueryBuffer 2014-12-08 21:55:51 -08:00
Juan Batiz-Benet
93872a52fc net/interface: use iota 2014-12-08 21:12:58 -08:00
Juan Batiz-Benet
6040a3efcc make vendor (datastore fail??) 2014-12-08 20:53:31 -08:00
Juan Batiz-Benet
e0f11dff24 dht: FindPeersConnectedToPeer 2014-12-08 20:52:46 -08:00
Juan Batiz-Benet
d06bb6d826 dht: update to use net.LocalPeer 2014-12-08 20:52:45 -08:00
Juan Batiz-Benet
f15ab8eec3 net: add LocalPeer funcs 2014-12-08 20:52:45 -08:00
Juan Batiz-Benet
ff1e672d5a dht/pb: changed PeersToPBPeers to set ConnectionType
Uses an inet.Dialer
2014-12-08 20:52:45 -08:00
Juan Batiz-Benet
94f04c7fcc net: add Connectedness var. 2014-12-08 20:52:45 -08:00
Juan Batiz-Benet
26e7656164 dht tests: dont introduce nil multiaddr
this is the type of assumption we shouldn't violate.
2014-12-08 20:52:45 -08:00
Juan Batiz-Benet
c5c0e7e8f3 dht: changed msgs, include multiple addrs + conn type
See https://github.com/jbenet/go-ipfs/issues/153#issuecomment-63350535
2014-12-08 20:52:34 -08:00
Juan Batiz-Benet
c51b6db012 Merge pull request #429 from jbenet/makefile-all-commits
Makefile: add test_all_commits
2014-12-08 20:47:10 -08:00
Juan Batiz-Benet
b0e251bda1 Makefile: add test_all_commits 2014-12-08 20:39:00 -08:00
Juan Batiz-Benet
a1237733c2 dht: linting 2014-12-08 19:28:05 -08:00
Brian Tiger Chow
72dd371809 Merge pull request #425 from jbenet/fix/bootstrap-panic
fix(core) bootstrap panic
2014-12-08 18:09:05 -08:00
Brian Tiger Chow
f8a449953b fix(core) bootstrap panic
@jbenet @mappum

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-12-08 18:04:41 -08:00
Brian Tiger Chow
5f3ae91f9f Merge pull request #422 from jbenet/feat/supervise-connections
feat(core) supervise bootstrap connections
2014-12-08 16:46:42 -08:00
Brian Tiger Chow
db700839d4 rm logging statement that isn't that useful
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-12-08 16:29:33 -08:00
Brian Tiger Chow
df4b54524c refactor(bootstrap) reduce interface
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-12-08 16:29:29 -08:00
Brian Tiger Chow
7b5eff5cef feat(bootstrap) consider active cxns and connect to subset
* only bootstrap if the number of active connections falls below a given threshold
* when bootstrapping, connect to a subset of peers

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-12-08 16:29:25 -08:00
Brian Tiger Chow
175da4f584 feat(core) supervise bootstrap connections
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-12-08 16:29:20 -08:00
Brian Tiger Chow
80bc9251a6 style(peer) shorter ID when printing Peer
feel free to contest/revert if this becomes a problem

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-12-08 16:28:31 -08:00