Brian Tiger Chow
4c95eb15b2
refactor(net:message) add NetMessage interface
...
* Design Goal: reduce coupling
* NB: Slices hold references to an underlying array, and if you assign
one slice to another, both refer to the same array. If a function
takes a slice argument, changes it makes to the elements of the slice
will be visible to the caller, analogous to passing a pointer to the
underlying array.
2014-09-12 17:58:12 -07:00
Juan Batiz-Benet
71a19e17b4
Service + request
2014-09-11 03:47:37 -07:00
Juan Batiz-Benet
e81dc87973
removed logging in conn_test
2014-09-11 00:59:54 -07:00
Juan Batiz-Benet
cd6b4e4867
moved conn to own pkg
2014-09-11 00:58:35 -07:00
Juan Batiz-Benet
12c82841d8
message pkg
2014-09-11 00:57:00 -07:00
Juan Batiz-Benet
8613b01810
mux test stop.
2014-09-11 00:56:22 -07:00
Juan Batiz-Benet
629c3bd0bf
added mux
2014-09-10 22:01:09 -07:00
Juan Batiz-Benet
be66f134a3
network.Find -> network.GetPeer
2014-08-31 17:21:48 -07:00
Juan Batiz-Benet
17f1665ab8
Drop -> CloseConnection
2014-08-31 17:21:48 -07:00
Juan Batiz-Benet
e9e13f7fea
panic -> error
2014-08-31 17:21:48 -07:00
Jeromy
9338caa9d8
working on making importer not break on large files
2014-08-31 10:10:34 -07:00
Jeromy
ddd2a9aee5
fix core package test
2014-08-30 12:54:59 -07:00
Jeromy
f4eb242a4e
Merge branch 'bitswap'
2014-08-30 12:31:01 -07:00
Jeromy
1f309b72d0
implement basic rabin fingerprint file splitting
2014-08-30 10:53:26 -07:00
Jeromy
c2cc4b1d70
a little cleanup, ipfs 'works' for basic file adds and cats
2014-08-29 17:22:40 -07:00
Jeromy
691d1b36bb
integrate bitswap and blockservice into the core package
2014-08-29 11:34:50 -07:00
Jeromy
fcff5a5c96
rework bitswap to reflect discussion on PR #32
2014-08-28 16:48:00 -07:00
Jeromy
af2f04ae89
fixing up some bitswap stuff after the PR
2014-08-28 12:01:03 -07:00
Jeromy Johnson
fbd611f4a4
Update dev.md
2014-08-27 11:20:05 -07:00
Jeromy
cfdf01d58a
bitswap first working commit!
2014-08-26 14:24:51 -07:00
Jeromy
678db4fa40
more work on bitswap and other code cleanup
2014-08-25 09:44:42 -07:00
Jeromy
91e4675cbf
basic implementation of bitswap, needs testing/verification that it works
2014-08-24 18:13:05 -07:00
Jeromy
c5e7273cab
refactor to allow use of mes_listener outside of dht
2014-08-23 22:25:50 -07:00
Jeromy
05b80afc35
fix swarm message type code, i beleive it works well now
2014-08-20 18:42:40 -07:00
Jeromy
afdac2ca3a
add in message type routing to the swarm object. tired, needs cleanup.
2014-08-20 18:42:31 -07:00
Jeromy
060930c486
removed failure call i forgot to remove
2014-08-20 18:42:26 -07:00
Jeromy
c9c9420912
add some more tests in
2014-08-20 18:42:26 -07:00
Jeromy
35ed8c460c
change providers map and lock over to an agent based approach for managing providers
2014-08-20 18:42:26 -07:00
Jeromy
3c1580e1d1
fix a few race conditions and add in newlines to print statements
2014-08-20 18:42:26 -07:00
Jeromy
0a43ceaa13
add in message wrapper protobuf code
2014-08-20 18:42:25 -07:00
Jeromy
f1d232ac0f
make swarm wrap all its messages with a type, filter these later
2014-08-20 18:42:25 -07:00
Chas Leichner
a6851fa55b
Made routing code pass golint.
2014-08-20 18:36:32 -07:00
Chas Leichner
87bfdbc599
Made the DHT module pass golint
2014-08-20 18:36:21 -07:00
Chas Leichner
2c74093bc7
Made the DHT module pass golint
2014-08-20 18:36:13 -07:00
Juan Batiz-Benet
0fdc571554
POut should not have a newline
2014-08-20 18:29:31 -07:00
Juan Batiz-Benet
e658ade600
sigmoid strat placeholder
2014-08-20 18:29:22 -07:00
Juan Batiz-Benet
668a90f6b6
use Printf in cat
2014-08-20 18:27:42 -07:00
Chas Leichner
7366db3a59
Add dep on protoc compiler
2014-08-20 18:26:45 -07:00
Chas Leichner
9b4c0f258e
Upgraded merkledag proto
2014-08-20 18:26:38 -07:00
Juan Batiz-Benet
c1ae1d2ad4
mkdir .go-ipfs bugfix
2014-08-20 18:26:28 -07:00
Juan Batiz-Benet
9b06ad53bd
added ledger file
2014-08-20 18:25:33 -07:00
Juan Batiz-Benet
9c4e6703e0
lint fixes
2014-08-20 18:25:18 -07:00
Juan Batiz-Benet
0c1a202783
more fleshed out bitswap interface
2014-08-20 18:23:44 -07:00
Chas
99463ee881
Added full install instructions.
2014-08-16 14:26:15 -07:00
Jeromy
861fbff82f
Merge branch 'dht'
2014-08-16 14:14:32 -07:00
Juan Batiz-Benet
2a7dafdc94
Merge pull request #25 from jbenet/dht
...
DHT PR
2014-08-16 14:11:05 -07:00
Jeromy
2f3121024a
add files i forgot to last night
2014-08-16 08:20:29 -07:00
Jeromy
8a1fdbb83d
rewrite message response listening framework
2014-08-15 22:37:53 -07:00
Jeromy
b7a882be89
get implementation according to kademlia spec.
2014-08-15 09:39:38 -07:00
Jeromy
60d061cb49
fix a few infinitely looping RPCs
2014-08-14 08:32:17 -07:00