Commit Graph

362 Commits

Author SHA1 Message Date
vyzo e88ccf22aa
Merge pull request #44 from mhchia/fix/dht-key-to-bytes
Change the type of `key` in `DHTRequest` from `string` to `bytes`
2018-12-09 12:20:04 +02:00
mhchia c04d8cb09f Fix the typo incurred by rebasing 2018-12-09 01:55:54 +08:00
mhchia cb7435b7c8 Use gogofast compiled pb 2018-12-09 01:44:51 +08:00
mhchia a08e63116b Change the key in DHTRequest's type to bytes
- Modify the tests
- Change the signature of the related functions in p2pclient/dht.go to
avoid reflection error
- Add a `randBytes` util function
2018-12-09 01:44:51 +08:00
vyzo c1b91e7b3f
Merge pull request #45 from mhchia/fix/doc-client-getclosestpeers
Fix the docstring of `Client.GetClosestPeers`
2018-12-08 19:29:47 +02:00
mhchia f99d93133f Fix the docstring of `Client.GetClosestPeers`
Referenced from specs/DHT.md#get_closest_peers
2018-12-09 00:39:03 +08:00
vyzo 933393c5da
Merge pull request #42 from libp2p/feat/gossipsub-params
add configuration parameters for gossipsub timing parameters
2018-12-08 11:18:55 +02:00
vyzo adb3cdec4f add configuration parameters for gossipsub timing 2018-12-07 11:27:33 +02:00
Cole Brown e5f5d177fc gx publish 0.0.1 2018-12-06 15:33:24 -05:00
Cole Brown 1f7bddec20 Remove unix socket after close 2018-12-06 15:33:10 -05:00
Cole Brown fa1a729c76 Add gx lastpubpver 2018-12-06 13:41:30 -05:00
vyzo 1edaf04f6e
Merge pull request #39 from libp2p/feat/pubsub
Implement pubsub api
2018-12-05 10:52:15 +02:00
vyzo f1584e4e18 fix typo 2018-12-03 20:06:06 +02:00
vyzo 0505117098 only enable pubsub strict message signing if signing is enabled 2018-12-03 15:05:19 +02:00
vyzo 0fb8b16b95 instantiate pubsub 2018-12-03 15:03:59 +02:00
vyzo 1b9db6fe0d gx import go-libp2p-pubsub 2018-12-03 12:20:14 +02:00
vyzo 7afb354867 pubsub api implementation 2018-12-03 12:05:45 +02:00
vyzo 95ab1d2033 update pb/p2pd for correct PSMessage type signature 2018-12-03 12:04:54 +02:00
vyzo ea65999040 pubsub scaffolding 2018-12-03 11:25:18 +02:00
vyzo 3f5df08262 recompile pb/p2pd proto 2018-12-03 10:59:44 +02:00
vyzo f0efb972f6
Merge pull request #37 from libp2p/feat/pubsub-spec
Initial pubsub daemon spec
2018-12-03 10:31:41 +02:00
Mantas Vidutis 1ac9668753 no types in documentation 2018-12-02 14:31:23 -08:00
Mantas Vidutis ef2ca38f17 no type in response 2018-12-02 14:30:42 -08:00
vyzo 990825ce2e
Merge pull request #38 from libp2p/feat/nat-port-map
add option for nat port mapping
2018-12-02 12:13:37 +02:00
Mantas Vidutis 0a3308f25b updates based on feedback 2018-11-30 15:50:58 -08:00
bigs 81e3a5a703
Merge pull request #36 from libp2p/bug/test-filepath
Use filepath package to be more windows friendly
2018-11-30 15:55:34 -05:00
vyzo e3980cf81c add option for nat port mapping 2018-11-30 11:12:36 +02:00
Mantas Vidutis 260d9fa4ae initial pubsub daemon spec 2018-11-29 16:24:24 -08:00
vyzo c226620a93
Merge pull request #32 from libp2p/feat/timeout-seconds
timeouts in seconds
2018-11-29 23:27:03 +02:00
Cole Brown 3430c5766d Use filepath package to be more windows friendly 2018-11-29 14:02:28 -05:00
vyzo 60e4ee8362 document timeouts in specs 2018-11-29 18:00:12 +02:00
vyzo 32906e4fc0 timeoout in seconds 2018-11-29 18:00:12 +02:00
vyzo dd60de832f
Merge pull request #34 from libp2p/feat/quic
QUIC support
2018-11-29 17:58:27 +02:00
vyzo 7e76bd8c70 specify listen addrs when enabling quic 2018-11-29 17:46:48 +02:00
vyzo d3e62dc274 gx update deps 2018-11-29 17:28:50 +02:00
vyzo d79108b238 add flag to enable quic transport 2018-11-29 17:15:44 +02:00
vyzo d35303e13b gx import quic 2018-11-29 17:15:28 +02:00
vyzo 7d9ec0b26f
Merge pull request #30 from libp2p/feat/ci
add Jenkinsfile
2018-11-27 20:16:36 +02:00
vyzo ff0bb8ee99 add Jenkinsfile 2018-11-27 09:55:57 +02:00
vyzo 8849db87a7
Merge pull request #29 from mhchia/fix/dht-typo
Change `requestContext` to `d.requestContext`
2018-11-27 09:54:03 +02:00
mhchia 6ba131eb76 Change `requestContext` to `d.requestContext`
And remove unused `time`
2018-11-27 15:30:51 +08:00
vyzo 299dc26d17
Merge pull request #27 from libp2p/feat/timeouts
Timeout parameters for connect and stream requests
2018-11-26 20:19:23 +02:00
vyzo 697bd85bc7 implement timeouts in connect/open-stream 2018-11-23 09:48:36 +02:00
vyzo 58eecf512f update pb for timeout parameter in connect/open-stream 2018-11-23 09:39:51 +02:00
vyzo 054209244a
Merge pull request #23 from libp2p/feat/disconnect-peer
Add API endpoint to disconnect peers
2018-11-16 20:10:30 +02:00
vyzo 25f6394e88 add DISCONNECT to spec 2018-11-16 14:03:21 +02:00
vyzo 81df4a4685 move DISCONNECT to top-level namespace 2018-11-16 14:01:42 +02:00
vyzo b97d2952f0 handle DISCONNECT_PEER 2018-11-16 13:34:38 +02:00
vyzo 95d2fa627a add DISCONNECT_PEER to connection manager pb 2018-11-16 13:32:42 +02:00
bigs 813e269fbb
Merge pull request #17 from libp2p/feat/dht-client
Implement DHT client
2018-11-14 19:27:16 -05:00