--- Log opened Mon Jun 10 00:00:21 2024 00:35 -!- jonatack [~jonatack@user/jonatack] has quit [Read error: Connection reset by peer] 00:41 -!- jonatack [~jonatack@user/jonatack] has joined #bitcoin-rust 02:02 -!- pyth [~pyth@116.110.40.207] has joined #bitcoin-rust 02:42 -!- jonatack [~jonatack@user/jonatack] has quit [Ping timeout: 268 seconds] 04:18 -!- pyth [~pyth@116.110.40.207] has quit [Ping timeout: 240 seconds] 05:10 -!- pyth [~pyth@125.235.239.142] has joined #bitcoin-rust 05:24 -!- jonatack [~jonatack@user/jonatack] has joined #bitcoin-rust 06:31 -!- luisschwab [~luisschwa@45.4.192.254] has joined #bitcoin-rust 06:34 < luisschwab> hey, I'm running into an issue when calling scan_tx_out_set_blocking(). It will run for a few seconds then panicking and returning this: 06:34 < luisschwab> called `Result::unwrap()` on an `Err` value: JsonRpc(Rpc(RpcError { code: -8, message: "Scan already in progress, use action \"abort\" or \"status\"", data: None })) 06:34 < luisschwab> There was no previous scan in progress 06:34 < luisschwab> Can someone confirm this? 06:38 < luisschwab> the snippet in full: 06:38 < luisschwab> extern crate bitcoincore_rpc; 06:38 < luisschwab> extern crate bitcoincore_rpc_json; 06:38 < luisschwab> use bitcoincore_rpc::{Auth, Client, RpcApi}; 06:38 < luisschwab> use bitcoincore_rpc_json::ScanTxOutRequest; 06:38 < luisschwab> fn main() { 06:38 < luisschwab>     let rpc = Client::new("127.0.0.1", 06:38 < luisschwab>                           Auth::UserPass("satoshi".to_string(), 06:38 < luisschwab>                                          "satoshi".to_string())).unwrap(); 06:38 < luisschwab>     let scan_txout_request = ScanTxOutRequest::Single("pkh(02c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee5)".to_string()); 06:38 < luisschwab>     println!("scan started"); 06:38 < luisschwab>     let utxos = rpc.scan_tx_out_set_blocking(&[scan_txout_request]).unwrap(); 06:38 < luisschwab>     println!("scan ended"); 06:38 < luisschwab>     println!("{:?}", utxos); 06:38 < luisschwab> } 08:15 -!- jonatack [~jonatack@user/jonatack] has quit [Ping timeout: 256 seconds] 08:17 -!- jonatack [~jonatack@user/jonatack] has joined #bitcoin-rust 09:00 -!- Ademan [~Ademan@47.161.2.203] has quit [Ping timeout: 256 seconds] 09:59 -!- BSaboia_ [~bsaboia@user/BSaboia] has quit [Quit: ZNC - https://znc.in] 09:59 -!- BSaboia [~bsaboia@user/BSaboia] has joined #bitcoin-rust 10:07 < shesek> I was unable to get GetKey to work with the BTreeSet/HashSet, sent a PR to add support for Vec:s https://github.com/rust-bitcoin/rust-bitcoin/pull/2850 10:08 < shesek> it includes a test case demonstrating the issue 10:13 -!- BSaboia [~bsaboia@user/BSaboia] has quit [Quit: ZNC - https://znc.in] 10:14 -!- BSaboia [~bsaboia@user/BSaboia] has joined #bitcoin-rust 11:42 < andytoshi> shesek: thanks! 11:42 < andytoshi> yeah, the stdlib generally does not put any constraints on the type parameters in its structs, or their default/blank constructors 11:43 < andytoshi> so you don't realize that they're missig until you actually try to use thm 13:44 -!- luisschwab [~luisschwa@45.4.192.254] has quit [Quit: Client closed] 14:11 -!- jon_atack [~jonatack@user/jonatack] has joined #bitcoin-rust 14:14 -!- jonatack [~jonatack@user/jonatack] has quit [Ping timeout: 268 seconds] 18:34 -!- jon_atack [~jonatack@user/jonatack] has quit [Ping timeout: 255 seconds] 19:04 -!- jonatack [~jonatack@user/jonatack] has joined #bitcoin-rust 22:08 -!- Guest86 [~Guest86@2601:197:800:ec0:c7:5d9b:9f4e:fa04] has joined #bitcoin-rust 22:11 -!- Guest86 [~Guest86@2601:197:800:ec0:c7:5d9b:9f4e:fa04] has quit [Client Quit] --- Log closed Tue Jun 11 00:00:22 2024