-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Only check warp syncing for eth_getWorks #9484
Conversation
That only affects master 2.1.0+, does it? |
It affects anything after #9210. So I think that means beta and stable. |
I'd like to add my review, but I need to understand some context first.. Why we don't need to check for |
@fckt the issue is that using |
Copied from chat, and I do appreciate if someone more familiar with our sync crate would take a review on this PR:
|
I'm going to add the blocker tag for this PR, because if this is indeed an issue, then pow mining for some chains may have been broken. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is actually already this method implemented: SyncStatus::is_snapshot_syncing
that does what we want here.
https://github.com/paritytech/parity-ethereum/blob/master/ethcore/sync/src/chain/mod.rs#L246L253
* Only check warp syncing for eth_getWorks * Use SyncStatus::is_snapshot_syncing
* Only check warp syncing for eth_getWorks * Use SyncStatus::is_snapshot_syncing
* parity-version: bump stable to 1.11.11 * Update tobalaba.json (#9419) * Update hardcoded sync (#9421) - Update foundation hardcoded header to block 6219777 - Update ropsten hardcoded header to block 3917825 - Update kovan hardcoded header to block 8511489 * parity: print correct keys path on startup (#9501) * Only check warp syncing for eth_getWorks (#9484) * Only check warp syncing for eth_getWorks * Use SyncStatus::is_snapshot_syncing
* parity-version: bump beta to 2.0.4 * [light/jsonrpc] Provide the actual account for `eth_coinbase` RPC and unify error handeling for light and full client (#9383) * Provide the actual `account` for eth_coinbase The previous implementation always provided the `zero address` on `eth_coinbase` RPC. Now, instead the actual address is returned on success or an error when no account(s) is found! * full client `eth_coinbase` return err In the full-client return an error when no account is found instead of returning the `zero address` * Remove needless blocks on single import * Remove needless `static` lifetime on const * Fix `rpc_eth_author` test * parity: print correct keys path on startup (#9501) * aura: don't report skipped primaries when empty steps are enabled (#9435) * Only check warp syncing for eth_getWorks (#9484) * Only check warp syncing for eth_getWorks * Use SyncStatus::is_snapshot_syncing * Fix Snapshot restoration failure on Windows (#9491) * Close Blooms DB files before DB restoration * PR Grumbles I * PR Grumble * Grumble
No description provided.