What is Nostr?
Gavin [ARCHIVE] /
npub1fvd
d8pr
2023-06-07 15:20:31
in reply to nevent1q
22xu

Gavin [ARCHIVE] on Nostr: 📅 Original date posted:2014-04-29 📝 Original message:Consensus is the spec ...

📅 Original date posted:2014-04-29
📝 Original message:Consensus is the spec should be clarified to match current behavior, so it won't change.

--
Gavin Andresen


> On Apr 29, 2014, at 9:44 AM, Jouke Hofman <jouke at bitonic.nl> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> We have BIP70 already in use (over a hundred paid requests).
>
> Could you elaborate on why this needs changing?
>
>
>
>> On 28-04-14 14:39, Gavin Andresen wrote:
>> There is a discussion about clarifying how BIP70 signs payment
>> requests here: https://github.com/bitcoin/bips/pull/41
>>
>> The issue is what to do with the signature field before signing.
>> The code Mike and I initially wrote does this:
>>
>> request.set_signature(string(""));
>>
>> (sets signature to the empty string)
>>
>> I think that is a mistake; it should be:
>>
>> request.clear_signature();
>>
>> (clears signature field, so it is not serialized at all).
>>
>> So: if you are implementing, or have implemented, the payment
>> protocol, please chime in. I'd like to change the spec and the
>> reference implementation NOW, while BIP70 is still a 'Draft'.
>>
>> Because this type of "hey, I'm implementing your standard and it
>> doesn't work the way I think it should" mistake is exactly why BIPs
>> take a while before being declared 'Final.'
>>
>>
>>
>>
>> ---------------------------------------
Author Public Key
npub1fvd9jpjgn33ry4tt663e3fpsw5zysxzuacumergtweqhsa6ac9gqred8pr