Michael Gronager [ARCHIVE] on Nostr: 📅 Original date posted:2012-01-28 📝 Original message:Dear Bitcoiners, I have ...
📅 Original date posted:2012-01-28
📝 Original message:Dear Bitcoiners,
I have been following some of the debate on the various BIP suggestions for enabling e.g. multisignature transactions. ( First a little rant - it seems like the discussion takes place in at least 5 different forums plus the IRC, this is so annoying. Please keep the discussion at one place and refer to this for people asking questions other places - including me, now... ).
I have some issues with BIP-16, it is mainly the lines 265-269 in the reference implementation (
https://github.com/gavinandresen/bitcoin-git/blob/pay_to_script_hash/src/base58.h):
PUBKEY_ADDRESS = 0,
SCRIPT_ADDRESS = 5,
PUBKEY_ADDRESS_TEST = 111,
SCRIPT_ADDRESS_TEST = 196,
The purpose of the networkID is broken by this, as it ties additional information into an address as a hack. In the BIP-12 implementation I argued that this notification on address level is not needed, and should not be introduced, I am still of the same opinion. The bitcoin code has enough of globals and cross references inside the code s it is today, lets not add another one...
If we want more information in a bitcoin address we could just as well cannibalize it from the checksum - today it is 4 bytes (1 to 4mia) it could be 2 or 3 bytes (1 to 65k or 16M) and that would not break the current meaning of the network ID. This would have the same effect - that you could not mistake two different addresses and create a non-redeemable transaction.
The BIP-17 seems a step forward, but I also agree with Gavins note on one on the forums, that it behaves differently in input and output scripts. So it obviously need some further work too.
Cheers,
Michael
Published at
2023-06-07 02:58:24Event JSON
{
"id": "49fe1219750b0272c7d954fdea814e53d2f434f88232028d71601ddcb63f17fd",
"pubkey": "9e3c76fd7eb862ca37f150391debc7baa4f8423eaa3f894c476a7d4360de9a02",
"created_at": 1686106704,
"kind": 1,
"tags": [
[
"e",
"5b0b5a0dc906f8444a808246585a4c5ab80187e8d37eadb2b492a7d2ca749128",
"",
"reply"
],
[
"p",
"a23dbf6c6cc83e14cc3df4e56cc71845f611908084cfe620e83e40c06ccdd3d0"
]
],
"content": "📅 Original date posted:2012-01-28\n📝 Original message:Dear Bitcoiners,\n\nI have been following some of the debate on the various BIP suggestions for enabling e.g. multisignature transactions. ( First a little rant - it seems like the discussion takes place in at least 5 different forums plus the IRC, this is so annoying. Please keep the discussion at one place and refer to this for people asking questions other places - including me, now... ).\n\nI have some issues with BIP-16, it is mainly the lines 265-269 in the reference implementation (https://github.com/gavinandresen/bitcoin-git/blob/pay_to_script_hash/src/base58.h): \n\nPUBKEY_ADDRESS = 0,\nSCRIPT_ADDRESS = 5,\nPUBKEY_ADDRESS_TEST = 111,\nSCRIPT_ADDRESS_TEST = 196,\n\nThe purpose of the networkID is broken by this, as it ties additional information into an address as a hack. In the BIP-12 implementation I argued that this notification on address level is not needed, and should not be introduced, I am still of the same opinion. The bitcoin code has enough of globals and cross references inside the code s it is today, lets not add another one...\n\nIf we want more information in a bitcoin address we could just as well cannibalize it from the checksum - today it is 4 bytes (1 to 4mia) it could be 2 or 3 bytes (1 to 65k or 16M) and that would not break the current meaning of the network ID. This would have the same effect - that you could not mistake two different addresses and create a non-redeemable transaction.\n\nThe BIP-17 seems a step forward, but I also agree with Gavins note on one on the forums, that it behaves differently in input and output scripts. So it obviously need some further work too.\n\nCheers,\n\nMichael",
"sig": "175c3955624306f6b1f13704ab5a0b73beecda12759eb27686b86527168358545e00959da7af5f2cba65e9b46c53d580ce22fcf444dcaa2268a731b93d7555bf"
}