Lightning: C-lightning is not reading confirmation

Created on 30 Jul 2019  Â·  21Comments  Â·  Source: ElementsProject/lightning

Issue and Steps to Reproduce


Hi
i have installed three times c-lightning and bitcoin node , I deposit many time testnet btc and those was confirmed but still it's giving null output
image
Please have a look and let me know what i am missing i followed this document and tried with two other server as well but every time same results

Thanking you

getinfo output

fixed

Most helpful comment

Your node is not yet caught up to the network. Wait for the blockheight to reach the known blockheight. This is not a bug, this is normal behavior.

This is normal for anything built around bitcoind instead of using some SPV service. If your previous experiences are around SPV, then be aware that this is, in fact, the fact of life for fullnodes: you have to wait for blocks to download.

All 21 comments

Can you be more precise please ? What did you do exactly ? Could you try to stop (all) lightningd, start it on testnet, get a newaddr and send some tbtc to it ?

Hi i am running it at testnet already , I have sent BTC at new address ,
Also transaction is confirmed at blockchain , But it's not showing anything
in list fund , It returns null

Thanking you

On Tue, Jul 30, 2019 at 5:34 PM Darosior notifications@github.com wrote:

Can you be more precise please ? What did you do exactly ? Could you try
to stop (all) lightningd, start it on testnet, get a newaddr and send
some tbtc to it ?

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ElementsProject/lightning/issues/2878?email_source=notifications&email_token=AK3TFPGRZN4LDAEMG3E4YQ3QCAU6PA5CNFSM4IH2GV2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3DXYLA#issuecomment-516389932,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AK3TFPAXMFGVDJI673JV5JTQCAU6PANCNFSM4IH2GV2A
.

What about now? And could you supply the output of getinfo?
The transaction need some time to synchronize and like darosior said, you need confirm ligntningd is running on testnet.

Hi i am running it at testnet already , I have sent BTC at new address , Also transaction is confirmed at blockchain , But it's not showing anything in list fund , It returns null Thanking you
…
On Tue, Jul 30, 2019 at 5:34 PM Darosior @.*> wrote: Can you be more precise please ? What did you do exactly ? Could you try to stop (all) lightningd, start it on testnet, get a newaddr and send some tbtc to it ? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#2878?email_source=notifications&email_token=AK3TFPGRZN4LDAEMG3E4YQ3QCAU6PA5CNFSM4IH2GV2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3DXYLA#issuecomment-516389932>, or mute the thread https://github.com/notifications/unsubscribe-auth/AK3TFPAXMFGVDJI673JV5JTQCAU6PANCNFSM4IH2GV2A .

With that little amount of informations we cant do much. Please provide reproducible instructions (hence the steps I asked in the first message).

Hi ,

I have deposit 0.6 BTC , It's running at testnet

On Tue, Jul 30, 2019 at 9:20 PM Darosior notifications@github.com wrote:

Hi i am running it at testnet already , I have sent BTC at new address ,
Also transaction is confirmed at blockchain , But it's not showing anything
in list fund , It returns null Thanking you
… <#m_4452337863672051246_>
On Tue, Jul 30, 2019 at 5:34 PM Darosior @.*> wrote: Can you be more
precise please ? What did you do exactly ? Could you try to stop (all)
lightningd, start it on testnet, get a newaddr and send some tbtc to it ? —
You are receiving this because you authored the thread. Reply to this email
directly, view it on GitHub <#2878
https://github.com/ElementsProject/lightning/issues/2878?email_source=notifications&email_token=AK3TFPGRZN4LDAEMG3E4YQ3QCAU6PA5CNFSM4IH2GV2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3DXYLA#issuecomment-516389932>,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AK3TFPAXMFGVDJI673JV5JTQCAU6PANCNFSM4IH2GV2A
.

With that little amount of informations we cant do much. Please provide
reproducible instructions (hence the steps I asked in the first message).

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ElementsProject/lightning/issues/2878?email_source=notifications&email_token=AK3TFPCPXKAJMWU4DNSYLX3QCBPMVA5CNFSM4IH2GV2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3ENSRA#issuecomment-516479300,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AK3TFPAZBQVEWQ6IAQ7LP6DQCBPMVANCNFSM4IH2GV2A
.

I am getting this messages INFO lightning_gossipd(31870): We seem to be missing gossip messages

image

Look it's running at testnet

"blockheight" : 1383949,

If you look at https://live.blockcypher.com/btc-testnet/ you will see that recent block height is 1571734.

So it seems, your problem is simply "IBD ongoing".

[image: image.png]

I am getting this blockhieght , how can i resolve this problem

On Wed, Jul 31, 2019 at 1:54 PM ZmnSCPxj, ZmnSCPxj jxPCSmnZ <
[email protected]> wrote:

"blockheight" : 1383949

If you look at https://live.blockcypher.com/btc-testnet/ you will see
that recent block height is 1571734.

So it seems, your problem is simply "IBD ongoing".

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ElementsProject/lightning/issues/2878?email_source=notifications&email_token=AK3TFPFZWMQGIM6UWK63IGDQCFD2PA5CNFSM4IH2GV2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3GPTQA#issuecomment-516749760,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AK3TFPEM5RKRVOEVHDKFUMTQCFD2PANCNFSM4IH2GV2A
.

Image is not displaying. Please paste the text instead of images.

Blockhight is 1409917

On Wed, Jul 31, 2019 at 2:33 PM ZmnSCPxj, ZmnSCPxj jxPCSmnZ <
[email protected]> wrote:

Image is not displaying. Please paste the text instead of images.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ElementsProject/lightning/issues/2878?email_source=notifications&email_token=AK3TFPFP4HYS6F4BCAGVIF3QCFINNA5CNFSM4IH2GV2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3GS6GY#issuecomment-516763419,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AK3TFPBZHFNW2YCKAAUMBI3QCFINNANCNFSM4IH2GV2A
.

Just wait. This is IBD, initial block download, this is normal. Once your node has caught up to the block height, the node will credit the amount.

Can you send me article related to IBD

On Wed, Jul 31, 2019 at 3:02 PM ZmnSCPxj, ZmnSCPxj jxPCSmnZ <
[email protected]> wrote:

Just wait. This is IBD, initial block download, this is normal. Once your
node has caught up to the block height, the node will credit the amount.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ElementsProject/lightning/issues/2878?email_source=notifications&email_token=AK3TFPFHZD4AFNLO57IPZZDQCFL4PA5CNFSM4IH2GV2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3GVS5I#issuecomment-516774261,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AK3TFPBULIJPUWMX2KZAUU3QCFL4PANCNFSM4IH2GV2A
.

Like this, the definition of IBD.

This idea doesn't work , Have you setup channel through this library ,
Because i am unable to catch confirmation while i have already deposit more
than 2 BTC

On Wed, Jul 31, 2019 at 3:26 PM Zhao Liu notifications@github.com wrote:

Like this, the definition
https://bitcoin.org/en/glossary/initial-block-download of IBD.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ElementsProject/lightning/issues/2878?email_source=notifications&email_token=AK3TFPG3Q6PNQDGVPZ5HTH3QCFOURA5CNFSM4IH2GV2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3GXRWY#issuecomment-516782299,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AK3TFPHNDOPQF4AGP27HJDDQCFOURANCNFSM4IH2GV2A
.

Your node is not yet caught up to the network. Wait for the blockheight to reach the known blockheight. This is not a bug, this is normal behavior.

This is normal for anything built around bitcoind instead of using some SPV service. If your previous experiences are around SPV, then be aware that this is, in fact, the fact of life for fullnodes: you have to wait for blocks to download.

But i am waiting for it since three days , How much time would it take

On Wed, Jul 31, 2019 at 4:38 PM ZmnSCPxj, ZmnSCPxj jxPCSmnZ <
[email protected]> wrote:

Your node is not yet caught up to the network. Wait for the blockheight
to reach the known blockheight
. This is not a bug, this is normal
behavior.

This is normal for anything built around bitcoind instead of using some
SPV service. If your previous experiences are around SPV, then be aware
that this is, in fact, the fact of life for fullnodes: you have to wait for
blocks to download.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ElementsProject/lightning/issues/2878?email_source=notifications&email_token=AK3TFPABYABVJJI2BYHNOCTQCFXA7A5CNFSM4IH2GV2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3G42XQ#issuecomment-516803934,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AK3TFPGYZM4AXBOWZT4LTQLQCFXA7ANCNFSM4IH2GV2A
.

Depends on your Internet speed and CPU speed. Your ISP might be throttling you because of high bandwidth use, too; check it. Just keep waiting for blockheight to catch up. It will arrive: eventually.

How is the blockheight so far?

Relevant: #1652

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Xian001 picture Xian001  Â·  3Comments

SPIRY-RO picture SPIRY-RO  Â·  4Comments

billygarrison picture billygarrison  Â·  3Comments

agilob picture agilob  Â·  4Comments

jonasnick picture jonasnick  Â·  3Comments