Skip to content

Pause Substrate sync while doing sync from DSN#1602

Merged
nazar-pc merged 3 commits intomainfrom
pause-substrate-sync
Jun 29, 2023
Merged

Pause Substrate sync while doing sync from DSN#1602
nazar-pc merged 3 commits intomainfrom
pause-substrate-sync

Conversation

@nazar-pc
Copy link
Copy Markdown
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 nazar-pc force-pushed the pause-substrate-sync branch from 56283e4 to 65f0d10 Compare June 29, 2023 09:01
@nazar-pc
Copy link
Copy Markdown
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
@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