Anthony Towns [ARCHIVE] on Nostr: 📅 Original date posted:2021-09-14 📝 Original message:On Sun, Sep 12, 2021 at ...
📅 Original date posted:2021-09-14
📝 Original message:On Sun, Sep 12, 2021 at 10:33:24PM -0700, Matt Corallo via bitcoin-dev wrote:
> > On Sep 12, 2021, at 00:53, Anthony Towns <aj at erisian.com.au> wrote:
> >> 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? :)
The answer to your question was in the text after the comma, that you
deleted...
> > 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?
I'm not sure that's really the question you want answered? Mostly
it's just "this is how mainnet works" plus "these are the smallest
changes to have blocks be chosen by a signature, rather than entirely
by PoW competition".
For integration testing across many services, I think a ten-minute-average
between blocks still makes sense -- protocols relying on CSV/CLTV to
ensure there's a delay they can use to recover funds, if they specify
that in blocks (as lightning's to_self_delay does), then significant
surges of blocks will cause uninteresting bugs.
It would be easy enough to change things to target an average of 2 or
5 minutes, I suppose, but then you'd probably need to propogate that
logic back into your apps that would otherwise think 144 blocks is around
about a day.
We could switch back to doing blocks exactly every 10 minutes, rather
than a poisson-ish distribution in the range of 1min to 60min, but that
doesn't seem like that huge a win, and makes it hard to test that things
behave properly when blocks arrive in bursts.
> 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.
Best of luck to you then? Nobody's trying to sell you on a subscription
plan to using signet. Signet's less expensive in fees (or risk) than
mainnet, and takes far less time for IBD than testnet, but if those
aren't blockers for you, that's great.
Cheers,
aj
Published at
2023-06-07 22:58:51Event JSON
{
"id": "7a923ab83c8bd28a00cb2c75b118081b563394e4f74eab25dc232523a34a2ae8",
"pubkey": "f0feda6ad58ea9f486e469f87b3b9996494363a26982b864667c5d8acb0542ab",
"created_at": 1686178731,
"kind": 1,
"tags": [
[
"e",
"82e0f12d7f35467c29cd59e777250289c4cb4554dc58ceaaad44bec4613bd98c",
"",
"root"
],
[
"e",
"2f452847d166e26e62ac7f6414b625053332e6d74957e312b622d892bc2c02e5",
"",
"reply"
],
[
"p",
"cd753aa8fbc112e14ffe9fe09d3630f0eff76ca68e376e004b8e77b687adddba"
]
],
"content": "📅 Original date posted:2021-09-14\n📝 Original message:On Sun, Sep 12, 2021 at 10:33:24PM -0700, Matt Corallo via bitcoin-dev wrote:\n\u003e \u003e On Sep 12, 2021, at 00:53, Anthony Towns \u003caj at erisian.com.au\u003e wrote:\n\u003e \u003e\u003e Why bother with a version bit? This seems substantially more complicated\n\u003e \u003e\u003e than the original proposal that surfaced many times before signet launched\n\u003e \u003e\u003e to just have a different reorg signing key.\n\u003e \u003e Yeah, that was the original idea, but there ended up being two problems\n\u003e \u003e with that approach. The simplest is that the signet block signature\n\u003e \u003e encodes the signet challenge,\n\u003e But if that was the originally proposal, why is the challenge committed to in the block? :)\n\nThe answer to your question was in the text after the comma, that you\ndeleted...\n\n\u003e \u003e Blocks on signet get mined at a similar rate to mainnet, so you'll always\n\u003e \u003e have to wait a little bit (up to an hour) -- if you don't want to wait\n\u003e \u003e at all, that's what regtest (or perhaps a custom signet) is for.\n\u003e Can you explain the motivation for this? \n\nI'm not sure that's really the question you want answered? Mostly\nit's just \"this is how mainnet works\" plus \"these are the smallest\nchanges to have blocks be chosen by a signature, rather than entirely\nby PoW competition\".\n\nFor integration testing across many services, I think a ten-minute-average\nbetween blocks still makes sense -- protocols relying on CSV/CLTV to\nensure there's a delay they can use to recover funds, if they specify\nthat in blocks (as lightning's to_self_delay does), then significant\nsurges of blocks will cause uninteresting bugs. \n\nIt would be easy enough to change things to target an average of 2 or\n5 minutes, I suppose, but then you'd probably need to propogate that\nlogic back into your apps that would otherwise think 144 blocks is around\nabout a day.\n\nWe could switch back to doing blocks exactly every 10 minutes, rather\nthan a poisson-ish distribution in the range of 1min to 60min, but that\ndoesn't seem like that huge a win, and makes it hard to test that things\nbehave properly when blocks arrive in bursts.\n\n\u003e From where I sit, as far as I know, I should basically be a prime\n\u003e example of the target market for public signet - someone developing\n\u003e bitcoin applications with regular requirements to test those applications\n\u003e with other developers without jumping through hoops to configure software\n\u003e the same across the globe and set up miners. With blocks being slow and\n\u003e irregular, I’m basically not benefited at all by signet and will stick\n\u003e with testnet3/mainnet testing, which both suck.\n\nBest of luck to you then? Nobody's trying to sell you on a subscription\nplan to using signet. Signet's less expensive in fees (or risk) than\nmainnet, and takes far less time for IBD than testnet, but if those\naren't blockers for you, that's great.\n\nCheers,\naj",
"sig": "7fcf6c99ee8aa8b5f3736f1b653e15fc1af9eb0e28248596355311a076a856ed2c5748541fbc9e849f9cf9d4d27390d7d987e7f6c6cb127fa0b527e541ed743f"
}