What does the 'n' in nLockTime and nSequence stand for?

5

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

Darius

Posted 2019-11-07T13:09:55.237

Reputation: 103

Answers

4

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

Saxtheowl

Posted 2019-11-07T13:09:55.237

Reputation: 1 148

That makes a lot of sense. Thank!Darius 2019-11-07T13:32:47.607

5The 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 2019-11-07T16:33:25.380