Matt Corallo [ARCHIVE] on Nostr: 📅 Original date posted:2021-09-13 📝 Original message:> On Sep 12, 2021, at ...
📅 Original date posted:2021-09-13
📝 Original message:> On Sep 12, 2021, at 00:53, Anthony Towns <aj at erisian.com.au> wrote:
>
> On Thu, Sep 09, 2021 at 05:50:08PM -0700, Matt Corallo via bitcoin-dev wrote:
>>> AJ proposed to allow SigNet users to opt-out of reorgs in case they
>>> explicitly want to remain unaffected. This can be done by setting a
>>> to-be-reorged version bit [...]
>> Why bother with a version bit? This seems substantially more complicated
>> than the original proposal that surfaced many times before signet launched
>> to just have a different reorg signing key.
>
> Yeah, that was the original idea, but there ended up being two problems
> with that approach. The simplest is that the signet block signature
> encodes the signet challenge,
But if that was the originally proposal, why is the challenge committed to in the block? :)
> So using the RECENT_CONSENSUS_CHANGE behaviour that avoids the
> discourage/disconnect logic seems the way to avoid that problem, and that
> means making it so that nodes that that opt-out of reorgs can distinguish
> valid-but-will-become-stale blocks from invalid blocks. Using a versionbit
> seems like the easiest way of doing that.
Sure, you could set that for invalid block signatures as well though. It’s not really a material DoS protection one way or the other.
>>> The reorg-interval X very much depends on the user's needs. One could
>>> argue that there should be, for example, three reorgs per day, each 48
>>> blocks apart. Such a short reorg interval allows developers in all time
>>> zones to be awake during one or two reorgs per day. Developers don't
>>> need to wait for, for example, a week until they can test their reorgs
>>> next. However, too frequent reorgs could hinder other SigNet users.
>> I see zero reason whatsoever to not simply reorg ~every block, or as often
>> as is practical. If users opt in to wanting to test with reorgs, they should
>> be able to test with reorgs, not wait a day to test with reorgs.
>
> Blocks on signet get mined at a similar rate to mainnet, so you'll always
> have to wait a little bit (up to an hour) -- if you don't want to wait
> at all, that's what regtest (or perhaps a custom signet) is for.
Can you explain the motivation for this? From where I sit, as far as I know, I should basically be a prime example of the target market for public signet - someone developing bitcoin applications with regular requirements to test those applications with other developers without jumping through hoops to configure software the same across the globe and set up miners. With blocks being slow and irregular, I’m basically not benefited at all by signet and will stick with testnet3/mainnet testing, which both suck.
Published at
2023-06-07 22:58:50Event JSON
{
"id": "2f452847d166e26e62ac7f6414b625053332e6d74957e312b622d892bc2c02e5",
"pubkey": "cd753aa8fbc112e14ffe9fe09d3630f0eff76ca68e376e004b8e77b687adddba",
"created_at": 1686178730,
"kind": 1,
"tags": [
[
"e",
"82e0f12d7f35467c29cd59e777250289c4cb4554dc58ceaaad44bec4613bd98c",
"",
"root"
],
[
"e",
"9ce5ff83cf9ba94a938e1c7e734923f2c72b7e81df2dd9dd821cb494ff7e29dc",
"",
"reply"
],
[
"p",
"f0feda6ad58ea9f486e469f87b3b9996494363a26982b864667c5d8acb0542ab"
]
],
"content": "📅 Original date posted:2021-09-13\n📝 Original message:\u003e On Sep 12, 2021, at 00:53, Anthony Towns \u003caj at erisian.com.au\u003e wrote:\n\u003e \n\u003e On Thu, Sep 09, 2021 at 05:50:08PM -0700, Matt Corallo via bitcoin-dev wrote:\n\u003e\u003e\u003e AJ proposed to allow SigNet users to opt-out of reorgs in case they\n\u003e\u003e\u003e explicitly want to remain unaffected. This can be done by setting a\n\u003e\u003e\u003e to-be-reorged version bit [...]\n\u003e\u003e Why bother with a version bit? This seems substantially more complicated\n\u003e\u003e than the original proposal that surfaced many times before signet launched\n\u003e\u003e to just have a different reorg signing key.\n\u003e \n\u003e Yeah, that was the original idea, but there ended up being two problems\n\u003e with that approach. The simplest is that the signet block signature\n\u003e encodes the signet challenge,\n\nBut if that was the originally proposal, why is the challenge committed to in the block? :)\n\n\u003e So using the RECENT_CONSENSUS_CHANGE behaviour that avoids the\n\u003e discourage/disconnect logic seems the way to avoid that problem, and that\n\u003e means making it so that nodes that that opt-out of reorgs can distinguish\n\u003e valid-but-will-become-stale blocks from invalid blocks. Using a versionbit\n\u003e seems like the easiest way of doing that.\n\nSure, you could set that for invalid block signatures as well though. It’s not really a material DoS protection one way or the other.\n\n\u003e\u003e\u003e The reorg-interval X very much depends on the user's needs. One could\n\u003e\u003e\u003e argue that there should be, for example, three reorgs per day, each 48\n\u003e\u003e\u003e blocks apart. Such a short reorg interval allows developers in all time\n\u003e\u003e\u003e zones to be awake during one or two reorgs per day. Developers don't\n\u003e\u003e\u003e need to wait for, for example, a week until they can test their reorgs\n\u003e\u003e\u003e next. However, too frequent reorgs could hinder other SigNet users.\n\u003e\u003e I see zero reason whatsoever to not simply reorg ~every block, or as often\n\u003e\u003e as is practical. If users opt in to wanting to test with reorgs, they should\n\u003e\u003e be able to test with reorgs, not wait a day to test with reorgs.\n\u003e \n\u003e Blocks on signet get mined at a similar rate to mainnet, so you'll always\n\u003e have to wait a little bit (up to an hour) -- if you don't want to wait\n\u003e at all, that's what regtest (or perhaps a custom signet) is for.\n\nCan you explain the motivation for this? From where I sit, as far as I know, I should basically be a prime example of the target market for public signet - someone developing bitcoin applications with regular requirements to test those applications with other developers without jumping through hoops to configure software the same across the globe and set up miners. With blocks being slow and irregular, I’m basically not benefited at all by signet and will stick with testnet3/mainnet testing, which both suck.",
"sig": "b9cae9efb66551563f580109c62cdd55505f19421fbd46c17d428fb247ac287ea0701f191bffb3abf8ca76cf8ec331d212cec4a1fc056b30ff114e3876c9da74"
}