From f78de4f1f2d23799e66d35ccead7040a5d7bf854 Mon Sep 17 00:00:00 2001 From: Lucas Soriano del Pino Date: Mon, 28 Oct 2024 16:19:20 +1100 Subject: [PATCH] feat: Use ConfirmationTarget::Background to claim settle TX outputs There is actually no protocol pressure to claim these outputs quickly, so it seems foolish to pay a possibly very high price for these claim transactions. See https://github.com/get10101/rust-dlc/commit/906cb4d422dbd90bf2fe35991f2a709801c250e7. --- Cargo.lock | 10 +++++----- Cargo.toml | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 27d914acd..133297c9c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1374,7 +1374,7 @@ dependencies = [ [[package]] name = "dlc" version = "0.4.0" -source = "git+https://github.com/get10101/rust-dlc?rev=81090c4#81090c4df533b7cc3d68e1b2c510e5fef02eab43" +source = "git+https://github.com/get10101/rust-dlc?rev=906cb4d#906cb4d422dbd90bf2fe35991f2a709801c250e7" dependencies = [ "bitcoin 0.29.2", "miniscript 8.0.2", @@ -1386,7 +1386,7 @@ dependencies = [ [[package]] name = "dlc-manager" version = "0.4.0" -source = "git+https://github.com/get10101/rust-dlc?rev=81090c4#81090c4df533b7cc3d68e1b2c510e5fef02eab43" +source = "git+https://github.com/get10101/rust-dlc?rev=906cb4d#906cb4d422dbd90bf2fe35991f2a709801c250e7" dependencies = [ "async-trait", "bitcoin 0.29.2", @@ -1402,7 +1402,7 @@ dependencies = [ [[package]] name = "dlc-messages" version = "0.4.0" -source = "git+https://github.com/get10101/rust-dlc?rev=81090c4#81090c4df533b7cc3d68e1b2c510e5fef02eab43" +source = "git+https://github.com/get10101/rust-dlc?rev=906cb4d#906cb4d422dbd90bf2fe35991f2a709801c250e7" dependencies = [ "bitcoin 0.29.2", "dlc", @@ -1415,7 +1415,7 @@ dependencies = [ [[package]] name = "dlc-trie" version = "0.4.0" -source = "git+https://github.com/get10101/rust-dlc?rev=81090c4#81090c4df533b7cc3d68e1b2c510e5fef02eab43" +source = "git+https://github.com/get10101/rust-dlc?rev=906cb4d#906cb4d422dbd90bf2fe35991f2a709801c250e7" dependencies = [ "bitcoin 0.29.2", "dlc", @@ -2879,7 +2879,7 @@ checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" [[package]] name = "p2pd-oracle-client" version = "0.1.0" -source = "git+https://github.com/get10101/rust-dlc?rev=81090c4#81090c4df533b7cc3d68e1b2c510e5fef02eab43" +source = "git+https://github.com/get10101/rust-dlc?rev=906cb4d#906cb4d422dbd90bf2fe35991f2a709801c250e7" dependencies = [ "chrono", "dlc-manager", diff --git a/Cargo.toml b/Cargo.toml index 0ac1050b3..9e432910e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,11 +19,11 @@ resolver = "2" # We are using our own fork of `rust-dlc` at least until we can drop all the LN-DLC features. Also, # `p2pderivatives/rust-dlc#master` is missing certain patches that can only be found in the LN-DLC # branch. -dlc-manager = { git = "https://github.com/get10101/rust-dlc", rev = "81090c4" } -dlc-messages = { git = "https://github.com/get10101/rust-dlc", rev = "81090c4" } -dlc = { git = "https://github.com/get10101/rust-dlc", rev = "81090c4" } -p2pd-oracle-client = { git = "https://github.com/get10101/rust-dlc", rev = "81090c4" } -dlc-trie = { git = "https://github.com/get10101/rust-dlc", rev = "81090c4" } +dlc-manager = { git = "https://github.com/get10101/rust-dlc", rev = "906cb4d" } +dlc-messages = { git = "https://github.com/get10101/rust-dlc", rev = "906cb4d" } +dlc = { git = "https://github.com/get10101/rust-dlc", rev = "906cb4d" } +p2pd-oracle-client = { git = "https://github.com/get10101/rust-dlc", rev = "906cb4d" } +dlc-trie = { git = "https://github.com/get10101/rust-dlc", rev = "906cb4d" } # We should usually track the `p2pderivatives/split-tx-experiment[-10101]` branch. For now we depend # on a special fork which removes a panic in `rust-lightning`.