Luke Dashjr [ARCHIVE] on Nostr: 📅 Original date posted:2015-08-10 📝 Original message:On Monday, August 10, 2015 ...
📅 Original date posted:2015-08-10
📝 Original message:On Monday, August 10, 2015 6:32:10 PM Ross Nicoll wrote:
> BTW, did you mean to take this off-list?
No, accidental. I'll re-CC it on this email.
> On 10/08/2015 00:46, Luke Dashjr wrote:
> > On Sunday, August 09, 2015 2:12:24 PM Ross Nicoll via bitcoin-dev wrote:
> >> BIP 70 currently lists two networks, main and test (inferred as
> >> testnet3) for payment protocol requests. This means that different
> >> testnets cannot be supported trivially, and the protocol cannot be used
> >> for alternative coins (or, lacks context to indicate which coin the
> >> request applies to, which is particularly dangerous in cases where coins
> >> share address prefixes).
> >
> > I don't see how address prefixes are relevant - the payment protocol
> > doesn't use addresses at all...
>
> Good point, trying to hard to preempt questions.
>
> >> I propose adding a new optional "genesis" field as a 16 byte sequence
> >> containing the SHA-256 hash of the genesis block of the network the
> >> request belongs to, uniquely identifying chains without any requirement
> >> for a central registry.
> >
> > Genesis blocks are not necessarily unique. For example, Litecoin and
> > Feathercoin share the same one.
>
> Had missed that, and there's no easy alternatives. BIP 44 chain IDs
> don't identify different testnets, and do not cover regtest at all.
Regtest isn't really a network at all, just a testing mode of Bitcoin Core...
> Most recent block hash could be used and also provides fork
> detection, but in doing so advertises if a merchant is on the wrong
> fork. Will think about it.
Is that a bad thing?
> > I'd appreciate initial feedback on the idea, and if there's no major
> > objections I'll raise this as a BIP.
>
> I don't see how this is related to improving Bitcoin...
>
> Well, mostly I'm trying not to avoid the situation where any accidental
> mixing of files is dangerous (funds can easily be sent on the wrong
> blockchain), nor with multiple standards (which is where we are at the
> moment). It improves things in avoiding future problems, rather than in
> the immediate term.
Sorry, I meant to stress that BIPs are for *Bitcoin* improvements
specifically. Things which only improve altcoins, while a perfectly fine thing
to standardise, are outside the scope of what belongs in a BIP.
Perhaps, however, this could be made to kill 2 birds with one stone, by
ensuring it addresses the need for payments made of bitcoins on a sidechain?
For this, a merchant who wants a sidechain payment would presumably be able to
provide a script from the main chain already, but an extension allowing
payment directly on the sidechain (at the customer's choice) avoids the need
to round-trip it...
Luke
Published at
2023-06-07 17:34:32Event JSON
{
"id": "58219680807a44692337ce21fe91c442509207324540e4ff07e88122f03b0bb3",
"pubkey": "5a6d1f44482b67b5b0d30cc1e829b66a251f0dc99448377dbe3c5e0faf6c3803",
"created_at": 1686159272,
"kind": 1,
"tags": [
[
"e",
"a705c666a2ba5f9b9fec1e15ec37ee592936203f74c541b73847f917a0090786",
"",
"root"
],
[
"e",
"888eb1139fe61bfdc908385af1131b99050eb5adf3a19629cbfafd959ff7c9b7",
"",
"reply"
],
[
"p",
"33228a8ed797b24e872fc0257c1515fc9bca74c0b230dcbb7d3d2bd38fd97ed7"
]
],
"content": "📅 Original date posted:2015-08-10\n📝 Original message:On Monday, August 10, 2015 6:32:10 PM Ross Nicoll wrote:\n\u003e BTW, did you mean to take this off-list?\n\nNo, accidental. I'll re-CC it on this email.\n\n\u003e On 10/08/2015 00:46, Luke Dashjr wrote:\n\u003e \u003e On Sunday, August 09, 2015 2:12:24 PM Ross Nicoll via bitcoin-dev wrote:\n\u003e \u003e\u003e BIP 70 currently lists two networks, main and test (inferred as\n\u003e \u003e\u003e testnet3) for payment protocol requests. This means that different\n\u003e \u003e\u003e testnets cannot be supported trivially, and the protocol cannot be used\n\u003e \u003e\u003e for alternative coins (or, lacks context to indicate which coin the\n\u003e \u003e\u003e request applies to, which is particularly dangerous in cases where coins\n\u003e \u003e\u003e share address prefixes).\n\u003e \u003e \n\u003e \u003e I don't see how address prefixes are relevant - the payment protocol\n\u003e \u003e doesn't use addresses at all...\n\u003e \n\u003e Good point, trying to hard to preempt questions.\n\u003e \n\u003e \u003e\u003e I propose adding a new optional \"genesis\" field as a 16 byte sequence\n\u003e \u003e\u003e containing the SHA-256 hash of the genesis block of the network the\n\u003e \u003e\u003e request belongs to, uniquely identifying chains without any requirement\n\u003e \u003e\u003e for a central registry.\n\u003e \u003e \n\u003e \u003e Genesis blocks are not necessarily unique. For example, Litecoin and\n\u003e \u003e Feathercoin share the same one.\n\u003e \n\u003e Had missed that, and there's no easy alternatives. BIP 44 chain IDs\n\u003e don't identify different testnets, and do not cover regtest at all.\n\nRegtest isn't really a network at all, just a testing mode of Bitcoin Core...\n\n\u003e Most recent block hash could be used and also provides fork\n\u003e detection, but in doing so advertises if a merchant is on the wrong\n\u003e fork. Will think about it.\n\nIs that a bad thing?\n\n\u003e \u003e I'd appreciate initial feedback on the idea, and if there's no major\n\u003e \u003e objections I'll raise this as a BIP.\n\u003e\n\u003e I don't see how this is related to improving Bitcoin...\n\u003e \n\u003e Well, mostly I'm trying not to avoid the situation where any accidental\n\u003e mixing of files is dangerous (funds can easily be sent on the wrong\n\u003e blockchain), nor with multiple standards (which is where we are at the\n\u003e moment). It improves things in avoiding future problems, rather than in\n\u003e the immediate term.\n\nSorry, I meant to stress that BIPs are for *Bitcoin* improvements \nspecifically. Things which only improve altcoins, while a perfectly fine thing \nto standardise, are outside the scope of what belongs in a BIP.\n\nPerhaps, however, this could be made to kill 2 birds with one stone, by \nensuring it addresses the need for payments made of bitcoins on a sidechain?\nFor this, a merchant who wants a sidechain payment would presumably be able to \nprovide a script from the main chain already, but an extension allowing \npayment directly on the sidechain (at the customer's choice) avoids the need \nto round-trip it...\n\nLuke",
"sig": "75ca735439ba01a0f3899391f446df01df392294fce5fbbd39e8a912710f31eb4646e6a9f9b73d588c69287d3007a51cfb17a2edcce5fd42af41bb6124079411"
}