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?

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

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.