Commit 961ccab
committed
[FAB-4557] gossip: Do not sign block messages
In gossip we currently sign every message in the following way:
- Message sent by the Gossip() API call - uses the peer's signing identity
to sign the message.
- Message sent via Send() is signed in a NOOP manner (the signature is empty)
Since blocks are already signed by the ordering service
there is no point in signing them with the peer's signing identity.
This commit makes such message be NOOP-signed.
Change-Id: I0e5dca73e2ba3e711955829435172ed7f0365b61
Signed-off-by: Yacov Manevich <yacovm@il.ibm.com>1 parent 076fb52 commit 961ccab
1 file changed
+9
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
629 | 629 | | |
630 | 630 | | |
631 | 631 | | |
632 | | - | |
633 | | - | |
634 | | - | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
635 | 641 | | |
636 | 642 | | |
637 | 643 | | |
| |||
0 commit comments