Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Net plugin sync - 2.0.x #8229

Merged
merged 26 commits into from
Dec 3, 2019
Merged
Show file tree
Hide file tree
Changes from 22 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
50f850d
Rename sync_state struct to peer_sync_state to distinguish from sync_…
heifner Nov 19, 2019
facae8e
Fix self check to compare to this node's node_id
heifner Nov 19, 2019
36e6645
Remove dead code
heifner Nov 19, 2019
106abbc
Avoid wrapping generation
heifner Nov 19, 2019
b6168c1
sync_recv_block should only be called if in lib catchup
heifner Nov 19, 2019
cb7a223
Add full version to startup ilog message if diff than version
heifner Nov 20, 2019
e897e64
Add additional logging
heifner Nov 20, 2019
970d126
Don't send handshakes to everyone as often as it just causes confusio…
heifner Nov 20, 2019
b6166e4
Only send handshake if it has changed from last send. Log all incomin…
heifner Nov 21, 2019
c82cb98
If block less than lib received outside of lib catchup then tell peer…
heifner Nov 23, 2019
ba58387
Make sure handshake is first response to first handshake from peer. A…
heifner Nov 23, 2019
e3761a4
Send head id along with verify request_message so if not on a fork th…
heifner Nov 25, 2019
0ef236f
If verifying catchup and num is notice is less than lib, nothing to do.
heifner Nov 25, 2019
d7dfa4f
Reduce received block and bcast block logging to debug level
heifner Nov 26, 2019
538778a
Add const and extra logging
heifner Nov 27, 2019
29d98dc
Additional logging for when block is not applied to head
heifner Nov 27, 2019
9dd2053
If peer sending less than lib and we have notified it of our lib, the…
heifner Nov 27, 2019
6a65a3e
Merge remote-tracking branch 'origin/release/2.0.x' into net-plugin-s…
heifner Nov 27, 2019
1d8c95e
Only log block not applied to head if not running in irreversible mode
heifner Nov 27, 2019
975f78a
Explicitly guard agaisnt null block_state->block
heifner Nov 27, 2019
8d2d6a0
Only cancel wait if not syncing
heifner Dec 2, 2019
bda434e
send handshake if head_id changed
heifner Dec 2, 2019
563005c
Fix compile error
heifner Dec 2, 2019
c74d07e
Always cancel_wait on receive
heifner Dec 2, 2019
e16ad64
on fork should be true if not found
heifner Dec 2, 2019
174ca52
Do not send a go away message if unable to fetch a block as we might …
heifner Dec 3, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view