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

Pause Substrate sync while doing sync from DSN #1602

Merged
merged 3 commits into from
Jun 29, 2023
Merged

Conversation

nazar-pc
Copy link
Member

This leverages autonomys/substrate#52 (hence Substrate upgrade) to pause Substrate sync process (essentially all outgoing requests, see autonomys/substrate#52) while sync from DSN is happening.

Without this pruned nodes on the network result in a decreased reputation of connected peers and a lot of unnecessary reconnections/disconnections.

This closes last requirement for #1514, which I'll resolve after extra testing.

For review purposes just ignore all Cargo.toml changes, there are very few changes outside of that.

Code contributor checklist:

@nazar-pc
Copy link
Member Author

Rebased against main due to merge conflicts with frontier update. No other changes.

# Conflicts:
#	crates/subspace-fraud-proof/Cargo.toml
#	test/subspace-test-client/Cargo.toml
@nazar-pc nazar-pc merged commit 49f85dd into main Jun 29, 2023
9 checks passed
@nazar-pc nazar-pc deleted the pause-substrate-sync branch June 29, 2023 12:59
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