Skip to content
  • Will Lahti's avatar
    [FAB-7273] Update deliver to facilitate usage on peer · c39d69bd
    Will Lahti authored
    
    
    This CR updates the deliver functionality to facilitate its usage on
    a peer as well as an orderer.
    
    This required:
    - modifying the signal logic for when a new block is available due to
     the difference in addition of blocks to the ledger between the orderer
     and the peer. The signal logic is now handled using the iterator
     itself, which signals when it finds a new block
    - adding a policy variable to the deliver handler to ensure the peer
    and orderer each can control access to deliver
    
    Change-Id: Iebb6c25a8c5ac32d65f909eb0519f26bfde0dc31
    Signed-off-by: default avatarWill Lahti <wtlahti@us.ibm.com>
    c39d69bd