Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

repeat reboot #8

Open
nayuta-ueno opened this issue Sep 9, 2019 · 3 comments
Open

repeat reboot #8

nayuta-ueno opened this issue Sep 9, 2019 · 3 comments
Labels
bug Something isn't working

Comments

@nayuta-ueno
Copy link
Contributor

I have a channel established over a month ago at v0.0.1 and v0.0.2-rc1.

result

After update to v0.1.0, Lightning Shield repeat reboot and cannot start.

expect

It starts normally.

version

  • v0.1.0
@nayuta-ueno nayuta-ueno added the bug Something isn't working label Sep 9, 2019
@nayuta-ueno
Copy link
Contributor Author

I use bitcoinj StoredBlock#getHeight() class to get block height from funding transaction mined block hash on channel connect.
But StoredBlock#getHeight() fail (maybe funding transaction is too old for bitcoinj DB).

And bitcoinj fail download about 600~700 blocks (I don't know bug or spec).
So it is fail to count confirmation from current block to funding transaction mined block.

@nayuta-ueno
Copy link
Contributor Author

@nayuta-ueno
Copy link
Contributor Author

Maybe...
It is heavy load to download block data for Raspberry Pi and bitcoinj disconnect socket.
After disconnect, bitcoinj cannot reconnect..., so restart bitcoinj.

  • reduce max Bitcoin node connection
  • save last download blockhash and restart from saved blockhash after restart bitcoinj

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant