Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Thomas Taroni
chia-blockchain
Commits
a09441a2
Unverified
Commit
a09441a2
authored
4 years ago
by
Mariano Sorgente
Committed by
GitHub
4 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Don't sync up with weight proof for short heights (#1322)
parent
e6bdee5b
main
almog_debug
check-int-range
checktx
connect-tasks
crawler
dependabot-github_actions-main-github-super-linter-3.17.1
dependabot-pip-main-click-8.0.0
dependabot-pip-main-keyrings-cryptfile-1.3.8
dependabot-pip-main-sortedcontainers-2.4.0
dependabot-pip-main-websockets-9.0.2
fc.dns_with_stats
fc.fix_repeated_connections
fc.new_dns
instrumented-mutex
latest
logwjb
ms.load_plots
ms.more_tests
ms.pooling
ms.spikes3
pay_to_singleton
pool-wallet-config
release-pipelines
remove-get_block_records
semaphore-names
simplify-block-compressor-scanning
standard-logger
testnet_7
tests-skipping-mempool
torrent-workflow
tweak-compressor-zero
update-tests
validate_summaries_while_syncing
validate_wp_summaries_on_sync
wc_sleep_wjb
weight_proof_new_version
wip.pool-wallet-api
wp_v2
1.1.5
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
1.0rc9
1.0rc8
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/wallet/wallet_node.py
+1
-1
src/wallet/wallet_node.py
with
1 addition
and
1 deletion
+1
-1
src/wallet/wallet_node.py
+
1
-
1
View file @
a09441a2
...
...
@@ -459,7 +459,7 @@ class WalletNode:
top
=
prev_head
blocks
.
reverse
()
await
self
.
complete_blocks
(
blocks
,
peer
)
el
se
:
el
if
header_block
.
height
>=
self
.
constants
.
WEIGHT_PROOF_RECENT_BLOCKS
:
# Request weight proof
# Sync if PoW validates
if
self
.
wallet_state_manager
.
sync_mode
:
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help