X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;ds=sidebyside;f=lightning%2FCargo.toml;h=20a6460d62dfec24bfe84d7aaaf823395e5912fd;hb=bce202536d0de69cc12b833fa9c7bc9cbba94b93;hp=f89b548184ccfcd76d66a9a1f46f092359fe04d7;hpb=6164a95267afe4047f62cf22968f1c47e577ff57;p=rust-lightning diff --git a/lightning/Cargo.toml b/lightning/Cargo.toml index f89b5481..20a6460d 100644 --- a/lightning/Cargo.toml +++ b/lightning/Cargo.toml @@ -18,6 +18,9 @@ max_level_error = [] max_level_warn = [] max_level_info = [] max_level_debug = [] +# Allow signing of local transactions that may have been revoked or will be revoked, for functional testing (e.g. justice tx handling). +# This is unsafe to use in production because it may result in the counterparty publishing taking our funds. +unsafe_revoked_tx_signing = [] [dependencies] bitcoin = "0.23" @@ -28,4 +31,4 @@ features = ["bitcoinconsensus"] [dev-dependencies] hex = "0.3" -rand = "0.4" +regex = "0.1.80"