Re: [Din] New SCP draft

Piers Powlesland <pierspowlesland@gmail.com> Tue, 07 August 2018 16:04 UTC

Return-Path: <pierspowlesland@gmail.com>
X-Original-To: din@ietfa.amsl.com
Delivered-To: din@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B2774131032 for <din@ietfa.amsl.com>; Tue, 7 Aug 2018 09:04:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KmZcRnQ9hLJQ for <din@ietfa.amsl.com>; Tue, 7 Aug 2018 09:04:03 -0700 (PDT)
Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 61E4D130F76 for <din@irtf.org>; Tue, 7 Aug 2018 09:04:03 -0700 (PDT)
Received: by mail-lj1-x229.google.com with SMTP id s12-v6so13888259ljj.0 for <din@irtf.org>; Tue, 07 Aug 2018 09:04:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=u89s35pdc4dOlb0PTGmaWtiah3AT4mrbdJQetYFfWcY=; b=RIg/Rj/3hDRe5yfcdjpKGUGiNaIzUltcxRuvWWbPBY19CGBaBp6ipU1+99h1FuCB+R ahXgDwtnWiWNFxTQfiR5Aie/79LKeaJGrQO7cem4s+DMxoB11muh9SFX8YEE6hjBtipI Q5ItNS3PV4y3h+WlTyPffccZB2D4r591E/RK3QfISdhxCrp/txe+6Uj9RqdLLFwWcwzV MWXog+547Y+CfDu00qqiTKxzBZpB7qyblXz7oJiiqnXWvWen5qzNiFbaHEcDfTwccDnb meXPyDD1cTWgzDtcbU2vjQO+OC7PmDb5PWd+1E7cF++/uEK2qSwOhedzoYRE8aLU1dvj CtJg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=u89s35pdc4dOlb0PTGmaWtiah3AT4mrbdJQetYFfWcY=; b=AHO7HpaArnlXL8E5oAE2k0DaeUywHzXZJj+IRT9/rrh0QzMybDEiJ2R9XxoZ1YYycK STQQbrkB/qNClJiELNj/98Kd45TM7GAh29LejGBKQsxUMxmKOsEdfc9UWgvFwgVf9m90 +Z2QGsh3Vl7fFNq+ycqcWuG5/IAzW6C4a5WH1wrNwivAK+7CxJy+oeBS5q53qDpjR9yp +s06ecKsdRjhM0khdI7XVXe4AyQjk5QS63VTGsE2js4ydSo1uAgkeBcbjHJtFYsiHxND 33QwifmiHltinhWVcVPtV36p0QOz+812Ny4IO+e+z6op8dr/hAxMDghc6ONfZYCmpBLG G1rQ==
X-Gm-Message-State: AOUpUlEMCsIMDCdmB7k1METXwHxgxb7KftZ6DA+Y0lsu/GuCU7rla8ab RMUhEU8HIZcgkuzlTuDGH1b40NweWBoKZ6aBDJ6aVXLa
X-Google-Smtp-Source: AAOMgpcFYJ95lDUbZyNZ75tYgPW17MgZBGmDroYwB1TgYNnw+ZnaLlayu8Ku+VNv2Ay8z32NovoE3Fu2SZQRj/MQ2Zw=
X-Received: by 2002:a2e:990b:: with SMTP id v11-v6mr15640148lji.87.1533657841607; Tue, 07 Aug 2018 09:04:01 -0700 (PDT)
MIME-Version: 1.0
References: <87vaambccw.fsf@ta.scs.stanford.edu> <CAFXacXk7acKpvA5RvLJuxgWfCCD3hOAxjwaD56Td-uzJ9cnB+w@mail.gmail.com> <87h8m5e71a.fsf@ta.scs.stanford.edu> <CAFXacXm2N7RqzL04-8oWq+wxJ-GK5ckmYF_BJ6KzYATQ0iu2CQ@mail.gmail.com> <CAFXacXnFfvx+HujDcX8wJ5X9As9EO9uppAAext89u6X3DB6cwQ@mail.gmail.com> <87efh80zs0.fsf@ta.scs.stanford.edu> <CAFXacXkM++CSOJwsXBbx4cfURb_s=9_xPLn+JkYPGYcHLUCRFA@mail.gmail.com> <87muvu1pra.fsf@ta.scs.stanford.edu> <CAFXacX=4p7fx5bV0DdcMDj2MTGfNiZCEqTL7dj4Se9tCpdcnmA@mail.gmail.com> <87k1qubs0z.fsf@ta.scs.stanford.edu>
In-Reply-To: <87k1qubs0z.fsf@ta.scs.stanford.edu>
From: Piers Powlesland <pierspowlesland@gmail.com>
Date: Tue, 07 Aug 2018 17:03:50 +0100
Message-ID: <CAFXacXm6zu6gw_oPoqtas-h4v2pXE5i72OKAgsszYv99u-jvrA@mail.gmail.com>
To: David Mazieres expires 2018-09-17 PDT <mazieres-a2rj44cg9b2fs3isuqqrcbiu86@temporary-address.scs.stanford.edu>, din@irtf.org
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/din/EgF_mCsDYvlVzB9u--o_WzYVbtA>
Subject: Re: [Din] New SCP draft
X-BeenThere: din@irtf.org
X-Mailman-Version: 2.1.27
Precedence: list
List-Id: "Discussion of distributed Internet Infrastructure approaches, aspects such as Service Federation, and underlying technologies" <din.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/din>, <mailto:din-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/din/>
List-Post: <mailto:din@irtf.org>
List-Help: <mailto:din-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/din>, <mailto:din-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 07 Aug 2018 16:04:06 -0000

Hi David,

Thank you for the clarification.

Piers
On Tue, Jun 19, 2018 at 6:33 PM David Mazieres expires 2018-09-17 PDT
<mazieres-a2rj44cg9b2fs3isuqqrcbiu86@temporary-address.scs.stanford.edu>
wrote:
>
> Piers Powlesland <pierspowlesland@gmail.com> writes:
>
> > Ahh, I think I was misunderstanding the definition for quorum threshold.
> >
> > Please could you clarify if my current understanding is correct?
> >
> >> 1.  "v" itself has issued (digitally signed) the message,
> >
> > This part is self evident.
> >
> >> 2.  The number of nodes in "validators" who have signed "m" plus the
> >>     number "innerSets" that (recursively) meet this condition is at
> >>     least "k", and
> >
> > Here I am interpreting "(recursively)" to be applying to the innerSets, so for
> > each innerSet the number of validators plus innerSets that have signed "m"
> > must be at least this innerSet's threshold, and so on for this innerSet's
> > innerSets recursively.
>
> Correct.
>
> >> 3.  These three conditions apply (recursively) at some combination of
> >>    nodes sufficient for condition #2.
> >
> > Here I am interpreting "(recursively)" as applying to nodes. Meaning
> > that these 3 conditions apply at some set of nodes that are sufficient
> > for condition 2 to hold for this node, but also they apply at all the
> > nodes from this nodes validators and inner sets that have signed
> > message "m" and are contributing to this node meeting its threshold
> > and so on recursively.
>
> Correct.
>
> > If the above is correct, I am wondering what is the mechanism for a
> > node to learn about the messages signed by nodes outside of its slices
> > but inside it's quorum? Or put another way, how is a node able to
> > acquire all of the information needed for it to determine if it has
> > reached quorum threshold?
>
> In Stellar, the messages are broadcast through an overlay network.
> However, this is really out of scope of the consensus document, because
> end system multicast is an independent problem.  A dumb thing you can do
> is just have each node configure a number of peers and flood each
> message to every peer that has not yet received it.  That will cause
> redundant traffic, but at least get the job done.
>
> David