Questions tagged [sync]
The sync tag has no usage guidance.
27
questions
2
votes
0
answers
42
views
"Not Requested Block Data" synching a parachain node
I am facing an issue with syncing new nodes to the bootnodes of my parachain on Kusama. The bootnodes were synced using the following commands:
For fast sync: binary --chain <parachainchain> -- ...
3
votes
1
answer
44
views
Node panics on restart after warp synced with both relay and parachain
We are observing the following panic for a parachain node that is warp synced fully on both sides when we try to restart the node:
Thread 'main' panicked at 'route from finalized to leaf should be ...
0
votes
1
answer
95
views
Rococo node crashing due to beefy gadget
I am attempting to run a Rococo node from scratch. The command I am using is ./target/release/polkadot --chain=rococo --base-path /hdd/work/fat-db/rococo-actual --enable-offchain-indexing true --sync ...
2
votes
2
answers
55
views
Is it possible to turn a Frontier node into an Ethereum client?
Suppose I start with a Frontier-based template node and want it to sync with a Geth full node, as if it was an Ethereum execution client.
What are the minimal set of changes necessary to make this ...
2
votes
1
answer
41
views
Rococo can't warp sync - stuck at 16Mb finality proof download
I had some trouble recently syncing Rococo from scratch (forcing OOM on servers) so I wanted to use warp sync as a workaround.
But on different servers and on local machine, finality proofs download ...
0
votes
1
answer
25
views
How to enable warp sync with Aura consensus?
I have looked at the substrate node template and it shows how to enable Warp sync for Grandpa but I couldn't find an example with Aura. What do I need to add/modify if it's at all possible?
3
votes
1
answer
71
views
What exactly is `indexed_body` and how to deal with it?
The IncomingBlock struct has a field called indexed_body, containing a Vec<Vec<u8>>. As far as I can tell this is sometimes sent with a block, although only when specifically requested. If ...
3
votes
0
answers
33
views
How to use a custom syncing logic?
I want to create a node with a different syncing logic than SyncingEngine (I have my own struct that implements the same API as SyncingEngine). To be clear, I want to use the substrate NetworkService
...
7
votes
1
answer
121
views
What's the fastest way to sync a node only keeping full state for the last N blocks?
I need to only keep state for the last few blocks, but I don't want to wait for the full sync of the node, is there a way to do that faster than by using --sync=full? Because it seems like all the ...
3
votes
2
answers
87
views
Parachain Warp sync get stuck at AwaitingPeers status
I'm testing warp sync feature with a Parachain node which is available after these commits https://github.com/paritytech/substrate/pull/12761.
In my testing, Warp sync for the embedded Relaychain side ...
2
votes
1
answer
44
views
What is happening between `Is collating: yes` and ` Local node identity is:...` or why is it taking so long time to restart syncing of a crashed node?
I'm trying to sync a parachain node from scratch with a client upgraded to polkadot0.9.37
I have experienced crashes and restarts after a few hours and with every subsequent restart it seems to take ...
0
votes
0
answers
30
views
Rejected connection: Transport(i/o error: unexpected end of file
I was synchronizing the Shiden network, but was prevented from doing so by the following error.
There is also an Issue on GitHub, but the conversation is not continuing.
https://github.com/...
5
votes
1
answer
149
views
Have we broken warp sync?
We are trying to use warp sync for our substrate chain but it doesn't seem to advance past the genesis block.
Normal sync works fine. We purge the chain state and then run the node using:
chainflip-...
3
votes
2
answers
164
views
Sync a parachain node quickly
Is it possible to use a snapshot of the relay chain to synchronize a Substrate-based parachain and run a parachain node, as the process of synchronizing the relay chain can take a significant amount ...
0
votes
0
answers
17
views
Polkadot fast sync mode not fast enough [duplicate]
I tried running a parachain, which requires syncing relaychain before syncing parachain. On quick exploration I found out there is a "fast" sync mode that speeds up the chain sync process ...
4
votes
1
answer
74
views
How to perform **manual sync**?
Substrate automatically syncs up upon starting and supports --sync <SYNC_MODE> full, fast, fast-unsafe and wrap
However, I'd like to have manual to prevent the node from synchronizing when ...
1
vote
1
answer
123
views
How can we start a node in warp sync mode?
Recently tried to run a collator node with --sync warp flags. The node exited with error "Warp sync enabled, but no warp sync provider configured". I was not able to find any more info on ...
1
vote
0
answers
217
views
Block Sync and manual import of blocks
I need to manually import some blocks, i.e. I am downloading some blocks using an external tool and want to make them pass whole verification pipeline and be included in substrate's db and visible to ...
4
votes
1
answer
344
views
Is GRANDPA warp sync the recommended method for syncing a node?
In the Polkadot node --help I see the following:
--sync <SYNC_MODE>
Blockchain syncing mode.
- `full`: Download and validate full blockchain history.
- `fast`: Download blocks ...
1
vote
1
answer
53
views
How do nodes reach a consensus on storage items from a custom pallet?
If I have a StorageValue which is for example a rust BTree, and my custom pallets interacts with that BTree which should an invariant - let's say it's a BTree of integers, and n can be added to that ...
5
votes
1
answer
304
views
Parachain not syncing with peers
An instance is already running a parachain collator node and is producing block.
Is collating: yes
[Relaychain] 🏷 Local node identity is: 12D3KooWLhkaoFSGV2JfXea1BGTEAv2R5PE4v2b1nHZMo1ZGtXDG
[...
5
votes
1
answer
103
views
Are transaction always submitted to non-validator nodes?
Reading the Polkadot docs, I've run into the following statement:
Validators should only run the Polkadot binary, and they should not listen on any port other than the configured p2p port.
So far, ...
2
votes
0
answers
53
views
What is the difference between the four attribute values between full, fast, fast-unsafe,warp for --sync? [duplicate]
polkadot network sync mode: --sync
Blockchain syncing mode. [default: full] [possible values: full, fast, fast-unsafe,warp]
What is the difference between these four attribute values?
What is the ...
5
votes
0
answers
153
views
Parachain nodes become idle
The following nodes are Subsocial parachain nodes. We use polkadot-v0.9.16 as our dependencies version. Gonna upgrade soon, but we need to solve the collators issues before.
Occasionally some of the ...
1
vote
1
answer
53
views
Why is the collator node producing and finalizing blocks at such a fast rate?
I am reading the Cumulus docs on running a node:
https://github.com/paritytech/cumulus#build--launch-a-node
Why is it that when I run:
./target/release/polkadot-collator --tmp --chain westmint
...
3
votes
2
answers
86
views
How can a OCW determine if a node is fully synced?
Is there a status-call/api that a OCW could invoke in order to establish if the actual running node instance is fully synced? Maybe listening to a frame_system event? Or knowing the total blocks ...
12
votes
1
answer
581
views
What kinds of sync mechanisms does Substrate implement?
There appears to be a few sync mechanisms in Substrate like full sync, fork sync, gap sync, warp sync, state sync, etc.
What is the complete picture of sync mechanisms/stages in Substrate are and how ...