Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id BF0351592 for ; Thu, 1 Aug 2019 13:51:01 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from mail-qk1-f170.google.com (mail-qk1-f170.google.com [209.85.222.170]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id C433C82B for ; Thu, 1 Aug 2019 13:50:59 +0000 (UTC) Received: by mail-qk1-f170.google.com with SMTP id r4so51959469qkm.13 for ; Thu, 01 Aug 2019 06:50:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=2n8pJ6gUiCkVMdk+rU/GhUIjpvEhbo9FvWTpF4a4CVM=; b=rQtirVsptbH8GVrpRvswPSfh2WJXuO7R52mTG7Dq48uujhy9A2bFEXKlnmC/0Qotc4 M9dSCnT+qckc76dCGrJjRjRUdX0ICuuBheSmK3LCkAdmMRdilLoa1p+XTgRntb5lZo/2 eQBbFqixkVwD2Z+5IPE8ly77MVt14EfYzui1FO1PwQUn6eeDFnWk6XrypefBWdUmxmG8 M75eqixetapqCAIWUQaTbHWqOcJxn1Xm8JswJ1nV1RhJ9ElP6iv8yZQ5UG3k5vKIbPjg WLhgqaV/j00Tw1xzt3HXNetYdVt+uRPBnK9QQVuDEHcmeilsr8lp4TPsglV5ttjn6hvG hvzw== 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; bh=2n8pJ6gUiCkVMdk+rU/GhUIjpvEhbo9FvWTpF4a4CVM=; b=TlTMw3vWrMgtBA3mU1hwV3o5enUYe23WmFwJPqLANUElhKec2yWI8orWw/oBR8Et3u WFDksUGhOv0xdRkamQTu5JKzwKLiPq29NufTVs3SyBLzmmMGaf/WqgGEtjbcu+lZU1la ZzExTKs1kLe5Glw520KyF10DWGo8seZd3zb21QDJ/5xHe1oepv1cu7ZiSl6VyqWHlKKp 3q3P3Bc6euf9QEUlfROuAsX02I/mLuex4YzLDbI1xHjCUnC003Nn5LUamrlAud2YJGnU X7Ax7Y+gS3usYMvYb2Ua9jf+gVOpHCsJYMYo/SrgacSxtssRfro+xv6v2mnho4NIB6/x Tdpw== X-Gm-Message-State: APjAAAUjc/pesm7BkDz8IjtFmIs0GtWzsPjvQjNCkwtLbP+ogEelO1+S sEYoPlcp6lK1f8tLRYQcxRV0CxQX8FXJh0oio6YfNrGhVl4= X-Google-Smtp-Source: APXvYqxzOScZrsNWa2rki96p4ztZL+7juP0emKO0pGdbpcMAc1EIqqU48fUsEh71bkDpMf/GgFSmo2je9fx8a5E8dkA= X-Received: by 2002:a05:620a:12af:: with SMTP id x15mr17333676qki.89.1564667458520; Thu, 01 Aug 2019 06:50:58 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Stepan Snigirev Date: Thu, 1 Aug 2019 09:50:47 -0400 Message-ID: To: bitcoin-dev@lists.linuxfoundation.org Content-Type: multipart/alternative; boundary="0000000000000e8a5a058f0e886e" X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, HTML_MESSAGE, 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: Thu, 01 Aug 2019 14:26:02 +0000 Subject: Re: [bitcoin-dev] Proposed Extensions to BIP 174 for Future Extensibility 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: Thu, 01 Aug 2019 13:51:01 -0000 --0000000000000e8a5a058f0e886e Content-Type: text/plain; charset="UTF-8" > why not use Bitcoin compact uint, which most PSBT consumers already implement? I totally agree with that, compact int parsing is already implemented in all bitcoin applications, wallets and libraries. Also, for certain (mb proprietary) applications I will be willing to use multi-byte keys where the first byte defines the application type and next bytes define application-specific fields. I would suggest to set proprietary bytes to 0xF0-0xFC or to 0xE0-0xEF then (E for Enterprise?). --0000000000000e8a5a058f0e886e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
> why not use Bitcoin compact uint, which most PSB= T consumers already
implement?

I totally agree with= that, compact int parsing is already implemented in all bitcoin applicatio= ns, wallets and libraries. Also, for certain (mb proprietary) applications = I will be willing to use multi-byte keys where the first byte defines the a= pplication type and next bytes define application-specific fields.

I would suggest to set proprietary bytes to 0xF0-0xFC or t= o 0xE0-0xEF then (E for Enterprise?).
--0000000000000e8a5a058f0e886e--