Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add connect_nodes #371

Merged
merged 2 commits into from
Jun 6, 2024

Conversation

mplsgrant
Copy link
Collaborator

@mplsgrant mplsgrant commented May 27, 2024

Issue

Running connect_nodes from the Test Framework fails.

Cause

connect_nodes assumes bitcoind processes running via popen, and they don't expect to see dns-style addresses in place of ip addresses.

Solution

Update the backend abstract class, and align the original connect_nodes function with the ip configurations we use in k8s.

@mplsgrant mplsgrant force-pushed the 2024-05-connect-nodes branch 5 times, most recently from 48a99b1 to b88fde5 Compare June 5, 2024 22:24
Copy link
Contributor

@pinheadmz pinheadmz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looking good! some comments / questions below

src/backends/kubernetes/kubernetes_backend.py Outdated Show resolved Hide resolved
src/backends/kubernetes/kubernetes_backend.py Outdated Show resolved Hide resolved
src/backends/kubernetes/kubernetes_backend.py Outdated Show resolved Hide resolved
src/scenarios/connect_dag.py Outdated Show resolved Hide resolved
src/warnet/tank.py Show resolved Hide resolved
@pinheadmz
Copy link
Contributor

this is good progress for #36

Copy link
Contributor

@pinheadmz pinheadmz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 5d83415

Show Signature
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

ACK 5d834156ddab6656c68acf2754161046d31c647b
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE5hdzzW4BBA4vG9eM5+KYS2KJyToFAmZiEoUACgkQ5+KYS2KJ
yTpV9g//U/3pTbZcECG9eixEhb10nRzhyDDYE7gbFN2dOdrqC9DbIBQUWODkIsBd
DkZxkxtFtObgO7jPU35torQ2FOMIgUAL8ZdnBG/5ANFrd5ef+fYmsoL+HFJ8b0H8
9dXpFkg1UzNnPGA/XIV2b/dg9ErRg+yxR7W3+3uf392mMPUn0DLwgL1x4HUsuzux
OYt736AATeWoQxMQjD/ReiCDfrTxwXJGbbhqcvb5sojdg1yBn4lsXemOWm8D8QPg
JHa9wOgDWAm4EGIDbXZTl0huN0xV5t9ogbUTRM+nT9cneUzDdvhBC1JiQTgqVfqw
KySGave/4EoVoIZtgYVBYUCZ3BD3bwA4nvbMkZOPvhet8T+9/EghxIimTcF2DyGz
NYeqHjGHD0Xb9QLY/vAYj35lyHZX4yi86tvxUSFa/iwEXmA1fi9BETzkqHXPjO9Z
hObAiVhMy7NuZs6UOqeKX02ixbMtTI0Q5dGs8tQyuSg2AKnpUZ9zl76uKNsh3QlF
nPiOXA/KLu64N4Q/W9vJA18rrGzfNbMDn58WzoFPMDFbbPsd+T2N/7/V5JGM1/Gp
X2YxUdlUTECiGacxnBOLrvATe+bHg2zpRtFwBjhjx73K1z9inC1nPsMMCFPuOCLB
wS9XH7yxIKydyfgXxbf6PWT5CIpEG9mbS/9M4eKOsM/aZtZsbXE=
=ghMN
-----END PGP SIGNATURE-----

pinheadmz's public key is on keybase

@pinheadmz pinheadmz merged commit 9cbcb7f into bitcoin-dev-project:main Jun 6, 2024
13 checks passed
@mplsgrant mplsgrant deleted the 2024-05-connect-nodes branch June 6, 2024 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants