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

1 Answer 1


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

  • That makes a lot of sense. Thank!
    – Darius
    Nov 7, 2019 at 13:32
  • 6
    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. Nov 7, 2019 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.