1

I realize that this is how Satoshi named them and there was some reasoning behind these names, but even after years of using them, I find them weird and confusing, especially when e.g. explaining them to new people.

AFAIU, we could all just pick and start using new names like "output script" and "input script", and gradually rename them in source codes of Bitcoin Core, various tools and so on.

Is this feasible? Is there any technical reason no to? Did anyone ever tried? How would I go about it? A BIP?

1 Answer 1

2

While those names come from the way they are named in the code, changing the naming in the code would not solve the problem. The problem is a social one, not a technical one.

Even if those fields were renamed, many people would continue to refer to them as scriptPubKey and scriptSig simply due to habits. There would additionally be a lot of old documentation, discussions, forum posts, emails, etc. that cannot be changed which refer to those fields as scriptPubKey and scriptSig. Inevitably newcomers will come across this terminology even if everyone were to start using new terminology.

The best that we can do is to start using new terminology wherever possible. For example, I try to use input and output script in all of my writing rather than scriptPubKey and scriptSig. They do not need to be renamed in the code in order to be referred to using different words.

2
  • I don't see a clear distinction between social and technical aspects. The code is a social artifact. "many people would continue to refer to them as scriptPubKey and scriptSig simply due to habits" And that's expected and totally fine. There would a period (possibly a long one) when pepole would just be aware that there used to be and old name, and now a new name.
    – dpc.pw
    May 22, 2022 at 16:19
  • "The best that we can do is to start using new terminology wherever possible. For example, I try to use input and output script in all of my writing rather than scriptPubKey and scriptSig." I'm happy to hear that I'm not the only one that would like this to happen, but my main problem is - which term do we use exactly? I was considering "lock script" and "unlock script", "input script" and "output script"? And how do we form a certain amount of consensus around it?
    – dpc.pw
    May 22, 2022 at 16:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.