{"id":27269,"date":"2023-12-07T03:45:19","date_gmt":"2023-12-07T03:45:19","guid":{"rendered":"https:\/\/masterskills.org\/blog\/thoi-gian-khoa-giao-dich-locktime-hay-nlocktime-la-gi.html"},"modified":"2023-12-22T14:55:01","modified_gmt":"2023-12-22T07:55:01","slug":"thoi-gian-khoa-giao-dich-locktime-hay-nlocktime-la-gi","status":"publish","type":"post","link":"https:\/\/masterskills.org\/blog\/thoi-gian-khoa-giao-dich-locktime-hay-nlocktime-la-gi.html","title":{"rendered":"Th\u1eddi gian kh\u00f3a giao d\u1ecbch (Locktime hay nLocktime) l\u00e0 g\u00ec?"},"content":{"rendered":"<div class=\"vnbcbc-body vceditor-content wi-active\" data-role=\"content\">\n<figure class=\"VCSortableInPreviewMode\" type=\"Photo\" style=\"\">\n<div><\/div><figcaption class=\"PhotoCMS_Caption\">\n<p data-placeholder=\"[Nh\u1eadp ch\u00fa th\u00edch \u1ea3nh]\" class=\"\">H\u00ecnh minh h\u1ecda. Ngu\u1ed3n: healthitsecurity<\/p>\n<\/figcaption><\/figure>\n<h2><font style=\"line-height: 22px; font-size: 22px;\" color=\"#3d85c6\">Th\u1eddi gian kh\u00f3a giao d\u1ecbch (Locktime hay nLocktime)<\/font><\/h2>\n<p><b>\u0110\u1ecbnh ngh\u0129a<\/b><\/p>\n<p>Locktime l\u00e0 m\u1ed9t tr\u01b0\u1eddng \u0111\u01b0\u1ee3c th\u00eam v\u00e0o cu\u1ed1i k\u1ecbch b\u1ea3n Bitcoin nh\u1eb1m l\u00f9i th\u1eddi gian s\u1edbm nh\u1ea5t ho\u1eb7c c\u00e1c block m\u00e0 giao d\u1ecbch c\u00f3 th\u1ec3 \u0111\u01b0\u1ee3c th\u00eam m\u1ed9t c\u00e1ch h\u1ee3p l\u1ec7 v\u00e0o blockchain. Ch\u01b0\u01a1ng tr\u00ecnh c\u00f3 th\u1ec3 \u0111\u1eb7t th\u1eddi gian kh\u00f3a th\u00e0nh th\u1eddi gian th\u1ef1c ho\u1eb7c theo chi\u1ec1u cao block.<\/p>\n<p>N\u00f3i c\u00e1ch kh\u00e1c, <b>th\u1eddi gian kh\u00f3a giao d\u1ecbch<\/b> l\u00e0 m\u1ed9t c\u00e0i \u0111\u1eb7t \u1edf c\u1ea5p \u0111\u1ed9 giao d\u1ecbch (m\u1ed9t tr\u01b0\u1eddng d\u1eef li\u1ec7u trong c\u1ea5u tr\u00fac d\u1eef li\u1ec7u giao d\u1ecbch) nh\u1eb1m x\u00e1c \u0111\u1ecbnh th\u1eddi gian s\u1edbm nh\u1ea5t m\u00e0 giao d\u1ecbch c\u00f3 hi\u1ec7u l\u1ef1c v\u00e0 c\u00f3 th\u1ec3 \u0111\u01b0\u1ee3c chuy\u1ec3n ti\u1ebfp tr\u00ean m\u1ea1ng bitcoin hay \u0111\u01b0\u1ee3c th\u00eam v\u00e0o blockchain.<\/p>\n<p><i>*Chu\u1ed7i kh\u1ed1i (Blockchain)<\/i> l\u00e0 m\u1ed9t lo\u1ea1i s\u1ed5 c\u00e1i k\u0129 thu\u1eadt s\u1ed1 (digital ledger), trong \u0111\u00f3 th\u00f4ng tin \u0111\u01b0\u1ee3c ghi ch\u00e9p l\u1ea1i m\u1ed9t c\u00e1ch tu\u1ea7n t\u1ef1, sau \u0111\u00f3 \u0111\u01b0\u1ee3c li\u00ean k\u1ebft v\u1edbi nhau v\u00e0 \u0111\u01b0\u1ee3c b\u1ea3o m\u1eadt b\u1eb1ng ph\u01b0\u01a1ng ph\u00e1p m\u00e3 h\u00f3a.<\/p>\n<h3><font style=\"line-height: 22px; font-size: 22px;\" color=\"#3d85c6\">\u00dd ngh\u0129a c\u1ee7a th\u1eddi gian kh\u00f3a giao d\u1ecbch<\/font><\/h3>\n<p>&#8211; Th\u00eam th\u1eddi gian kh\u00f3a giao d\u1ecbch v\u00e0o k\u1ecbch b\u1ea3n c\u00f3 ngh\u0129a l\u00e0 giao d\u1ecbch s\u1ebd ch\u1ec9 \u0111\u01b0\u1ee3c x\u00e1c nh\u1eadn v\u00e0 block m\u1edbi \u0111\u01b0\u1ee3c th\u00eam sau khi h\u1ebft th\u1eddi gian c\u1ea7n thi\u1ebft ho\u1eb7c chi\u1ec1u cao block \u0111\u00e3 \u0111\u01b0\u1ee3c \u0111\u00e1p \u1ee9ng.\u00a0N\u00f3i c\u00e1ch kh\u00e1c, khi m\u1ed9t ch\u1ee9c n\u0103ng n\u00e0y \u0111\u01b0\u1ee3c th\u00eam v\u00e0o k\u1ecbch b\u1ea3n, giao d\u1ecbch kh\u00f4ng c\u00f3 hi\u1ec7u l\u1ef1c cho \u0111\u1ebfn khi \u0111\u1ea1t th\u1eddi gian ho\u1eb7c chi\u1ec1u cao.<\/p>\n<p>&#8211; <b>Th\u1eddi gian kh\u00f3a giao d\u1ecbch <\/b>c\u00f2n \u0111\u01b0\u1ee3c g\u1ecdi l\u00e0 nLocktime theo t\u00ean c\u1ee7a bi\u1ebfn d\u00f9ng trong m\u00e3 ngu\u1ed3n Bitcoin Core. Trong h\u1ea7u h\u1ebft giao d\u1ecbch, nLocktime \u0111\u01b0\u1ee3c \u0111\u1eb7t v\u1ec1 0 \u0111\u1ec3 th\u1ec3 hi\u1ec7n l\u1ec7nh ph\u00e1t t\u00e1n v\u00e0 th\u1ef1c thi ngay l\u1eadp t\u1ee9c. N\u1ebfu nLocktime c\u00f3 gi\u00e1 tr\u1ecb kh\u00e1c 0 v\u00e0 d\u01b0\u1edbi 500 tri\u1ec7u, n\u00f3 s\u1ebd \u0111\u01b0\u1ee3c hi\u1ec3u l\u00e0 m\u1ed9t chi\u1ec1u cao block, t\u1ee9c l\u00e0 giao d\u1ecbch li\u00ean quan kh\u00f4ng h\u1ee3p l\u1ec7 v\u00e0 kh\u00f4ng \u0111\u01b0\u1ee3c chuy\u1ec3n ti\u1ebfp hay th\u00eam v\u00e0o blockchain tr\u01b0\u1edbc khi \u0111\u1ea1t chi\u1ec1u cao block \u0111\u00f3.<\/p>\n<p>&#8211; N\u1ebfu gi\u00e1 tr\u1ecb l\u1edbn h\u01a1n 500 tri\u1ec7u, n\u00f3 s\u1ebd \u0111\u01b0\u1ee3c hi\u1ec3u l\u00e0 m\u1ed9t nh\u00e3n th\u1eddi gian Unix Epoch (t\u00ednh theo gi\u00e2y t\u1eeb th\u1eddi \u0111i\u1ec3m ng\u00e0y 1 th\u00e1ng 1 n\u0103m 1970) v\u00e0 giao d\u1ecbch li\u00ean quan s\u1ebd kh\u00f4ng c\u00f3 hi\u1ec7u l\u1ef1c tr\u01b0\u1edbc th\u1eddi \u0111i\u1ec3m \u0111\u01b0\u1ee3c x\u00e1c \u0111\u1ecbnh \u0111\u00f3.<\/p>\n<p>&#8211; C\u00e1c giao d\u1ecbch v\u1edbi nLocktime trong \u0111\u00f3 ch\u1ec9 r\u00f5 1 block hay 1 th\u1eddi \u0111i\u1ec3m trong t\u01b0\u01a1ng lai s\u1ebd b\u1ecb h\u1ec7 th\u1ed1ng g\u1ed1c gi\u1eef l\u1ea1i v\u00e0 ch\u1ec9 \u0111\u01b0\u1ee3c truy\u1ec1n \u0111\u1ebfn m\u1ea1ng bitcoin sau khi ch\u00fang c\u00f3 hi\u1ec7u l\u1ef1c. N\u1ebfu m\u1ed9t giao d\u1ecbch \u0111\u01b0\u1ee3c truy\u1ec1n \u0111\u1ebfn m\u1ea1ng bitcoin tr\u01b0\u1edbc nLocktime cho tr\u01b0\u1edbc, giao d\u1ecbch \u0111\u00f3 s\u1ebd b\u1ecb n\u00fat m\u1ea1ng \u0111\u1ea7u ti\u00ean t\u1eeb ch\u1ed1i v\u00ec kh\u00f4ng h\u1ee3p l\u1ec7 v\u00e0 s\u1ebd kh\u00f4ng \u0111\u01b0\u1ee3c chuy\u1ec3n ti\u1ebfp \u0111\u1ebfn c\u00e1c n\u00fat kh\u00e1c. Vi\u1ec7c s\u1eed d\u1ee5ng nLocktime c\u0169ng t\u01b0\u01a1ng t\u1ef1 nh\u01b0 vi\u1ec7c ghi l\u00f9i ng\u00e0y tr\u00ean m\u1ed9t ng\u00e2n phi\u1ebfu gi\u1ea5y.<\/p>\n<p><i>(T\u00e0i li\u1ec7u tham kh\u1ea3o: Hedgetrade; Mastering Bitcoin, NXB \u0110\u1ea1i h\u1ecdc Kinh t\u1ebf Qu\u1ed1c d\u00e2n)<\/i><\/p>\n<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<div class=\"vnbcbc-sapo\" data-role=\"sapo\">\n                            Th\u1eddi gian kh\u00f3a giao d\u1ecbch (ti\u1ebfng Anh: Locktime hay nLocktime) l\u00e0 m\u1ed9t c\u00e0i \u0111\u1eb7t \u1edf c\u1ea5p \u0111\u1ed9 giao d\u1ecbch nh\u1eb1m x\u00e1c \u0111\u1ecbnh th\u1eddi gian s\u1edbm nh\u1ea5t m\u00e0 giao d\u1ecbch c\u00f3 hi\u1ec7u l\u1ef1c v\u00e0 c\u00f3 th\u1ec3 \u0111\u01b0\u1ee3c chuy\u1ec3n ti\u1ebfp tr\u00ean m\u1ea1ng bitcoin hay \u0111\u01b0\u1ee3c th\u00eam v\u00e0o blockchain.\n                        <\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[415],"tags":[],"_links":{"self":[{"href":"https:\/\/masterskills.org\/blog\/wp-json\/wp\/v2\/posts\/27269"}],"collection":[{"href":"https:\/\/masterskills.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/masterskills.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/masterskills.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/masterskills.org\/blog\/wp-json\/wp\/v2\/comments?post=27269"}],"version-history":[{"count":0,"href":"https:\/\/masterskills.org\/blog\/wp-json\/wp\/v2\/posts\/27269\/revisions"}],"wp:attachment":[{"href":"https:\/\/masterskills.org\/blog\/wp-json\/wp\/v2\/media?parent=27269"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/masterskills.org\/blog\/wp-json\/wp\/v2\/categories?post=27269"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/masterskills.org\/blog\/wp-json\/wp\/v2\/tags?post=27269"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}