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 TxVerifier interface to network #2542

Merged
merged 17 commits into from
Dec 22, 2023
Merged

Add TxVerifier interface to network #2542

merged 17 commits into from
Dec 22, 2023

Conversation

joshua-kim
Copy link
Contributor

Why this should be merged

Refactors the context lock grab out of the network when performing verification

How this works

Introduces a TxVerifier interface that grabs the context lock

How this was tested

CI

Signed-off-by: Joshua Kim <20001595+joshua-kim@users.noreply.github.com>
Signed-off-by: Joshua Kim <20001595+joshua-kim@users.noreply.github.com>
Signed-off-by: Joshua Kim <20001595+joshua-kim@users.noreply.github.com>
Signed-off-by: Joshua Kim <20001595+joshua-kim@users.noreply.github.com>
Signed-off-by: Joshua Kim <20001595+joshua-kim@users.noreply.github.com>
Signed-off-by: Joshua Kim <20001595+joshua-kim@users.noreply.github.com>
Signed-off-by: Joshua Kim <20001595+joshua-kim@users.noreply.github.com>
Signed-off-by: Joshua Kim <20001595+joshua-kim@users.noreply.github.com>
Signed-off-by: Joshua Kim <20001595+joshua-kim@users.noreply.github.com>
Signed-off-by: Joshua Kim <20001595+joshua-kim@users.noreply.github.com>
Signed-off-by: Joshua Kim <20001595+joshua-kim@users.noreply.github.com>
Signed-off-by: Joshua Kim <20001595+joshua-kim@users.noreply.github.com>
Signed-off-by: Joshua Kim <20001595+joshua-kim@users.noreply.github.com>
@joshua-kim joshua-kim marked this pull request as ready for review December 22, 2023 19:27
@joshua-kim
Copy link
Contributor Author

Related: #2533

vms/platformvm/network/network.go Outdated Show resolved Hide resolved
vms/platformvm/network/network_test.go Outdated Show resolved Hide resolved
Signed-off-by: Joshua Kim <20001595+joshua-kim@users.noreply.github.com>
Signed-off-by: Joshua Kim <20001595+joshua-kim@users.noreply.github.com>
Base automatically changed from move-ctx-lock to dev December 22, 2023 20:50
@StephenButtolph StephenButtolph added this to the v1.10.18 milestone Dec 22, 2023
Signed-off-by: Joshua Kim <20001595+joshua-kim@users.noreply.github.com>
Signed-off-by: Joshua Kim <20001595+joshua-kim@users.noreply.github.com>
@StephenButtolph StephenButtolph added the cleanup Code quality improvement label Dec 22, 2023
@StephenButtolph StephenButtolph added this pull request to the merge queue Dec 22, 2023
Merged via the queue into dev with commit 5888ac3 Dec 22, 2023
17 checks passed
@StephenButtolph StephenButtolph deleted the tx-verifier branch December 22, 2023 21:31
pull bot pushed a commit to AKAJOKER2/avalanchego that referenced this pull request Jan 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup Code quality improvement
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

4 participants