From 4bd1dc5638a2bf35c65965b91b3185e515e46f8c Mon Sep 17 00:00:00 2001 From: christophersanborn <23085117+christophersanborn@users.noreply.github.com> Date: Thu, 12 Jul 2018 18:07:53 -0400 Subject: [PATCH] Op-codes for CA operations, outline. --- bsip-1201.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/bsip-1201.md b/bsip-1201.md index b61fd93..641eaba 100644 --- a/bsip-1201.md +++ b/bsip-1201.md @@ -25,7 +25,30 @@ By allowing commitments of differing assets to be mixed together, we achieve two ## Rationale ## Specifications + +We propose to add the following three CA operations to the set of valid operations declared in graphene::chain::operation (chain/protocol/operations.hpp). The new CA operations are shown here side by side with their CT equivalents: + +Op-Code | Description | Op-Code | Description +:------:|-------------------------------|------------------|---------------------------------- +39 | transfer_to_blind_operation | 49 (placeholder) | transfer_to_ca_blind_operation +40 | blind_transfer_operation | 50 (placeholder) | ca_blind_transfer_operation +41 | transfer_from_blind_operation | 51 (placeholder) | transfer_from_ca_blind_operation + + +### Proposed operation: transfer_to_ca_blind_operation (Public to Blind) + +### Proposed operation: ca_blind_transfer_operation (Blinded to Blind) + +### Proposed operation: transfer_from_ca_blind_operation (Blind to Public) + ## Discussion + +### Compatibility with ring-signature scheme + +The Op-Code additions and specifications provided in this document do not conflict with or depend on the details of the ring-signature proposals in [BSIP-1202](bsip-1202.md), as they effect different substructures of the Transaction structure, and therefore both proposals can be implemented independently. This document specifies structures within the Operations vector within a Transaction structure, whereas the ring signature scheme would change the Signatures vector. + +(TODO: Check whether preceding is true, i.e. that the operation structure is independent of signature method. If it is not true, include here a discussion of what else might need to be included in the structure, so that a decision can be made as to whether the two features would be best developed in parallel, or whether ring-sigs could be implemented subsequently as an "upgrade" to CA.) + ## Summary for Shareholders ## Copyright