志宇

Results 288 comments of 志宇

> Reported the problem to bitcoincore-rpc [rust-bitcoin/rust-bitcoincore-rpc#225](https://github.com/rust-bitcoin/rust-bitcoincore-rpc/issues/225) I tried fixing this in https://github.com/rust-bitcoin/rust-bitcoincore-rpc/pull/230, however my changes seemed to have broken backwards-compatibility and I need to fix the tests.

It seems that the link you provided is the solution that everyone is using. https://github.com/rubocop/rubocop/issues/8697#issuecomment-690875556

I would be interested in having a go at this issue.

@i5hi you can also create custom Database implementations outside of BDK.

> I have been witnessing few occasional failures in blockchain tests in my local too.. Seems like some kind of resource blocking thingy happening somewhere?? I was seeing "resource unavailable"...

This is a one-off failure, not sure if it is related. ``` failures: ---- blockchain::esplora::bdk_blockchain_tests::test_double_spend stdout ---- thread 'blockchain::esplora::bdk_blockchain_tests::test_double_spend' panicked at 'called `Result::unwrap()` on an `Err` value: JSON(Error("expected value", line:...

``` failures: ---- blockchain::esplora::bdk_blockchain_tests::test_sync_address_index_should_not_decrement stdout ---- thread 'blockchain::esplora::bdk_blockchain_tests::test_sync_address_index_should_not_decrement' panicked at 'called `Result::unwrap()` on an `Err` value: EarlyExit(ExitStatus(unix_wait_status(134)))', src/testutils/blockchain_tests.rs:36:75 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace failures: blockchain::esplora::bdk_blockchain_tests::test_sync_address_index_should_not_decrement...

``` failures: error: test failed, to rerun pass '--lib' ---- blockchain::esplora::bdk_blockchain_tests::test_tx_chain stdout ---- thread 'blockchain::esplora::bdk_blockchain_tests::test_tx_chain' panicked at 'called `Result::unwrap()` on an `Err` value: EarlyExit(ExitStatus(unix_wait_status(134)))', src/testutils/blockchain_tests.rs:36:75 note: run with `RUST_BACKTRACE=1` environment...

``` ---- blockchain::electrum::test::bdk_blockchain_tests::test_sync_bump_fee_basic stdout ---- thread 'blockchain::electrum::test::bdk_blockchain_tests::test_sync_bump_fee_basic' panicked at 'called `Result::unwrap()` on an `Err` value: IOError(Os { code: 104, kind: ConnectionReset, message: "Connection reset by peer" })', src/testutils/blockchain_tests.rs:65:56 note: run...

This one is the craziest yet: https://gist.github.com/evanlinjin/3079251115e64edc355f46d0d63edb1e