Can a Lightning channel's initial BTC value be updated?












1















When an LN channel is created, it is funded with an initial BTC amount by at least one one peer. But given that most of the whole idea of LN is the existence of long running channels, I wonder if this means that it's possible for a channel to be "emptied", thus making "long running" a bit of a misnomer. Is it therefore possible for the channel's creator to "top up" the channel?










share|improve this question























  • There is some work being done here with splicing, where the channel partipants agree to spend the output of the opening TX together with additional inputs to a new multisig output from which to create commitment txs, thereby increasing channel capacity.

    – James C.
    Jan 6 at 21:39













  • Splicing in and splicing out, as funds could also be reduced. However both results in a new tx confirmed on chain, which is the cost of adjusting the channel capacity after it has been opened.

    – James C.
    Jan 6 at 21:41
















1















When an LN channel is created, it is funded with an initial BTC amount by at least one one peer. But given that most of the whole idea of LN is the existence of long running channels, I wonder if this means that it's possible for a channel to be "emptied", thus making "long running" a bit of a misnomer. Is it therefore possible for the channel's creator to "top up" the channel?










share|improve this question























  • There is some work being done here with splicing, where the channel partipants agree to spend the output of the opening TX together with additional inputs to a new multisig output from which to create commitment txs, thereby increasing channel capacity.

    – James C.
    Jan 6 at 21:39













  • Splicing in and splicing out, as funds could also be reduced. However both results in a new tx confirmed on chain, which is the cost of adjusting the channel capacity after it has been opened.

    – James C.
    Jan 6 at 21:41














1












1








1








When an LN channel is created, it is funded with an initial BTC amount by at least one one peer. But given that most of the whole idea of LN is the existence of long running channels, I wonder if this means that it's possible for a channel to be "emptied", thus making "long running" a bit of a misnomer. Is it therefore possible for the channel's creator to "top up" the channel?










share|improve this question














When an LN channel is created, it is funded with an initial BTC amount by at least one one peer. But given that most of the whole idea of LN is the existence of long running channels, I wonder if this means that it's possible for a channel to be "emptied", thus making "long running" a bit of a misnomer. Is it therefore possible for the channel's creator to "top up" the channel?







lightning-network payment






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 6 at 21:19









therusstheruss

1156




1156













  • There is some work being done here with splicing, where the channel partipants agree to spend the output of the opening TX together with additional inputs to a new multisig output from which to create commitment txs, thereby increasing channel capacity.

    – James C.
    Jan 6 at 21:39













  • Splicing in and splicing out, as funds could also be reduced. However both results in a new tx confirmed on chain, which is the cost of adjusting the channel capacity after it has been opened.

    – James C.
    Jan 6 at 21:41



















  • There is some work being done here with splicing, where the channel partipants agree to spend the output of the opening TX together with additional inputs to a new multisig output from which to create commitment txs, thereby increasing channel capacity.

    – James C.
    Jan 6 at 21:39













  • Splicing in and splicing out, as funds could also be reduced. However both results in a new tx confirmed on chain, which is the cost of adjusting the channel capacity after it has been opened.

    – James C.
    Jan 6 at 21:41

















There is some work being done here with splicing, where the channel partipants agree to spend the output of the opening TX together with additional inputs to a new multisig output from which to create commitment txs, thereby increasing channel capacity.

– James C.
Jan 6 at 21:39







There is some work being done here with splicing, where the channel partipants agree to spend the output of the opening TX together with additional inputs to a new multisig output from which to create commitment txs, thereby increasing channel capacity.

– James C.
Jan 6 at 21:39















Splicing in and splicing out, as funds could also be reduced. However both results in a new tx confirmed on chain, which is the cost of adjusting the channel capacity after it has been opened.

– James C.
Jan 6 at 21:41





Splicing in and splicing out, as funds could also be reduced. However both results in a new tx confirmed on chain, which is the cost of adjusting the channel capacity after it has been opened.

– James C.
Jan 6 at 21:41










2 Answers
2






active

oldest

votes


















2














No. The amount of money in a channel cannot be changed once the channel exists. Channels cannot be topped up nor can they be "cashed out". Any change to the channel balance would require using new outputs and funding transactions. If it were the same channel (so the channel state is not committed to the blockchain), then fraud could occur where an old commitment transaction is broadcast that was from before new funds were added to the channel.



However, there is work on splicing, but that's more like closing a channel and jointly opening a new one.






share|improve this answer
























  • Thanks both of you for your time. Very helpful.

    – theruss
    Jan 6 at 21:56











  • though it is not quite clear which of the splicing proposals will be used so I would say it is only one way to splice a channel to close and jointly open a new one. Technically splicing should run asynchronously in the sense that the channel stays operationally during the splicing operation

    – Rene Pickhardt
    Jan 6 at 22:00



















3














Currently the capacity of a channel stays the same. However on the Lightning Developer Summit in Australia in November 2018 it was agreed that Splicing should be added to lightning. With splicing you can increase or decrease the capacity of a channel (and your balance)



If you don't care about capacity but just about the balance and you want to refill the channel of your channel there are four things you can do:




  1. You can receive a lightning payment by selling some good (:

  2. If you just fund to fill up capacity you could use a submarine swap which works by sending bitcoin in order to pay for a lightning invoice.

  3. You can also use exchange services like zigzag.io in order to send money from your channel to a bitcoin address.

  4. You can route a payment to yourself in order to rebalance 2 of your channels.






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%2f83429%2fcan-a-lightning-channels-initial-btc-value-be-updated%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














    No. The amount of money in a channel cannot be changed once the channel exists. Channels cannot be topped up nor can they be "cashed out". Any change to the channel balance would require using new outputs and funding transactions. If it were the same channel (so the channel state is not committed to the blockchain), then fraud could occur where an old commitment transaction is broadcast that was from before new funds were added to the channel.



    However, there is work on splicing, but that's more like closing a channel and jointly opening a new one.






    share|improve this answer
























    • Thanks both of you for your time. Very helpful.

      – theruss
      Jan 6 at 21:56











    • though it is not quite clear which of the splicing proposals will be used so I would say it is only one way to splice a channel to close and jointly open a new one. Technically splicing should run asynchronously in the sense that the channel stays operationally during the splicing operation

      – Rene Pickhardt
      Jan 6 at 22:00
















    2














    No. The amount of money in a channel cannot be changed once the channel exists. Channels cannot be topped up nor can they be "cashed out". Any change to the channel balance would require using new outputs and funding transactions. If it were the same channel (so the channel state is not committed to the blockchain), then fraud could occur where an old commitment transaction is broadcast that was from before new funds were added to the channel.



    However, there is work on splicing, but that's more like closing a channel and jointly opening a new one.






    share|improve this answer
























    • Thanks both of you for your time. Very helpful.

      – theruss
      Jan 6 at 21:56











    • though it is not quite clear which of the splicing proposals will be used so I would say it is only one way to splice a channel to close and jointly open a new one. Technically splicing should run asynchronously in the sense that the channel stays operationally during the splicing operation

      – Rene Pickhardt
      Jan 6 at 22:00














    2












    2








    2







    No. The amount of money in a channel cannot be changed once the channel exists. Channels cannot be topped up nor can they be "cashed out". Any change to the channel balance would require using new outputs and funding transactions. If it were the same channel (so the channel state is not committed to the blockchain), then fraud could occur where an old commitment transaction is broadcast that was from before new funds were added to the channel.



    However, there is work on splicing, but that's more like closing a channel and jointly opening a new one.






    share|improve this answer













    No. The amount of money in a channel cannot be changed once the channel exists. Channels cannot be topped up nor can they be "cashed out". Any change to the channel balance would require using new outputs and funding transactions. If it were the same channel (so the channel state is not committed to the blockchain), then fraud could occur where an old commitment transaction is broadcast that was from before new funds were added to the channel.



    However, there is work on splicing, but that's more like closing a channel and jointly opening a new one.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Jan 6 at 21:44









    Andrew ChowAndrew Chow

    33.5k42462




    33.5k42462













    • Thanks both of you for your time. Very helpful.

      – theruss
      Jan 6 at 21:56











    • though it is not quite clear which of the splicing proposals will be used so I would say it is only one way to splice a channel to close and jointly open a new one. Technically splicing should run asynchronously in the sense that the channel stays operationally during the splicing operation

      – Rene Pickhardt
      Jan 6 at 22:00



















    • Thanks both of you for your time. Very helpful.

      – theruss
      Jan 6 at 21:56











    • though it is not quite clear which of the splicing proposals will be used so I would say it is only one way to splice a channel to close and jointly open a new one. Technically splicing should run asynchronously in the sense that the channel stays operationally during the splicing operation

      – Rene Pickhardt
      Jan 6 at 22:00

















    Thanks both of you for your time. Very helpful.

    – theruss
    Jan 6 at 21:56





    Thanks both of you for your time. Very helpful.

    – theruss
    Jan 6 at 21:56













    though it is not quite clear which of the splicing proposals will be used so I would say it is only one way to splice a channel to close and jointly open a new one. Technically splicing should run asynchronously in the sense that the channel stays operationally during the splicing operation

    – Rene Pickhardt
    Jan 6 at 22:00





    though it is not quite clear which of the splicing proposals will be used so I would say it is only one way to splice a channel to close and jointly open a new one. Technically splicing should run asynchronously in the sense that the channel stays operationally during the splicing operation

    – Rene Pickhardt
    Jan 6 at 22:00











    3














    Currently the capacity of a channel stays the same. However on the Lightning Developer Summit in Australia in November 2018 it was agreed that Splicing should be added to lightning. With splicing you can increase or decrease the capacity of a channel (and your balance)



    If you don't care about capacity but just about the balance and you want to refill the channel of your channel there are four things you can do:




    1. You can receive a lightning payment by selling some good (:

    2. If you just fund to fill up capacity you could use a submarine swap which works by sending bitcoin in order to pay for a lightning invoice.

    3. You can also use exchange services like zigzag.io in order to send money from your channel to a bitcoin address.

    4. You can route a payment to yourself in order to rebalance 2 of your channels.






    share|improve this answer




























      3














      Currently the capacity of a channel stays the same. However on the Lightning Developer Summit in Australia in November 2018 it was agreed that Splicing should be added to lightning. With splicing you can increase or decrease the capacity of a channel (and your balance)



      If you don't care about capacity but just about the balance and you want to refill the channel of your channel there are four things you can do:




      1. You can receive a lightning payment by selling some good (:

      2. If you just fund to fill up capacity you could use a submarine swap which works by sending bitcoin in order to pay for a lightning invoice.

      3. You can also use exchange services like zigzag.io in order to send money from your channel to a bitcoin address.

      4. You can route a payment to yourself in order to rebalance 2 of your channels.






      share|improve this answer


























        3












        3








        3







        Currently the capacity of a channel stays the same. However on the Lightning Developer Summit in Australia in November 2018 it was agreed that Splicing should be added to lightning. With splicing you can increase or decrease the capacity of a channel (and your balance)



        If you don't care about capacity but just about the balance and you want to refill the channel of your channel there are four things you can do:




        1. You can receive a lightning payment by selling some good (:

        2. If you just fund to fill up capacity you could use a submarine swap which works by sending bitcoin in order to pay for a lightning invoice.

        3. You can also use exchange services like zigzag.io in order to send money from your channel to a bitcoin address.

        4. You can route a payment to yourself in order to rebalance 2 of your channels.






        share|improve this answer













        Currently the capacity of a channel stays the same. However on the Lightning Developer Summit in Australia in November 2018 it was agreed that Splicing should be added to lightning. With splicing you can increase or decrease the capacity of a channel (and your balance)



        If you don't care about capacity but just about the balance and you want to refill the channel of your channel there are four things you can do:




        1. You can receive a lightning payment by selling some good (:

        2. If you just fund to fill up capacity you could use a submarine swap which works by sending bitcoin in order to pay for a lightning invoice.

        3. You can also use exchange services like zigzag.io in order to send money from your channel to a bitcoin address.

        4. You can route a payment to yourself in order to rebalance 2 of your channels.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jan 6 at 21:58









        Rene PickhardtRene Pickhardt

        2,578117




        2,578117






























            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%2f83429%2fcan-a-lightning-channels-initial-btc-value-be-updated%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

            To store a contact into the json file from server.js file using a class in NodeJS

            Redirect URL with Chrome Remote Debugging Android Devices

            Dieringhausen