From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 637313C9F for ; Wed, 31 Jul 2019 14:32:05 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 8B26DA8 for ; Wed, 31 Jul 2019 14:32:04 +0000 (UTC) Received: by mail-wm1-f41.google.com with SMTP id x15so61088602wmj.3 for ; Wed, 31 Jul 2019 07:32:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=satoshilabs.com; s=google; h=to:references:from:openpgp:autocrypt:subject:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=75DTWjajgxvX4LyvzdkygsezMq3CPwGCOkbajEK9QNo=; b=QValDKWjC+u61Z9vtxwHzew89xy+/9ufBWNiZTHy5EbAGdu9lfJPRK7EhXG16WE4cF yyPpw2GMlonEMtbIaq/8GicFMHpbefMGs5LOkyQhamps+FMLnTaNDJMyPO7ZWGF0FGdE TyBIWDAOZws78eVx7X2ZM1y+8mrnPZX5Vh0rnjFantbe8Zes7rsv82r4AYUOUxGETqAm 2OIs6CQY8O1QYPKdArKnl0pe2uUGliskJFr2QKbXpj3o0Cun16fHkxb629jv+Lv/xQhU nQR+H9VA7v8GFXhQm87BMZXFCQh1/d/YBt4D0pQzzmySLHSZWNEO3qbXJd+C69euYm9F 6rWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:references:from:openpgp:autocrypt:subject :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=75DTWjajgxvX4LyvzdkygsezMq3CPwGCOkbajEK9QNo=; b=Bgfq+jjSJn8GfqwXp5+gOyKFcndrkzFBBGd3ULlMVew2oMXy4zcSj6QX7ATERjlhUu k69332FAECt7w2onoTh/IDpMpaXK6xGgb+dGKw24/x1+UedsjWmq3bzyulMf8ID9m17b T9DRKgZ8+J3IMVTltxiAp6zsk71e+kwNGFxmikj5xuhopCbabfNZE6ZVLNp+fJ8ASkdx ykjeowHw4tdErZM03WOYjjs/UnNXGwxKScpzv4wGLZ0Dl2wdIXD0LrA1lUij0Yt+Tdki MuCix2qOLvi0thx4gJeBn8FjXZ6I0YGs0tdaxUAeADtfCHR5CO7kat5k6Lzgdu/MJRqc b7Ng== X-Gm-Message-State: APjAAAVE2X/JJ22H3kchw1M2glAONEX9XnAGLwMoWMqU6oW/gc32LQSr N1hraY9qpK8cRFOHyWD19Y1lF4VCZ8k= X-Google-Smtp-Source: APXvYqyvk3vvaQ6BpnrxJW15p4JqbnqGYSm7QIPzPHJwX7ri4Gl0qFf7lI8NpV011+tMyM0r7NDLhQ== X-Received: by 2002:a05:600c:284:: with SMTP id 4mr109795947wmk.12.1564583522941; Wed, 31 Jul 2019 07:32:02 -0700 (PDT) Received: from [192.168.2.140] (ip-94-112-58-143.net.upcbroadband.cz. [94.112.58.143]) by smtp.gmail.com with ESMTPSA id g12sm100530950wrv.9.2019.07.31.07.32.01 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 31 Jul 2019 07:32:02 -0700 (PDT) To: Andrew Chow via bitcoin-dev References: From: jan matejek Openpgp: preference=signencrypt Autocrypt: addr=jan.matejek@satoshilabs.com; keydata= mQINBFqFmVUBEADi+iKI60b0gvNokY3wxUqmZUt4ms6FPdf/oksWBbmS1JFzIpbFUims72Yd GmfAgJIkQ//Qae9rXj1BHZtZm6ag7Ts5ojOu0lOndLJg4XB4ELkEFZrmcH8DvhlFRUQb02RN ieXqbdinCNRvmqIpk6UhZ2+RF0EAnvFOBAu21E/hCemr+vGkQdaU+Gx6nc2yiDOxSF2JFbC1 jGZhEeuuBCdL9K3VDfDVcbQC5tzYJHF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iucVVWD/cTeOROh4vedxwxyCQP8dV4eUDcGuQZNi SHO2EaDjVweuhO/oHxaA96ZJ+4/GXmhjt7hDruJLEdmZgQAt/aC7G1OMV5XQSXaDzD3Otl0f +Z1uNI9RfbMitP+h1Gncm/cMvJWOkbA2ZzS4Mfgf8xxd2irR9TQKEImksSirKcUsWGK/u9ni vupZ+vbe4REXf5y5ad2ILDPzdwQQWhiyD9cxMDjT51UMMPxxNOTXLQatbVYSAGGK9PSNpEh2 IqRtf0+LeTaOnjUjVPuXTROI/TMh2Ia5U6ZuvYcPPhb+sY5OQX3mQJT2uvbiVLz5rkR6ZHq4 dx4JuP4wvuXLPeN9lE+6S/3i5G+EiqnArsmdMMgMARTLV930qyrD1RqivawBpzJKbqJ9hzuF rvSW01bGYc+Zo4lwg8zQg5c0aA9/OaygGz/anF98WbLKwMpKAnHUv8Oo0PQ3ku5Aow85baFw ekqL1UhX0Eez5Dw5gDnyWLt1oKa7D3XPYG6zmX5fcXGvj9pbxnbgUecUVN3EpkQyaT2ExVwb v5dUJDnnoT71TTMPNUTl9BNQacyH2puxZQ== Message-ID: <500fdbad-f469-2916-fc71-b60971b6425e@satoshilabs.com> Date: Wed, 31 Jul 2019 16:32:00 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, 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: Wed, 31 Jul 2019 18:19:11 +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: Wed, 31 Jul 2019 14:32:05 -0000 hello, On 31. 07. 19 3:13, Andrew Chow via bitcoin-dev wrote: > Lastly, I would like to propose the canonical method for mult-byte > types. We designate a specific type to indicate that the type is > multiple bytes. When such types are observed, parsers should move onto > the next byte and interpret that as the type, keeping in mind the number > of bytes that were read in for the type. why not use Bitcoin compact uint, which most PSBT consumers already implement? regards m.