Is 'nLockTime' equal to 'lock_time' in transaction data structure?

0

I understand how 'lock_time' field work in transaction data structure, but I also see some people talking about 'nLockTime' with similar function. So are they the same?

Anderson

Posted 2017-11-17T07:39:11.587

Reputation: 115

Answers

1

Yes, they are the same. nLockTime is the name used in the Bitcoin Core source code (e.g. here) , whereas locktime or lock_time might be more common in JSON input/output or other pieces of software. The Bitcoin Core RPC uses locktime for example, and blockchain.info uses lock_time in its rawtx/ endpoint

MeshCollider

Posted 2017-11-17T07:39:11.587

Reputation: 8 735