Skip to content
  • Jordan Horwich's avatar
    6d261dad
    Change Broadcast to broadcast to only the given peers · 6d261dad
    Jordan Horwich authored
    if peers is nil, Broadcast will broadcast to all connected peers. Useful
    for backwards compatibility as it allows you to only broadcast to nodes
    that are of certain versions. This is done by calling Gateway.Peers()
    and filtering the peers by version before passing them to Broadcast.
    6d261dad
    Change Broadcast to broadcast to only the given peers
    Jordan Horwich authored
    if peers is nil, Broadcast will broadcast to all connected peers. Useful
    for backwards compatibility as it allows you to only broadcast to nodes
    that are of certain versions. This is done by calling Gateway.Peers()
    and filtering the peers by version before passing them to Broadcast.
Loading