Matt Corallo [ARCHIVE] on Nostr: 📅 Original date posted:2018-05-17 📝 Original message:BIP 158 currently includes ...
📅 Original date posted:2018-05-17
📝 Original message:BIP 158 currently includes the following in the "basic" filter: 1)
txids, 2) output scripts, 3) input prevouts.
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 and (2) and (3) may want to be split out -
many wallets may wish to just find transactions paying to them, as
transactions spending from their outputs should generally be things
they've created.
In general, I'm concerned about the size of the filters making existing
SPV clients less willing to adopt BIP 158 instead of the existing bloom
filter garbage and would like to see a further exploration of ways to
split out filters to make them less bandwidth intensive. Some further
ideas we should probably play with before finalizing moving forward is
providing filters for certain script templates, eg being able to only
get outputs that are segwit version X or other similar ideas.
Matt
Published at
2023-06-07 18:12:10Event JSON
{
"id": "9b3c9631b6183ae5e3f475922609d34c0b6577f558495d4c4f09c3aad2830bb7",
"pubkey": "cd753aa8fbc112e14ffe9fe09d3630f0eff76ca68e376e004b8e77b687adddba",
"created_at": 1686161530,
"kind": 1,
"tags": [
[
"e",
"aefee7e3913729b7ef736d47c6f2a24954de10011f27b89dcaeaac62c51b6a6f",
"",
"reply"
],
[
"p",
"a23dbf6c6cc83e14cc3df4e56cc71845f611908084cfe620e83e40c06ccdd3d0"
]
],
"content": "📅 Original date posted:2018-05-17\n📝 Original message:BIP 158 currently includes the following in the \"basic\" filter: 1)\ntxids, 2) output scripts, 3) input prevouts.\n\nI believe (1) could be skipped entirely - there is almost no reason why\nyou'd not be able to filter for, eg, the set of output scripts in a\ntransaction you know about and (2) and (3) may want to be split out -\nmany wallets may wish to just find transactions paying to them, as\ntransactions spending from their outputs should generally be things\nthey've created.\n\nIn general, I'm concerned about the size of the filters making existing\nSPV clients less willing to adopt BIP 158 instead of the existing bloom\nfilter garbage and would like to see a further exploration of ways to\nsplit out filters to make them less bandwidth intensive. Some further\nideas we should probably play with before finalizing moving forward is\nproviding filters for certain script templates, eg being able to only\nget outputs that are segwit version X or other similar ideas.\n\nMatt",
"sig": "75ab7c96344d657b03e60fbed6487de5494a64623b8f9f37c5c5c62c6c125de6bd31b318434e30dfef0dd1bc74090d944ce22854c8f09d76d0a6af11fd407ba2"
}