projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Correctly pick middle hop to victimize
[rust-lightning]
/
lightning
/
Cargo.toml
diff --git
a/lightning/Cargo.toml
b/lightning/Cargo.toml
index f38bb80511189ccaf92cce9bbb4a734949ff0e3b..2b0c2d16b7a3bf9f108157ad981fc1893dab6107 100644
(file)
--- a/
lightning/Cargo.toml
+++ b/
lightning/Cargo.toml
@@
-32,7
+32,10
@@
_bench_unstable = []
no-std = ["hashbrown", "bitcoin/no-std", "core2/alloc"]
std = ["bitcoin/std"]
no-std = ["hashbrown", "bitcoin/no-std", "core2/alloc"]
std = ["bitcoin/std"]
-default = ["std"]
+# Generates low-r bitcoin signatures, which saves 1 byte in 50% of the cases
+grind_signatures = []
+
+default = ["std", "grind_signatures"]
[dependencies]
bitcoin = { version = "0.27", default-features = false, features = ["secp-recovery"] }
[dependencies]
bitcoin = { version = "0.27", default-features = false, features = ["secp-recovery"] }