This repository has been archived by the owner on Nov 6, 2020. It is now read-only.
setMode(offline) results in: Cannot sleep - syncing ongoing #10687
Labels
F3-annoyance 💩
The client behaves within expectations, however this “expected behaviour” itself is at issue.
F8-enhancement 🎊
An additional feature request.
M4-core ⛓
Core client code / Rust.
Q2-easy 💃
Can be fixed by copy and pasting from StackOverflow.
Milestone
I want to control parity's syncing behavior with the
parity_setMode
api call (https://wiki.parity.io/JSONRPC-parity_set-module#parity_setmode). But this does not work reliable.System Details
Actual Behavior
Calling
parity_setMode('offline')
only stops syncing if the queue size is small enough (https://github.com/paritytech/parity-ethereum/blob/21a27fee9f0e23777d9f14b3d3d74fa3d1b63a9d/ethcore/src/client/client.rs#L1211).Expected Behavior
If I call
parity_setMode('offline')
I would except that the sync process stops - regardless of queue size. If I want to stop the node, I'm completely ok with throwing the queue contents away. I can also see no reason for this limitation.Further Notes
force=True
parameterThe text was updated successfully, but these errors were encountered: