Skip to content
  • YACOVM's avatar
    [FAB-4557] gossip: Do not sign block messages · 961ccabe
    YACOVM authored
    
    
    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: default avatarYacov Manevich <yacovm@il.ibm.com>
    961ccabe