Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 536FBB47 for ; Sun, 17 Apr 2016 14:04:10 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id EEAE4107 for ; Sun, 17 Apr 2016 14:04:08 +0000 (UTC) Received: by mail-wm0-f45.google.com with SMTP id u206so90394195wme.1 for ; Sun, 17 Apr 2016 07:04:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=Sbvs0yZ6BzrA9NOx0/VpVZJia/Y7bNW4z03OYBT0zlw=; b=vIuNAIEyw4/Lx1ThmPu0NhNrZB9nVXd9GzL/KsLFum3GEp1DZ2LLnTzdEvTzfHGzV6 EoXC6xmrdpM6VsvwfW4FO1kV20wWrHhAUWtJbgjz7YZDfQACmEIs+7x1RFzU5EQehtZ+ YWNazUCrGg3P+qfSx+kssNK94+OcXFeL//+7qfZIIvsYyZadY2QEhoM37j164j7oIPXR RnB3+ZNl3O/iMqfrT2EOR1qFGQUhVjXTaDp2EPvk3RyfnXCnZ3U26fwWIRexA6al3ntX OqTQAeo+mHUJyiQbbTX5pOSiQIeAeCvUes4+Ayt9XTX37sJ8LGyYQndCi6cgnCOEje5X 4SWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Sbvs0yZ6BzrA9NOx0/VpVZJia/Y7bNW4z03OYBT0zlw=; b=dTQeZr6wqvf+IU/6e/LcVj+k7wvRGu+C8WM0J9ehW5qWCmIu9p6QdGAcpT+I00vplv d6jP58iKZpJ7zMrmxJYNU6e75/ez+3vF6xUnli+nTZvezex0jRjwP+YlDT+2R17Ia+or khLo6ezNld2wZ7ascrrRdke+mljdpjf0eJNjiq9X4p1Xc1lOIGuCm3cxyCYyZLkFJd4M e0bJxEj1FscQuTnNeVTcWteeLoGTiELf/u2+Iwvgya+WeajtQkn+KV59AzpJjyifzUXa nbKfqFiOYpllLNYwtw1UbtWPrffQV1DhakUJjhHEWobc/3DzaDfxDdBQ97HGDABCmgYk q14w== X-Gm-Message-State: AOPr4FU+64R7kChgbLqCDO7b37fIUIdrIhoSDuAbEud5e3BURY1Vi5n1hv6LmIO4e5xrj1pguV/T4nnfPtIdYw== X-Received: by 10.194.61.134 with SMTP id p6mr29891302wjr.67.1460901847499; Sun, 17 Apr 2016 07:04:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.134.231 with HTTP; Sun, 17 Apr 2016 07:03:47 -0700 (PDT) From: =?UTF-8?Q?Rune_Kj=C3=A6r_Svendsen?= Date: Sun, 17 Apr 2016 16:03:47 +0200 Message-ID: To: Bitcoin Content-Type: text/plain; charset=UTF-8 X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org X-Mailman-Approved-At: Sun, 17 Apr 2016 15:12:37 +0000 Subject: [bitcoin-dev] Simple Bitcoin Payment Channel Protocol v0.1 draft (request for comments) X-BeenThere: bitcoin-dev@lists.linuxfoundation.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Bitcoin Development Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Apr 2016 14:04:10 -0000 Dear list I've spent the past couple of months developing a simple protocol for working with payment channels. I've written up a specification of how it operates, in an attempt to standardize the operations of opening, paying and closing. This specification was derived from a mostly-working implementation which will be open sourced in a short while (after a clean-up). It's written in Haskell. I'm sharing the specification now because I think it has value in itself to have everything documented, especially since I've chosen to write the implementation in Haskell, and for people to point out any errors or basically anything I haven't thought of. Link: https://raw.githubusercontent.com/runeksvendsen/simple-bitcoin-payment-channel-protocol/master/simple-bitcoin-payment-channel-protocol-v0.1.txt Regards Rune