Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat:compatible with peers(protover<=45) for tx propagation #860

Merged
merged 4 commits into from
Dec 20, 2024

Conversation

lochjin
Copy link
Collaborator

@lochjin lochjin commented Dec 19, 2024

No description provided.

@lochjin lochjin requested a review from dindinw December 19, 2024 12:40
config/config.go Outdated
@@ -148,6 +148,8 @@ type Config struct {
NoSnapSyncPeerTimeout int `long:"nosnapsyncpeertimeout" description:"During the IBD phase, if no peer node with snap-sync service enabled is found after the timeout (seconds), the node will switch to using the normal sync method."`

PowDiffMode int `long:"powdiffmode" description:"Pow difficult mode:(0:meer,1:ghostdag,2:develop)"`

TransferVer1Txs bool `long:"transferver1txs" description:"Transmission of txs sent by first generation peers"`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

may be better described like:TranferTxLegacyMode
"Support transaction transmission mode compatible with older versions before the snapsync P2P"

@dindinw dindinw merged commit 51245c9 into Qitmeer:dev/2.0 Dec 20, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants