-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
remove some xxx comments and the config.mempool.recheck_empty #2505
Conversation
f513b27
to
4ed365e
Compare
@@ -206,7 +206,6 @@ private_peer_ids = "{{ .P2P.PrivatePeerIDs }}" | |||
[mempool] | |||
|
|||
recheck = {{ .Mempool.Recheck }} | |||
recheck_empty = {{ .Mempool.RecheckEmpty }} |
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.
also needs to be removed from docs/tendermint-core/configuration/md
type FilePV struct { | ||
Address types.Address `json:"address"` | ||
PubKey crypto.PubKey `json:"pub_key"` | ||
LastHeight int64 `json:"last_height"` | ||
LastRound int `json:"last_round"` | ||
LastStep int8 `json:"last_step"` | ||
LastSignature []byte `json:"last_signature,omitempty"` // so we dont lose signatures XXX Why would we lose signatures? | ||
LastSignBytes cmn.HexBytes `json:"last_signbytes,omitempty"` // so we dont lose signatures XXX Why would we lose signatures? |
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.
Perhaps change these lines to "so we maintain signatures in event of a crash"
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.
New comment on this struct not sufficient?
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.
Oh I missed it, my bad
Codecov Report
@@ Coverage Diff @@
## develop #2505 +/- ##
===========================================
- Coverage 61.35% 61.31% -0.04%
===========================================
Files 202 202
Lines 16668 16707 +39
===========================================
+ Hits 10226 10244 +18
- Misses 5580 5597 +17
- Partials 862 866 +4
|
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.
🍰 🌮 🦀
Remove/update a few XXX/TODO found in the code that are stale or can be quickly addressed.
Also realized we can just remove Config.Mempool.RecheckEmpty. It defaults to
true
and was a useless option.