Commit Graph

352 Commits

Author SHA1 Message Date
vyzo b353ddca06 more idiomatic message copying for signature purposes 2018-10-14 02:22:20 +03:00
vyzo 3788f504a5 strict mode for message signing 2018-10-14 02:22:20 +03:00
vyzo 9fa8f64fd3 prefix signed data with libp2p-pubsub: 2018-10-14 02:22:20 +03:00
vyzo 777c68fe0e reify key extraction logic, with more context in error messages 2018-10-14 02:22:20 +03:00
vyzo 4addc898c1 test floodsub with message signing 2018-10-14 02:22:20 +03:00
vyzo cd32e1772e use MatchesPublicKey, don't rewrite it. 2018-10-14 02:22:20 +03:00
vyzo 1ef82b2cee test message signing 2018-10-14 02:22:20 +03:00
vyzo 60a06ce961 implement signMessage and verifyMessageSignature 2018-10-14 02:22:20 +03:00
vyzo 9d250aef37 option to enable message signing 2018-10-14 02:22:20 +03:00
vyzo a6c349b6f0 sign messages when a signing key is present 2018-10-14 02:22:20 +03:00
vyzo 7c1012c247 optimize fast path for single topic validator
so that we don't do the goroutine dance for just a single validator, which ought to
be the most common case.
2018-10-14 02:22:20 +03:00
vyzo 7c508b4fba implement validateSignature 2018-10-14 02:22:20 +03:00
vyzo 64aab3485a scaffolding for signature validation 2018-10-14 02:22:20 +03:00
vyzo d2f7a664d2 add signature and key fields to Message 2018-10-14 02:22:20 +03:00
Steven Allen 4986a90e6d gx publish 0.9.36 2018-10-12 16:01:29 +01:00
vyzo 32a7d82b69
Merge pull request #111 from libp2p/feat/randomsub
randomsub implementation
2018-10-12 17:44:51 +03:00
vyzo 22a647b025
Merge pull request #112 from libp2p/fix/reset-bug
fix missing reset on write errors
2018-10-12 12:48:49 +03:00
vyzo 04cac3144e gx publish 0.9.35 2018-10-12 12:39:58 +03:00
vyzo 71d32b2f3d fix missing reset on write errors 2018-10-12 12:22:26 +03:00
vyzo 4c3dd1330f fix floodsub id for secondary protocol 2018-10-10 17:39:38 +03:00
vyzo 06b0999ba0 randomsub implementation 2018-10-10 17:17:27 +03:00
Steven Allen 73565c04a3 gx publish 0.9.34 2018-10-10 11:46:14 +01:00
Steven Allen 63398892ee gx publish 0.9.33 2018-10-05 14:42:42 -07:00
Steven Allen 7ad3f66692 gx publish 0.9.32 2018-10-05 13:42:37 -07:00
Kevin Atkinson 0827f5e955 gx publish 0.9.31 2018-10-04 19:23:53 -04:00
Kevin Atkinson 1abb0209ce gx publish 0.9.30 2018-10-04 18:41:48 -04:00
Steven Allen 900095341b gx publish 0.9.29 2018-09-24 05:11:37 -07:00
vyzo 7560d63f69
Merge pull request #106 from jamesray1/patch-3
fix typo
2018-09-17 09:17:28 +03:00
James Ray 096722488e
pubish -> publish 2018-09-17 14:57:32 +10:00
vyzo 992b9b06ea
Merge pull request #104 from KerwinKoo/master
Just repair spelling mistake
2018-09-10 18:35:12 +03:00
gukq 91285f3022 Just repair spelling mistake
Signed-off-by: gukq <gukaiqiang@gmail.com>
2018-09-10 23:17:23 +08:00
Steven Allen 7e9278f74d gx publish 0.9.28 2018-09-07 23:36:25 -07:00
Steven Allen cd8c877413 gx publish 0.9.27 2018-08-31 09:56:22 -07:00
Steven Allen 2c53ae3939 gx publish 0.9.26 2018-08-29 20:43:12 -07:00
Steven Allen 30dee56ea2
Merge pull request #102 from libp2p/fix/issue-101
Add control parameter for gossipsub initial heartbeat delay
2018-08-29 23:37:29 +00:00
vyzo 0cd357b295 control parameter for gossipsub initial heartbeat delay 2018-08-29 11:15:41 +03:00
Steven Allen 35c945373f
Merge pull request #100 from libp2p/fix/issue-98
fix data race in gossipsub piggybacking
2018-08-28 19:04:01 +00:00
vyzo a3003697f6 more idiomatic copyRPC 2018-08-28 21:35:00 +03:00
vyzo 73b338aa6d fix nil pointer dereference in copyRPC 2018-08-28 21:17:00 +03:00
vyzo de4adefafb fix data race in ownership of RPC when piggybacking control messages. 2018-08-28 21:07:18 +03:00
Steven Allen 02d5c50ff0 gx publish 0.9.25 2018-08-21 17:09:23 -07:00
vyzo b96cf6df63
Merge pull request #95 from libp2p/feat/logging
some logging for gossipsub
2018-08-10 11:32:51 +03:00
vyzo 350ec7b44d gx publish 0.9.24 2018-08-10 11:13:11 +03:00
vyzo bb5dd40680 basic logging for gossipsub 2018-08-09 12:16:19 +03:00
Steven Allen 0757ff4be4 gx publish 0.9.23 2018-08-08 18:50:50 -07:00
Steven Allen 528779af81
Merge pull request #94 from libp2p/feat/protobuf
update gogo protobuf
2018-08-09 01:10:56 +00:00
Steven Allen ca7e4bc84d gx publish 0.9.22 2018-08-08 10:59:51 -07:00
Steven Allen ca4bfd6539 update gogo protobuf
and rebuild protobuf file
2018-08-08 10:59:27 -07:00
Steven Allen 7869425e41 fix indent in protobuf 2018-08-08 10:54:14 -07:00
Steven Allen 25f1215c5c gx publish 0.9.21 2018-07-20 20:00:05 -07:00