user96049: What does "ONCHAIN" mean in c-lightning channel state?
I guess means the channel is closed, but how to move those sats, or make them available to use in another channel, and completely remove that old channel's information?

user91194: The meaning of the ONCHAIN status means that the channels it is closed, you are missing 99 more blocks before that your channels if forgetting by c-lightning.
99 Blocks + the first that your transaction is considered on-chain means = 100 blocks that it is the method to say that somethings it is forever in Bitcoin time :)
A test that shows the coverage of this test case can be found here
P.S: When your channel is in ONCHAIN status you can move all the funds around without waiting that this channel will disappear. You can see the transaction or transaction unreserved in your listfunds RPC command.

96049: <p>What does &quot;ONCHAIN&quot; mean in c-lightning channel state?</p>
<p>I guess means the channel is closed, but how to move those sats, or make them available to use in another channel, and completely remove that old channel's information?</p>
 91194: <p>The meaning of the <code>ONCHAIN</code> status means that the channels it is closed, you are missing 99 more blocks before that your channels if forgetting by c-lightning.</p>
<p>99 Blocks + the first that your transaction is considered on-chain means = 100 blocks that it is the method to say that somethings it is forever in Bitcoin time :)</p>
<p>A test that shows the coverage of this test case can <a href="https://github.com/ElementsProject/lightning/blob/c012a71decf65fd91e4179bc02b7b24cb379c54c/tests/test_closing.py#L82" rel="nofollow noreferrer">be found here</a></p>
<p>P.S: When your channel is in <code>ONCHAIN</code> status you can move all the funds around without waiting that this channel will disappear. You can see the transaction or transaction unreserved in your <code>listfunds</code> RPC command.</p>
