What is the unit of time_lock_delta in LND?
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?
None of the four files in the LND repository that contain this string appear to mention the unit either.
terminology lightning-network-daemon channels
add a comment |
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?
None of the four files in the LND repository that contain this string appear to mention the unit either.
terminology lightning-network-daemon channels
add a comment |
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?
None of the four files in the LND repository that contain this string appear to mention the unit either.
terminology lightning-network-daemon channels
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?
None of the four files in the LND repository that contain this string appear to mention the unit either.
terminology lightning-network-daemon channels
terminology lightning-network-daemon channels
edited 2 hours ago
Murch
asked 3 hours ago
Murch♦Murch
35.7k27116340
35.7k27116340
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
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.
add a comment |
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.
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
add a comment |
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.
add a comment |
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.
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.
answered 2 hours ago
Mark HMark H
1,15419
1,15419
add a comment |
add a comment |
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.
add a comment |
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.
add a comment |
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.
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.
answered 2 hours ago
Murch♦Murch
35.7k27116340
35.7k27116340
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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