1818 Commits

Author SHA1 Message Date
David Craven
d12aab80a5
Update README. 2019-02-27 19:18:58 +01:00
David Craven
3b58e24301
Update examples. 2019-02-27 19:11:12 +01:00
David Craven
ad3c04f5c8
IpldDag resolves non local blocks. 2019-02-27 18:08:54 +01:00
David Craven
d643b9074f
Don't box futures when unnecessary. 2019-02-27 16:57:38 +01:00
David Craven
ba3cb3d7f2
Take references to cids in APIs. 2019-02-27 16:41:36 +01:00
David Craven
b86df11135
Always connect to discovered nodes. 2019-02-27 16:05:43 +01:00
David Craven
8be9318a9c
Enable legacy mdns. 2019-02-27 15:57:50 +01:00
David Craven
15b786cebd
Add ping and identify behaviour. 2019-02-27 15:56:06 +01:00
David Craven
d9833f7881
Use Future v1 wakeup mechanism. 2019-02-26 12:20:29 +01:00
David Craven
1e512a4078
Add some tests and refactor examples. 2019-02-25 17:15:12 +01:00
David Craven
ac36e50fe8
Hook up IpldDag, currently only uses local blocks. 2019-02-25 16:49:25 +01:00
David Craven
7eeed01f85
Fix copyright year. 2019-02-25 15:42:05 +01:00
David Craven
5be8b9509d
Remove local rust-cbor dep. 2019-02-25 15:40:39 +01:00
David Craven
b35c1b2263
ipld: Simplify dag tests. 2019-02-24 00:14:49 +01:00
David Craven
5de5573030
ipld: IpldPath can be constructed from a Cid and a &str. 2019-02-24 00:12:06 +01:00
David Craven
6cb07bb10e
ipld: IpldPath can be constructed from a String. 2019-02-23 23:57:35 +01:00
David Craven
e2d2bc8541
ipld: Implement From trait. 2019-02-23 23:31:46 +01:00
David Craven
9d4c53ad4b
ipld: Implement basic ipld handling. 2019-02-23 22:56:48 +01:00
David Craven
e64cf71fe4
Update README. 2019-02-22 15:58:19 +01:00
David Craven
8ffa13c7c5
Make FsBlockStore the default. 2019-02-22 15:56:52 +01:00
David Craven
841effbcd4
repo: fs: Finish implementation. 2019-02-22 15:51:37 +01:00
David Craven
1adf81f4ff
repo: init and put return a result. 2019-02-22 13:00:28 +01:00
David Craven
999f986a82
Fix IPFS_PATH default setting. 2019-02-22 12:59:23 +01:00
David Craven
e2e24cc4f3
Use async + await. 2019-02-21 22:28:59 +01:00
David Craven
c54e107e3e
Pass IPFS_PATH to repo. 2019-02-19 13:06:21 +01:00
David Craven
7a71a70b89
Reorganize repo module. 2019-02-19 10:52:56 +01:00
David Craven
2814b3e1c2
Complete inversion of control. 2019-02-18 20:49:57 +01:00
David Craven
c90bb699d2
Update README. 2019-02-18 18:57:52 +01:00
David Craven
8549f8d47a
Rearchitect configuration system. 2019-02-18 18:53:14 +01:00
David Craven
49fe10dade
Improve logging output. 2019-02-18 14:32:35 +01:00
David Craven
c2198cd984
Add README. 2019-02-14 01:26:35 +01:00
David Craven
3883316552
Remove local dependencies. 2019-02-14 01:26:17 +01:00
David Craven
d83c804f75
examples: client1: Load configuration from file. 2019-02-14 01:25:46 +01:00
David Craven
80c83661fd
Enable kademlia. 2019-02-14 00:06:18 +01:00
David Craven
bf9ce677d9
Delete main.rs 2019-02-14 00:05:55 +01:00
David Craven
ea56247def
Add logging to examples. 2019-02-14 00:05:40 +01:00
David Craven
b844fe17d4
Add examples. 2019-02-13 23:46:55 +01:00
David Craven
79b03707be
Use yamux instead of mplex. 2019-02-13 23:46:31 +01:00
David Craven
96bc5d1bdc
Use log crate for logging. 2019-02-13 23:46:13 +01:00
David Craven
4d2eb971a5
Update Cargo.lock 2019-02-13 22:32:53 +01:00
David Craven
3b9a9ed846
Improve logging output. 2019-02-13 22:31:58 +01:00
David Craven
61862e9568
Disable dht and use mdns. 2019-02-13 22:30:48 +01:00
David Craven
13e1017d1c
Update Cargo.lock 2019-02-13 22:28:48 +01:00
David Craven
ac56b74acd
bitswap: Insert received block into repo. 2019-02-05 22:46:55 +01:00
David Craven
b21d9c39ca
Better logging. 2019-02-05 22:37:01 +01:00
David Craven
ad1b1e1132
bitswap: Hookup strategy. 2019-02-05 22:14:14 +01:00
David Craven
9ffddaeee7
bitswap: Takes strategy. 2019-02-05 21:49:28 +01:00
David Craven
77e466425b
Add hack to get bitswap to work. 2019-02-05 21:24:41 +01:00
David Craven
f9207f0712
Remove allow(unused). 2019-02-05 21:22:45 +01:00
David Craven
89d2172d8d
Improve logging output. 2019-02-05 20:01:48 +01:00