kugelblitz icon indicating copy to clipboard operation
kugelblitz copied to clipboard

Bitcoin node doesnt have any funds

Open mandelmonkey opened this issue 7 years ago • 6 comments

I already have a synced bitcoind running on testnet with funds, and c-lightning installed I then installed kugelblitz, it launched fine, but bitcoin status was showing the blocks syncing, After it synced it reports that my bitcoin node doesnt have any funds when it does, am I misunderstanding something?

seems the lightning node id show is different as well, does the docker image include its own bitcoind and lightning node? or does it connect to current installations

mandelmonkey avatar Dec 17 '17 13:12 mandelmonkey

Yes, the docker image contains and runs its own bitcoind. There is currently no way of disabling that, though you can probably add --net=host so that the bitcoind process fails to bind to its ports and bitcoin-cli will use the host's bitcoind.

cdecker avatar Dec 17 '17 22:12 cdecker

ah thanks that makes sense

mandelmonkey avatar Dec 18 '17 03:12 mandelmonkey

Yeah, sorry for not adding more things to kugelblitz lately, it's been rather busy in the Bitcoin/Lightning community :-) I'll definitely come back and move this forward.

cdecker avatar Dec 18 '17 11:12 cdecker

In the meantime, did using --net=host work as a quick fix?

cdecker avatar Dec 18 '17 11:12 cdecker

haha no worries looking forward to it, and havent tried --net=host yet but will give it a try and let you know

mandelmonkey avatar Dec 18 '17 14:12 mandelmonkey

I tried with the --net=host flag and kugelblitz didnt seem to start, the output was,

sudo docker run --net=host -p 19735:19735 cdecker/kugelblitz:latest
2017-12-22 11:41:42,590 CRIT Supervisor running as root (no user in config file)
2017-12-22 11:41:42,590 WARN Included extra file "/etc/supervisor/conf.d/supervisor.conf" during parsing
2017-12-22 11:41:42,602 INFO RPC interface 'supervisor' initialized
2017-12-22 11:41:42,603 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2017-12-22 11:41:42,603 INFO supervisord started with pid 1
2017-12-22 11:41:43,604 INFO spawned: 'kugelblitz' with pid 7
2017-12-22 11:41:43,605 INFO spawned: 'bitcoin' with pid 8
2017-12-22 11:41:43,607 INFO spawned: 'lightning' with pid 9
2017-12-22 11:41:43,704 INFO exited: bitcoin (exit status 1; not expected)
2017-12-22 11:41:43,870 INFO exited: kugelblitz (exit status 1; not expected)
2017-12-22 11:41:44,872 INFO spawned: 'kugelblitz' with pid 17
2017-12-22 11:41:44,873 INFO spawned: 'bitcoin' with pid 18
2017-12-22 11:41:44,874 INFO success: lightning entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2017-12-22 11:41:44,913 INFO exited: bitcoin (exit status 1; not expected)
2017-12-22 11:41:45,135 INFO exited: kugelblitz (exit status 1; not expected)
2017-12-22 11:41:47,138 INFO spawned: 'kugelblitz' with pid 24
2017-12-22 11:41:47,139 INFO spawned: 'bitcoin' with pid 25
2017-12-22 11:41:47,188 INFO exited: bitcoin (exit status 1; not expected)
2017-12-22 11:41:47,410 INFO exited: kugelblitz (exit status 1; not expected)
2017-12-22 11:41:50,415 INFO spawned: 'kugelblitz' with pid 31
2017-12-22 11:41:50,416 INFO spawned: 'bitcoin' with pid 32
2017-12-22 11:41:50,599 INFO exited: bitcoin (terminated by SIGABRT (core dumped); not expected)
2017-12-22 11:41:50,674 INFO gave up: bitcoin entered FATAL state, too many start retries too quickly
2017-12-22 11:41:50,674 INFO exited: kugelblitz (exit status 1; not expected)
2017-12-22 11:41:51,675 INFO gave up: kugelblitz entered FATAL state, too many start retries too quickly
2017-12-22 11:41:54,095 INFO reaped unknown pid 39
2017-12-22 11:41:54,095 INFO reaped unknown pid 40
2017-12-22 11:41:54,095 INFO reaped unknown pid 41
2017-12-22 11:41:54,095 INFO reaped unknown pid 42
2017-12-22 11:41:54,095 INFO reaped unknown pid 43
2017-12-22 11:41:54,095 INFO reaped unknown pid 44
2017-12-22 11:41:54,095 INFO reaped unknown pid 45
2017-12-22 11:41:54,095 INFO reaped unknown pid 46
2017-12-22 11:41:54,095 INFO reaped unknown pid 47
2017-12-22 11:41:54,095 INFO exited: lightning (exit status 1; not expected)
2017-12-22 11:41:55,096 INFO spawned: 'lightning' with pid 49
2017-12-22 11:41:56,097 INFO success: lightning entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2017-12-22 11:42:05,546 INFO exited: lightning (exit status 1; not expected)

mandelmonkey avatar Dec 22 '17 11:12 mandelmonkey