I know what nLockTime and nSequence do, but I'm just curious about where the 'n' comes from. Thanks


It stand for a number, it is commonly used in programming to designate a variable that gonna hold an amount of something see: https://en.bitcoin.it/wiki/NLockTime and https://en.bitcoinwiki.org/wiki/NSequence

| improve this answer | |
  • That makes a lot of sense. Thank! – Darius Nov 7 '19 at 13:32
  • 5
    The concept of prefixing variable names with information about their type is called Hungarian notation. It was common in Windows programming in the '90s, and now is generally considered a bad idea. – Pieter Wuille Nov 7 '19 at 16:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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