Delivery-date: Mon, 06 May 2024 12:25:29 -0700 Received: from mail-yb1-f189.google.com ([209.85.219.189]) by mail.fairlystable.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1s43xo-0002Mx-Pd for bitcoindev@gnusha.org; Mon, 06 May 2024 12:25:29 -0700 Received: by mail-yb1-f189.google.com with SMTP id 3f1490d57ef6-de8b6847956sf6507981276.1 for ; Mon, 06 May 2024 12:25:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1715023522; x=1715628322; darn=gnusha.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-sender:mime-version :subject:message-id:to:from:date:sender:from:to:cc:subject:date :message-id:reply-to; bh=yU2zlJRnbFOL7+7vRDPLxYESleb8Q67mHIqkZYGr8ao=; b=VSWODBQgcd5aGLiu+BNK6ivYI8Z5jvEkXN425bdC9CJDVbcIG53AGC3OY8pf1h0Ezn Qzpnq+X9T5sySKR8iAOjq6+erav6jgQHadspTWL3+kgbbpst406IL72UdqLxbIFCEUMm aZiRWWkz1l9SGC1xt0/A7zcxkCvRvqbYNnqD2pmvgCWWnJdo4UCTPdApnzeEn9PeO20Z KGbkywuN5tO4ATH4lGuxkr2r0MdQu/FV6fagp93vtTeywsF6HdM3s2zNf6DQuMuDzD3T 9f14b/wzbT45RxJHnLamNQS2XvmVF8Uy36fnt9cbo2bwYibRHd83SFchH/WMoPXhD2y7 0w0g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715023522; x=1715628322; darn=gnusha.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-sender:mime-version :subject:message-id:to:from:date:from:to:cc:subject:date:message-id :reply-to; bh=yU2zlJRnbFOL7+7vRDPLxYESleb8Q67mHIqkZYGr8ao=; b=Epzz9buWh/Q/eSVVy1tkBCepYss75+IWqPXifXlpTMm3Ih4bk/2hW2lF3r22xzT87W 0cP2DhACm6hkIpkWRxlN+8T6w5gJmVNloGxEZV76TFf59Brf/hCpaPK48M2c/X6nkp4c 1Z6qZ7tumGDYHqy1KHy2qifsEkOKUKX9Z958mz0Rh8iXM3M//dmZOZX6KOpWW0EOhbcD KC69q7sp2l9FSqdvyz9Mm59Jsu8ZSjnqA935sD/e1cfcQ9kIv6BMnrc0ab0dObgnT14v gLSvyD6EkZpbwKqc8VawASDJwgo/nulFz7iJVcWMgKVbfpWfs14D54CrqNoCzlOBFCZr qG0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715023522; x=1715628322; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-sender:mime-version :subject:message-id:to:from:date:x-beenthere:x-gm-message-state :sender:from:to:cc:subject:date:message-id:reply-to; bh=yU2zlJRnbFOL7+7vRDPLxYESleb8Q67mHIqkZYGr8ao=; b=QCmr0FHhDW9LAvg5FtTWUAycnMriStUzIt2HzXabfpqNPo2Q6O4cMusOVQBgjrXnzX aJD/81XvS3FVPVZlpU1brfg//rcnwv1HLq6BUxzLD2bSRYT3YMmOKyXOCkW561c23QZ1 /P37ghi/slqBaPCTjkGxtEUIxWhH0/Sg6mExEhx5rzTmvrzC7PM0JhaRUmI7VdR2C2Jm MDBFC+lJ4l08rfRYUwAMxn0g03ex72EVd9IrcOppsqExX2lQSsTbh4k/X5Mtl7H1AMg2 ypMVtTm1oFVE96OuMxLAmB60z00Knpl6JZ9Gm+8tWmXHV8zXnA/od11xyXv+j6Jjp8Y8 +0QA== Sender: bitcoindev@googlegroups.com X-Forwarded-Encrypted: i=1; AJvYcCUCZZ2vwxCKsfmvsbjJ/zplJhE7mWB67+Ys4Rv8x4bnsrEVcABEWVcPelzY9ryWpVGitwk4TIL86FWiuEaioSczRYhkC64= X-Gm-Message-State: AOJu0YwaTO4w8AOg09rRjmviwD2+LGv9FNwXSAfHAHKCOKEoQGshT3Xi ztSDIenMl7l/E2sxRa8xxhcYVLJSfZXh0NH6fHk2UqIXv/pdr8EJ X-Google-Smtp-Source: AGHT+IGgJefxd9leUPbQSoOZFr/p8VJfQeXNpfA585iGuf2bsVTXPYy3iwNAGMjSCfXFb7cZPNH0zw== X-Received: by 2002:a25:d88c:0:b0:dda:c380:689e with SMTP id 3f1490d57ef6-deba31e005amr490802276.4.1715023522508; Mon, 06 May 2024 12:25:22 -0700 (PDT) X-BeenThere: bitcoindev@googlegroups.com Received: by 2002:a25:ac93:0:b0:de6:3ce:8432 with SMTP id 3f1490d57ef6-de8b50571d4ls948879276.0.-pod-prod-08-us; Mon, 06 May 2024 12:25:21 -0700 (PDT) X-Received: by 2002:a05:6902:1023:b0:dd9:1db5:8348 with SMTP id x3-20020a056902102300b00dd91db58348mr3798397ybt.8.1715023520975; Mon, 06 May 2024 12:25:20 -0700 (PDT) Received: by 2002:a05:690c:f88:b0:620:4018:7c57 with SMTP id 00721157ae682-62040188055ms7b3; Mon, 6 May 2024 11:44:05 -0700 (PDT) X-Received: by 2002:a05:6902:2192:b0:de6:bf2:b026 with SMTP id dl18-20020a056902219200b00de60bf2b026mr1434019ybb.13.1715021043942; Mon, 06 May 2024 11:44:03 -0700 (PDT) Date: Mon, 6 May 2024 11:44:03 -0700 (PDT) From: jeremy To: Bitcoin Development Mailing List Message-Id: <35cba1cd-eb67-48d1-9615-e36f2e78d051n@googlegroups.com> Subject: [bitcoindev] BIP-119.2: Extensions for Lightning Symmetry MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1178_16237916.1715021043512" X-Original-Sender: Jeremy.L.Rubin@gmail.com Precedence: list Mailing-list: list bitcoindev@googlegroups.com; contact bitcoindev+owners@googlegroups.com List-ID: X-Google-Group-Id: 786775582512 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-Spam-Score: -0.5 (/) ------=_Part_1178_16237916.1715021043512 Content-Type: multipart/alternative; boundary="----=_Part_1179_79091784.1715021043512" ------=_Part_1179_79091784.1715021043512 Content-Type: text/plain; charset="UTF-8" This adds 3 new modes: - 20 Byte Hash160 CTV - 21 and 33 Byte CTV where last byte indicates second-to-top stack element to be included in hash The extension data is beneficial to Lightning Symmetry applications as they need data inscribed in a block so that clients may delete old channel states. One question to particularly address is if Hash160 is both preimage and collision resistant in this context, or if 20 bytes will be a security issue for lightning developers (I'm aware they use Hash160 for other applications) see draft BIP here: https://github.com/bitcoin/bips/pull/1587 -- You received this message because you are subscribed to the Google Groups "Bitcoin Development Mailing List" group. To unsubscribe from this group and stop receiving emails from it, send an email to bitcoindev+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/bitcoindev/35cba1cd-eb67-48d1-9615-e36f2e78d051n%40googlegroups.com. ------=_Part_1179_79091784.1715021043512 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
This adds 3 new modes:

- 20 Byte Hash160 CT= V
- 21 and 33 Byte CTV where last byte indicates second-to-top st= ack element to be included in hash

The extension= data is beneficial to Lightning Symmetry applications as they need data in= scribed in a block so that clients may delete old channel states.

One question to particularly address is if Hash160 is bot= h preimage and collision resistant in this context, or if 20 bytes will be = a security issue for lightning developers (I'm aware they use Hash160 for o= ther applications)

see draft BIP here: https://github= .com/bitcoin/bips/pull/1587

--
You received this message because you are subscribed to the Google Groups &= quot;Bitcoin Development Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to bitcoind= ev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg= id/bitcoindev/35cba1cd-eb67-48d1-9615-e36f2e78d051n%40googlegroups.com.=
------=_Part_1179_79091784.1715021043512-- ------=_Part_1178_16237916.1715021043512--