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

Expose test network cfg #3573

Merged
merged 4 commits into from
Dec 9, 2024
Merged

Expose test network cfg #3573

merged 4 commits into from
Dec 9, 2024

Conversation

cam-schultz
Copy link
Contributor

Why this should be merged

The TestNetwork utility exposes the p2p stack so that non-node applications can communicate with nodes over p2p. This change makes this utility more flexible by allowing the user to modify the default configuration.

How this works

Adds NewTestNetworkConfig and modifies NewTestNetwork to accept a network.Config parameter.

How this was tested

CI

Need to be documented in RELEASES.md?

No

@cam-schultz cam-schultz marked this pull request as ready for review November 26, 2024 18:20
Copy link

@geoff-vball geoff-vball left a comment

Choose a reason for hiding this comment

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

👍

network/test_network.go Outdated Show resolved Hide resolved
@StephenButtolph StephenButtolph added this pull request to the merge queue Dec 9, 2024
Merged via the queue into master with commit f9d5d20 Dec 9, 2024
23 checks passed
@StephenButtolph StephenButtolph deleted the expose-test-network-cfg branch December 9, 2024 15:14
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.

6 participants