summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@exmulti.com>2012-09-22 03:28:05 -0400
committerbitcoindev <bitcoindev@gnusha.org>2012-09-22 07:28:15 +0000
commite3d5b82404ffeb74cfa185ecf29e6214b4452c58 (patch)
tree2058e4b6d6aae0be1dae2ba759c55e9bc11aa443
parent1c6c6ac230737feb8942a65b8c7e398d8224559c (diff)
downloadpi-bitcoindev-e3d5b82404ffeb74cfa185ecf29e6214b4452c58.tar.gz
pi-bitcoindev-e3d5b82404ffeb74cfa185ecf29e6214b4452c58.zip
[Bitcoin-development] Atomic coin swapping?
-rw-r--r--94/d3aa6b56445bd6fa5b96c2fb8ef6d7296949ea85
1 files changed, 85 insertions, 0 deletions
diff --git a/94/d3aa6b56445bd6fa5b96c2fb8ef6d7296949ea b/94/d3aa6b56445bd6fa5b96c2fb8ef6d7296949ea
new file mode 100644
index 000000000..f9102c12b
--- /dev/null
+++ b/94/d3aa6b56445bd6fa5b96c2fb8ef6d7296949ea
@@ -0,0 +1,85 @@
+Received: from sog-mx-3.v43.ch3.sourceforge.com ([172.29.43.193]
+ helo=mx.sourceforge.net)
+ by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76)
+ (envelope-from <jgarzik@exmulti.com>) id 1TFK8N-0006VW-TK
+ for bitcoin-development@lists.sourceforge.net;
+ Sat, 22 Sep 2012 07:28:15 +0000
+X-ACL-Warn:
+Received: from mail-qc0-f175.google.com ([209.85.216.175])
+ by sog-mx-3.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128)
+ (Exim 4.76) id 1TFK8J-0006Uz-E8
+ for bitcoin-development@lists.sourceforge.net;
+ Sat, 22 Sep 2012 07:28:15 +0000
+Received: by qcad10 with SMTP id d10so3318187qca.34
+ for <bitcoin-development@lists.sourceforge.net>;
+ Sat, 22 Sep 2012 00:28:05 -0700 (PDT)
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
+ d=google.com; s=20120113;
+ h=mime-version:x-originating-ip:date:message-id:subject:from:to
+ :content-type:x-gm-message-state;
+ bh=8AJM3/sQjYWHn/WJDmCVBvn3qRuCRgL6DJ8sdK22bZI=;
+ b=MkT6AFmRlZp67qjvT4RPMrPk4AfbLDr83mdHa8QTJ7MEqPp9YssNEQGjC/qmAIYKke
+ E//IZyn9JNSxK9p5uBGuRAJERONX/Yrv120lDi8+ee8z7uZzucZ034mkF1aNgzZN55Xw
+ QdmHWqS+3IlvQYEsveHATpmHcS9gZS11jSH6q7E7/reRHTyxzoCRCsd8TrCZxKanH/xs
+ YdpWG+CVIQYsNWpbgDGYLIKBTVLzcdSkxKgUYZg4IgF6xZ5pkBi68AGhRl0kkWbgfcWn
+ odju/aGvNVjHQpSMirPW1cbaKEvE2pKcfzFvBeCSFekNXDqnX7eWESEbPLZtJl+usbSD
+ xVTg==
+MIME-Version: 1.0
+Received: by 10.224.115.208 with SMTP id j16mr17829992qaq.54.1348298885616;
+ Sat, 22 Sep 2012 00:28:05 -0700 (PDT)
+Received: by 10.49.97.6 with HTTP; Sat, 22 Sep 2012 00:28:05 -0700 (PDT)
+X-Originating-IP: [2001:4830:1603:2:21c:c0ff:fe79:c8c2]
+Date: Sat, 22 Sep 2012 03:28:05 -0400
+Message-ID: <CA+8xBpczY1DkgmHsVL8m30JaM1d+FwN_gpBhq6DFScm1nvLF5w@mail.gmail.com>
+From: Jeff Garzik <jgarzik@exmulti.com>
+To: Bitcoin Development <bitcoin-development@lists.sourceforge.net>
+Content-Type: text/plain; charset=ISO-8859-1
+X-Gm-Message-State: ALoCoQmP3x4VdtsIkyEoPlU7TKlSXkyriB1Qu1qOiB2j4yJft4AM+dz3bJAr9u2834iYFIUpblkL
+X-Spam-Score: 0.0 (/)
+X-Spam-Report: Spam Filtering performed by mx.sourceforge.net.
+ See http://spamassassin.org/tag/ for more details.
+X-Headers-End: 1TFK8J-0006Uz-E8
+Subject: [Bitcoin-development] Atomic coin swapping?
+X-BeenThere: bitcoin-development@lists.sourceforge.net
+X-Mailman-Version: 2.1.9
+Precedence: list
+List-Id: <bitcoin-development.lists.sourceforge.net>
+List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/bitcoin-development>,
+ <mailto:bitcoin-development-request@lists.sourceforge.net?subject=unsubscribe>
+List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum_name=bitcoin-development>
+List-Post: <mailto:bitcoin-development@lists.sourceforge.net>
+List-Help: <mailto:bitcoin-development-request@lists.sourceforge.net?subject=help>
+List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/bitcoin-development>,
+ <mailto:bitcoin-development-request@lists.sourceforge.net?subject=subscribe>
+X-List-Received-Date: Sat, 22 Sep 2012 07:28:16 -0000
+
+Forum URL: https://bitcointalk.org/index.php?topic=112007.0
+
+gmaxwell was talking about colored coins[1] in IRC recently. They are
+potentially interesting in the context of distributed bonds[2], which
+I am currently pursuing with pybond[3].
+
+Here is the problem I am trying to solve, does the crowd have an answer?
+
+1. Alice transfers a 1-satoshi colored coin to Bob.
+2. Bob transfers 100 BTC to Alice. May be restricted to 1 txout, if
+that eases implementation details.
+3. Steps #1 and #2 happen as an atomic unit, all-or-none.
+4. Alice and Bob must both approve this atomic transfer of coins, with
+appropriate signatures.
+
+Is this possible within the current bitcoin system? As far as I can
+see, the answer is "no" but maybe I'm missing something.
+
+My best guess to the answer is "possible, but requires a new SIGHASH_* type"?
+
+[1] https://bitcointalk.org/index.php?topic=106449.0
+[2] https://bitcointalk.org/index.php?topic=92421.0
+[3] https://github.com/jgarzik/pybond
+
+--
+Jeff Garzik
+exMULTI, Inc.
+jgarzik@exmulti.com
+
+