What is the unit of time_lock_delta in LND?












1















LND has a configuration setting called time_lock_delta with the description "The required timelock delta for HTLCs forwarded over the channel.". I assume this to refer to some measure of time, but what is the unit of this value?



Screnshot of LND documentation



None of the four files in the LND repository that contain this string appear to mention the unit either.










share|improve this question





























    1















    LND has a configuration setting called time_lock_delta with the description "The required timelock delta for HTLCs forwarded over the channel.". I assume this to refer to some measure of time, but what is the unit of this value?



    Screnshot of LND documentation



    None of the four files in the LND repository that contain this string appear to mention the unit either.










    share|improve this question



























      1












      1








      1








      LND has a configuration setting called time_lock_delta with the description "The required timelock delta for HTLCs forwarded over the channel.". I assume this to refer to some measure of time, but what is the unit of this value?



      Screnshot of LND documentation



      None of the four files in the LND repository that contain this string appear to mention the unit either.










      share|improve this question
















      LND has a configuration setting called time_lock_delta with the description "The required timelock delta for HTLCs forwarded over the channel.". I assume this to refer to some measure of time, but what is the unit of this value?



      Screnshot of LND documentation



      None of the four files in the LND repository that contain this string appear to mention the unit either.







      terminology lightning-network-daemon channels






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 2 hours ago







      Murch

















      asked 3 hours ago









      MurchMurch

      35.7k27116340




      35.7k27116340






















          2 Answers
          2






          active

          oldest

          votes


















          2














          The time_lock_delta is the minimum difference in the number of blocks between the CLTV of an incoming HTLC and the forwarded HTLC.



          Full details are described in BOLT2 # CLTV expiry delta.






          share|improve this answer































            1














            It seems to me that the field time_lock_delta in LND corresponds to what BOLT#7 refers to as cltv_expiry_delta. Which the specification explains to be "the number of blocks it will subtract from an incoming HTLC's cltv_expiry".



            Hence, the unit would be a count of blocks.






            share|improve this answer
























              Your Answer








              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "308"
              };
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function() {
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled) {
              StackExchange.using("snippets", function() {
              createEditor();
              });
              }
              else {
              createEditor();
              }
              });

              function createEditor() {
              StackExchange.prepareEditor({
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: false,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: null,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              noCode: true, onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fbitcoin.stackexchange.com%2fquestions%2f87294%2fwhat-is-the-unit-of-time-lock-delta-in-lnd%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              2














              The time_lock_delta is the minimum difference in the number of blocks between the CLTV of an incoming HTLC and the forwarded HTLC.



              Full details are described in BOLT2 # CLTV expiry delta.






              share|improve this answer




























                2














                The time_lock_delta is the minimum difference in the number of blocks between the CLTV of an incoming HTLC and the forwarded HTLC.



                Full details are described in BOLT2 # CLTV expiry delta.






                share|improve this answer


























                  2












                  2








                  2







                  The time_lock_delta is the minimum difference in the number of blocks between the CLTV of an incoming HTLC and the forwarded HTLC.



                  Full details are described in BOLT2 # CLTV expiry delta.






                  share|improve this answer













                  The time_lock_delta is the minimum difference in the number of blocks between the CLTV of an incoming HTLC and the forwarded HTLC.



                  Full details are described in BOLT2 # CLTV expiry delta.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered 2 hours ago









                  Mark HMark H

                  1,15419




                  1,15419























                      1














                      It seems to me that the field time_lock_delta in LND corresponds to what BOLT#7 refers to as cltv_expiry_delta. Which the specification explains to be "the number of blocks it will subtract from an incoming HTLC's cltv_expiry".



                      Hence, the unit would be a count of blocks.






                      share|improve this answer




























                        1














                        It seems to me that the field time_lock_delta in LND corresponds to what BOLT#7 refers to as cltv_expiry_delta. Which the specification explains to be "the number of blocks it will subtract from an incoming HTLC's cltv_expiry".



                        Hence, the unit would be a count of blocks.






                        share|improve this answer


























                          1












                          1








                          1







                          It seems to me that the field time_lock_delta in LND corresponds to what BOLT#7 refers to as cltv_expiry_delta. Which the specification explains to be "the number of blocks it will subtract from an incoming HTLC's cltv_expiry".



                          Hence, the unit would be a count of blocks.






                          share|improve this answer













                          It seems to me that the field time_lock_delta in LND corresponds to what BOLT#7 refers to as cltv_expiry_delta. Which the specification explains to be "the number of blocks it will subtract from an incoming HTLC's cltv_expiry".



                          Hence, the unit would be a count of blocks.







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered 2 hours ago









                          MurchMurch

                          35.7k27116340




                          35.7k27116340






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Bitcoin Stack Exchange!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fbitcoin.stackexchange.com%2fquestions%2f87294%2fwhat-is-the-unit-of-time-lock-delta-in-lnd%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              數位音樂下載

                              When can things happen in Etherscan, such as the picture below?

                              格利澤436b