Skip to content

Commit

Permalink
Add SV2Proxy for integration test
Browse files Browse the repository at this point in the history
`SVPorxy` allows sniffing on messages exchanged between two roles, those
enabling testing whether a message have been sent/received by a role,
whether it is downstream or upstream.
  • Loading branch information
jbesraa committed Oct 1, 2024
1 parent 955fbce commit 90c109d
Show file tree
Hide file tree
Showing 7 changed files with 1,279 additions and 155 deletions.
130 changes: 48 additions & 82 deletions roles/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 13 additions & 4 deletions roles/tests-integration/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,20 @@ edition = "2021"
bitcoind = "0.36.0"
flate2 = "1.0.32"
minreq = { version = "2.12.0", features = ["https"] }
once_cell = "1.20.0"
once_cell = "1.19.0"
tar = "0.4.41"
pool_sv2 = { version = "0.1.0", path = "../pool" }
key-utils = { version = "1.0.0", path = "../../utils/key-utils" }
tokio = { version = "1.16.1", features = ["full"] }
tokio = { version="1.36.0",features = ["full","tracing"] }
# demand-easy-sv2 = { version = "0.6.0", git = "https://github.com/demand-open-source/demand-easy-sv2.git" }

codec_sv2 = { path = "../../protocols/v2/codec-sv2", features = ["noise_sv2"] }
const_sv2 = { path = "../../protocols/v2/const-sv2" }
binary_sv2 = { path = "../../protocols/v2/binary-sv2/binary-sv2" }
roles_logic_sv2 = { path = "../../protocols/v2/roles-logic-sv2" }
network_helpers_sv2 = { path = "../roles-utils/network-helpers", features =["with_tokio","with_buffer_pool"] }
pool_sv2 = { path = "../pool" }
key-utils = { path = "../../utils/key-utils" }
tracing = "0.1.40"
futures = "0.3.30"

[lib]
path = "tests/common/mod.rs"
Loading

0 comments on commit 90c109d

Please sign in to comment.