clightning4j / btcli4j

It is a core lightning plugin to override Bitcoin backend plugin with esplora by Blockstream and give the possibility to make the running process with bitcoind in pruning mode more solid.
GNU General Public License v2.0
9 stars 7 forks source link

Exception during running #11

Closed vincenzopalazzo closed 3 years ago

vincenzopalazzo commented 4 years ago

The exception looks like the following

2020-09-28T23:09:04.195Z DEBUG   plugin-btcli4j-gen.sh: Estimate fee {\"6\":56.03300000000001,\"3\":58.794000000000004,\"24\":53.720000000000006,\"20\":53.720000000000006,\"25\":53.720000000000006,\"4\":56.131,\"14\":53.720000000000006,\"1\":58.843999999999994,\"7\":56.03300000000001,\"8\":56.03300000000001,\"9\":53.720000000000006,\"21\":53.720000000000006,\"144\":2.434,\"1008\":1.0,\"22\":53.720000000000006,\"12\":53.720000000000006,\"17\":53.720000000000006,\"11\":53.720000000000006,\"2\":58.843999999999994,\"13\":53.720000000000006,\"16\":53.720000000000006,\"15\":53.720000000000006,\"5\":56.03300000000001,\"18\":53.720000000000006,\"23\":53.720000000000006,\"504\":1.0,\"19\":53.720000000000006,\"10\":53.720000000000006}
2020-09-28T23:09:04.196Z DEBUG   lightningd: ... polled feerate estimate for mutual_close (61) smoothed to 653 (alpha=0.44)
2020-09-28T23:09:04.196Z DEBUG   lightningd: Feerate estimate for mutual_close set to 653 (was 1114)
2020-09-28T23:09:04.196Z DEBUG   lightningd: Feerate estimate for unilateral_close set to 1470 (was 1547)
2020-09-28T23:09:04.196Z DEBUG   lightningd: ... polled feerate estimate for delayed_to_us (61) smoothed to 653 (alpha=0.44)
2020-09-28T23:09:04.196Z DEBUG   lightningd: Feerate estimate for delayed_to_us set to 653 (was 1114)
2020-09-28T23:09:04.196Z DEBUG   lightningd: Feerate estimate for penalty set to 1227 (was 1376)
2020-09-28T23:09:04.196Z DEBUG   lightningd: ... polled feerate estimate for min_acceptable (31) smoothed to 327 (alpha=0.44)
2020-09-28T23:09:04.196Z DEBUG   lightningd: Feerate estimate for min_acceptable set to 327 (was 558)
2020-09-28T23:09:04.196Z DEBUG   lightningd: Feerate estimate for max_acceptable set to 14710 (was 15470)
2020-09-28T23:09:30.062Z DEBUG   plugin-btcli4j-gen.sh: Request{method=GET, url=http://explorerzydxu5ecjrkwceayqybizmpjjznk5izmitf2modhcusuqlid.onion/api/block-height/650432} Hash 0000000000000000000688f6a769fc8c39624d8771e5c0ee8e81ce8c14776f0a
2020-09-28T23:09:30.376Z DEBUG   plugin-btcli4j-gen.sh: During http request to URL http://explorerzydxu5ecjrkwceayqybizmpjjznk5izmitf2modhcusuqlid.onion/api/block/0000000000000000000688f6a769fc8c39624d8771e5c0ee8e81ce8c14776f0a/raw
2020-09-28T23:09:30.377Z DEBUG   plugin-btcli4j-gen.sh: With error message: Block not found
2020-09-28T23:09:30.378Z DEBUG   plugin-btcli4j-gen.sh: retry time 0
2020-09-28T23:09:30.379Z **BROKEN** lightningd: /root/github/btcli4j/btcli4j-gen.sh error: bad response to getrawblockbyheight (bad block), response was {"id":3734,"jsonrpc":"2.0","result":{"blockhash":"0000000000000000000688f6a769fc8c39624d8771e5c0ee8e81ce8c14776f0a","block":"426c6f636b206e6f7420666f756e64"}}
2020-09-28T23:09:30.449Z **BROKEN** lightningd: FATAL SIGNAL 6 (version v0.9.1-86-gcafaad7)
2020-09-28T23:09:30.449Z **BROKEN** lightningd: backtrace: common/daemon.c:43 (send_backtrace) 0x55bb2f31b1c7
2020-09-28T23:09:30.449Z **BROKEN** lightningd: backtrace: common/daemon.c:51 (crashdump) 0x55bb2f31b219
2020-09-28T23:09:30.449Z **BROKEN** lightningd: backtrace: (null):0 ((null)) 0x7f0568e5720f
2020-09-28T23:09:30.449Z **BROKEN** lightningd: backtrace: (null):0 ((null)) 0x7f0568e5718b
2020-09-28T23:09:30.449Z **BROKEN** lightningd: backtrace: (null):0 ((null)) 0x7f0568e36858
2020-09-28T23:09:30.449Z **BROKEN** lightningd: backtrace: lightningd/log.c:820 (fatal) 0x55bb2f2eb5b8
2020-09-28T23:09:30.449Z **BROKEN** lightningd: backtrace: lightningd/bitcoind.c:120 (bitcoin_plugin_error) 0x55bb2f2d815c
2020-09-28T23:09:30.449Z **BROKEN** lightningd: backtrace: lightningd/bitcoind.c:468 (getrawblockbyheight_callback) 0x55bb2f2d87d3
2020-09-28T23:09:30.449Z **BROKEN** lightningd: backtrace: lightningd/plugin.c:367 (plugin_response_handle) 0x55bb2f301a5d
2020-09-28T23:09:30.449Z **BROKEN** lightningd: backtrace: lightningd/plugin.c:473 (plugin_read_json_one) 0x55bb2f301b70
2020-09-28T23:09:30.449Z **BROKEN** lightningd: backtrace: lightningd/plugin.c:518 (plugin_read_json) 0x55bb2f301ce5
2020-09-28T23:09:30.449Z **BROKEN** lightningd: backtrace: ccan/ccan/io/io.c:59 (next_plan) 0x55bb2f351408
2020-09-28T23:09:30.449Z **BROKEN** lightningd: backtrace: ccan/ccan/io/io.c:407 (do_plan) 0x55bb2f3518b3
2020-09-28T23:09:30.449Z **BROKEN** lightningd: backtrace: ccan/ccan/io/io.c:417 (io_ready) 0x55bb2f351950
2020-09-28T23:09:30.449Z **BROKEN** lightningd: backtrace: ccan/ccan/io/poll.c:445 (io_loop) 0x55bb2f353294
2020-09-28T23:09:30.449Z **BROKEN** lightningd: backtrace: lightningd/io_loop_with_timers.c:24 (io_loop_with_timers) 0x55bb2f2e5df0
2020-09-28T23:09:30.449Z **BROKEN** lightningd: backtrace: lightningd/lightningd.c:1015 (main) 0x55bb2f2e94f1
2020-09-28T23:09:30.449Z **BROKEN** lightningd: backtrace: (null):0 ((null)) 0x7f0568e380b2
2020-09-28T23:09:30.449Z **BROKEN** lightningd: backtrace: (null):0 ((null)) 0x55bb2f2d7ead
2020-09-28T23:09:30.449Z **BROKEN** lightningd: backtrace: (null):0 ((null)) 0xffffffffffffffff