• Iustin Pop's avatar
    RPC: do not make calls to offline nodes · ed83f5cc
    Iustin Pop authored
    This patch changes the _MultNodeCall and _SingleNodeCall helpers to not
    actually make calls to offline nodes, but instead generate fake
    responses which have a parameter caller 'offline' set so that callers
    can check for this value if they want (otherwise, it's just a failed RPC
    call).
    
    Reviewed-by: ultrotter
    ed83f5cc
rpc.py 27.6 KB