Closed t-bast closed 3 years ago
Yup, looks like fee_rate
(sat/vB) was added in 0.21 whereas feeRate
(BTC/kvB) was the only option earlier.
Right, if you only support bitcoind
0.21 (and higher) that works for me as well, I'll retry with that version.
I updated to bitcoind
0.21.1 which fixed the previous panic
, but now I'm seeing a different one:
> openchannel 03f1730317981052d10403126e197e421875711898411802e47067401eecd4fab3@localhost:9735 250000
EVENT: initiated channel with peer 03f1730317981052d10403126e197e421875711898411802e47067401eecd4fab3.
> thread '<unnamed>' panicked at 'assertion failed: change_output_position == 0 || change_output_position == 1', src/main.rs:133:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Aborted (core dumped)
Unfortunately I don't see the tx in the logs, but I suspect there's simply no change output (is that correctly handled on your side)?
Oops, yea, the sample was being lazy about calculating the change output, but we also don't even need to calculate it anymore since LDK started doing that a few versions ago. Should be fixed in #32.
I'm able to open channels
eclair -> LDK
but not the other way around. The LDK node crashes after receivingaccept_channel
:It looks like an issue with the
bitcoind_client
not understanding a field in the response (probably while trying to create the funding tx). I was using bitcoind 0.20.1 for this test.