- From: David Nicol <davidnicol@gmail.com>
- Date: Fri, 4 Aug 2017 10:17:50 -0500
- To: Stefan Thomas <stefan@ripple.com>
- Cc: Ryan Fugger <arv@ryanfugger.com>, Interledger Community Group <public-interledger@w3.org>
- Message-ID: <CAFwScO92JQBH5sTn2crerx1etUFRYZPXTNHyK2YrZj_k=XDZ6w@mail.gmail.com>
I appear to be spilling my design beans in public this season, so here is more, as this "full unconditional trust in the notary" requirement can apparently be lifted by closely tying identities and asymetric crypto. On the other hand, then the system requires full unconditional trust in the crypto. Got to trust something somehow. My question is, is the scheme for multi-party transactions I'm about to describe compatible with "ILP atomic mode"? Scheme described via timeline, capabilities of various actors are implied, asymmetric crypto selection and details handwaved; communication channel details handwaved. Currencies are designated as XXX, and are presumed to be managed by a well-defined interface capabable of minting purses with timeouts. 1. Alice wants to pay Bob some AAA to have Bob give some BBB to Carla, who will pay some CCC to both Bob and Carla. 2. Expiring purses are signed by the ledgers that mint them, using keys verifiably associated with the currency (not the ledger but the currency). 3. PART ONE: DRAFTING 4. Alice proposes transaction contract TC1 between Alice, Bob, and Carla by: 1. drafting TC1 2. storing TC1 as immutable data in a distributed content-addressable file system 3. Havng AAA-ledger debit her AAA account and mint a limited expiring purse containing some AAA explicitly for use in TC1 4. communicating a reference to TC1 to Bob and Carla along with a reference to Alice's expiring purse. 5. Bob and Carla consider and accept the offer, which they do by having BBB-ledger and CCC-ledger mint the other three limited, expiring, purses and sharing references to them. 6. All account-holder actors now have the complete set of TC1 and all input purses. 7. PART TWO: SETTLEMENT 8. the account-holders present the complete set of contract plus inputs to the three currency-ledgers. 9. the ledgers now communicate with each other to collect ledger-signatures indicating that each ledger has received the complete set of references to immutable data. 10. purse contents are transferred at all currency ledgers on receipt of ledger-signatures from all other participating ledgers. My scheme is clearly different from the general ILP paradigm of communications between ledgers holding accounts in the same currency -- I would treat "USD at Chase" and "USD at WellsFargo" as different currencies, as different as Ethereum and McDonald's Gift Certificates, or any other currencies that are not the same -- but I'm writing to ask if the atomic purse based multi-party cryptographic protocol described above would be interoperable and semantically compatible with the ILP "atomic mode" as currently defined. Thank you for your patience David Nicol On Thu, Jun 29, 2017 at 8:46 AM, Stefan Thomas <stefan@ripple.com> wrote: > > In atomic mode, all participants along the payment chain have to have full > unconditional trust in the notary. Since the set of all possible paths > contains all possible combinations of participants, that means that in > order to be able to use atomic mode all of the time, there must be at least > one notary that is trusted by all people in the world. Otherwise, we may > run into situations where a liquidity path is available, but no valid > notary can be selected. > > It is possible to use multiple notaries in a payment, but that actually > doesn't make the trust problem easier and arguably makes it harder. If we > assume f=1 (i.e. one notary may fail), then we now need all participants to > trust notaries such that none of the notaries they trust would ever collude > with any other notary they trust. Granted, that's a weaker requirement, but > now we need at least four notaries that the entire world trusts (in this > weaker sense.) > > Often you will have payment chains where you start on a constrained device > or some kind subsidiary ledger. And often in those cases, it will make > sense to defer to the superior ledger. It's certainly conceivable that at > some point in the future all smaller ledgers on the sending side will > defer-right and all smaller ledgers on the receiving side will defer-left. > If the larger networks in the center have peering agreements like the ones > we are planning to have for RippleNet, that means that many or most > payments may well end up being fully atomic. > -- everything has to be just so or the magic won't work
Received on Friday, 4 August 2017 15:18:13 UTC