Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 8DCA5CB27 for ; Fri, 8 Mar 2019 00:40:15 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from mail-ed1-f52.google.com (mail-ed1-f52.google.com [209.85.208.52]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 20E93180 for ; Fri, 8 Mar 2019 00:40:14 +0000 (UTC) Received: by mail-ed1-f52.google.com with SMTP id c55so15056886edb.0 for ; Thu, 07 Mar 2019 16:40:14 -0800 (PST) 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:cc; bh=xKb9lhQlFS3QOz0LDATN/Vf/L/jyo8xum08mjLBfIQ4=; b=DHjzc/PTJaA1Qo6n1wete1mE48uJlYu9kqNYoiEURX+NPy44fiXxFLP/nB6q6X1oxW W3GVZs/YPUNzbAZaGWTwpRoJKiAPNDfqv9WtYNgqWybbgJD4c7T2365b4NN2Pd5ffEGJ kYxWy4QRLPLf3QOh76QzxjBjrs2BNpHyiabhAXTQDs38OW8O85wx6wvSfi0NmqHMO5OP SF6OPv3LgnPzqJK/U7FfEmD4k63Ro8HAApCcEag+F4A0RrNNlsKspoE3D0QMmkvXpdFf ylOY4CpD9/CblDYgHSGZL0vVRmXZyPLb9gKacT4UpbTfAR/4AHDCrzx2Xbr6HYoFpJ8h bzow== X-Gm-Message-State: APjAAAU/B19OsVIvYoxCYALY4lnFZjv9CKhkZiEW/N80IJamu1PEvNwY apL+giUjECub85WfySVzQq4r6yBAzJDJPshQNwwnCw== X-Google-Smtp-Source: APXvYqy64FzXOJ9EtWSLPatyvdvNgr2WuG417Vwzgv5Oqg2jtW7vqHsKaNBrD++fhQi8CPUbeCY05Iw6UOR/EvziutU= X-Received: by 2002:a17:906:5f99:: with SMTP id a25mr9561257eju.140.1552005613657; Thu, 07 Mar 2019 16:40:13 -0800 (PST) MIME-Version: 1.0 References: <20190306180800.GC10453@boulet> In-Reply-To: From: Gregory Maxwell Date: Fri, 8 Mar 2019 00:40:00 +0000 Message-ID: To: Andrew Chow , Bitcoin Protocol Discussion Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE 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: Fri, 08 Mar 2019 00:52:36 +0000 Subject: Re: [bitcoin-dev] BIP174 / PSBT extensions X-BeenThere: bitcoin-dev@lists.linuxfoundation.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Bitcoin Protocol Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Mar 2019 00:40:15 -0000 On Thu, Mar 7, 2019 at 11:49 PM Andrew Chow via bitcoin-dev wrote: > I feel like this breaks the central idea of PSBT that a PSBT contains everything you need to construct a transaction. > This would rely on parties in the transaction having state and remembering things which I don't think is something > that we can assume. I think it's perfectly fine for someone to have a propritary extension to PSBT that isn't going to work right unless used only between their own stuff or need a translator to talk to ordinary PSBT stuff. For that purpose, having some kind of versioning field that you can use to indicate what weird PSBT dialect you're speaking might be helpful, if only to allow for more reasonable error messages.