aboutsummaryrefslogtreecommitdiff
path: root/depends
diff options
context:
space:
mode:
authorVasil Dimov <vd@FreeBSD.org>2022-06-09 12:22:24 +0200
committerVasil Dimov <vd@FreeBSD.org>2022-08-16 13:02:19 +0200
commit3914e472f5685c29aa3d1c6dc5af9a758313d6c1 (patch)
tree0b4e1a87d734325fefc46359a5ed5a6e017c9840 /depends
parentae1e97ce863609e06be44a2632fb9d1fbb8e5698 (diff)
test: add a test that -i2pacceptincoming=0 creates a transient session
The test is a bit primitive as it checks the Bitcoin Core log and assumes that if it logs that it creates a transient session, then it does that indeed. A more thorough test would be to check that it indeed sends the `SESSION CREATE ... DESTINATION=TRANSIENT` command and that it uses the returned I2P address for connecting, even for repeated connections to the same I2P peer. That would require a mocked SAM server (proxy) implementation in Python.
Diffstat (limited to 'depends')
0 files changed, 0 insertions, 0 deletions