Gregory Maxwell [ARCHIVE] on Nostr: 📅 Original date posted:2018-05-17 📝 Original message:On Thu, May 17, 2018 at ...
📅 Original date posted:2018-05-17
📝 Original message:On Thu, May 17, 2018 at 3:25 PM, Matt Corallo via bitcoin-dev
<bitcoin-dev at lists.linuxfoundation.org> wrote:
> I believe (1) could be skipped entirely - there is almost no reason why
> you'd not be able to filter for, eg, the set of output scripts in a
> transaction you know about
I think this is convincing for the txids themselves.
What about also making input prevouts filter based on the scriptpubkey
being _spent_? Layering wise in the processing it's a bit ugly, but
if you validated the block you have the data needed.
This would eliminate the multiple data type mixing entirely.
Published at
2023-06-07 18:12:11Event JSON
{
"id": "52d3c4ce76bdd7f57bb870f9e5251a886c47a0566f36b759031a4022ece3b727",
"pubkey": "4aa6cf9aa5c8e98f401dac603c6a10207509b6a07317676e9d6615f3d7103d73",
"created_at": 1686161531,
"kind": 1,
"tags": [
[
"e",
"aefee7e3913729b7ef736d47c6f2a24954de10011f27b89dcaeaac62c51b6a6f",
"",
"root"
],
[
"e",
"d8fe7f9055a70addd4c267e7727ba5e361d47ea4b0872607984198e29ff3469f",
"",
"reply"
],
[
"p",
"cd753aa8fbc112e14ffe9fe09d3630f0eff76ca68e376e004b8e77b687adddba"
]
],
"content": "📅 Original date posted:2018-05-17\n📝 Original message:On Thu, May 17, 2018 at 3:25 PM, Matt Corallo via bitcoin-dev\n\u003cbitcoin-dev at lists.linuxfoundation.org\u003e wrote:\n\u003e I believe (1) could be skipped entirely - there is almost no reason why\n\u003e you'd not be able to filter for, eg, the set of output scripts in a\n\u003e transaction you know about\n\nI think this is convincing for the txids themselves.\n\nWhat about also making input prevouts filter based on the scriptpubkey\nbeing _spent_? Layering wise in the processing it's a bit ugly, but\nif you validated the block you have the data needed.\n\nThis would eliminate the multiple data type mixing entirely.",
"sig": "134b7b07faedbbfa6b9d090fd6d0ea0ac831ad27bd2493f8e02851870f9e4054d7d286fe6b89e9ea4da82c4653cf57d5719eb8054ae535d3cb45917c301e0586"
}