Skip to content

types: privVal.LastSignature. closes #247#249

Merged
ebuchman merged 4 commits intodevelopfrom
lastsig
Aug 23, 2016
Merged

types: privVal.LastSignature. closes #247#249
ebuchman merged 4 commits intodevelopfrom
lastsig

Conversation

@ebuchman
Copy link
Contributor

@ebuchman ebuchman commented Aug 9, 2016

Coupled with the replay-WAL, this should prevent us from ever halting due to "losing a sig and not wanting to double sign".

@ebuchman ebuchman mentioned this pull request Aug 11, 2016
3 tasks
@ebuchman ebuchman force-pushed the lastsig branch 5 times, most recently from f7f9d64 to 402f041 Compare August 14, 2016 17:17
cs.peerMsgQueue <- m
}

cs.handleMsg(m, cs.RoundState)
Copy link
Contributor

Choose a reason for hiding this comment

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

was there a bug before where WAL entries would get duplicated?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

entries still get duplicated. we log before we even check if it applies.

Copy link
Contributor

Choose a reason for hiding this comment

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

it seems like it used to be more duplicated before: see https://github.com/tendermint/tendermint/blob/master/consensus/state.go#L613 where we save to WAL and then call handleMsg

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oh, we used to also re-save logs during the replay, if that's what you're referring to, we no longer do that by not running the receiveRoutine and just calling handleMsg directly.

Copy link
Contributor

Choose a reason for hiding this comment

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

yeah that's what i meant

@jaekwon
Copy link
Contributor

jaekwon commented Aug 23, 2016

looks good to me

@ebuchman ebuchman merged commit 4802145 into develop Aug 23, 2016
@ebuchman ebuchman deleted the lastsig branch August 23, 2016 15:42
ebuchman pushed a commit that referenced this pull request Jun 20, 2018
troian pushed a commit to akash-network/tendermint that referenced this pull request Mar 11, 2023
… (backport tendermint#253) (tendermint#264)

* Removing all the vuepress related build files and references  (tendermint#253)

* Removing all the vuepress related build files and references (tendermint#249)

* Moved documentation ADR to deprecated (tendermint#249)

* Reverting the logic for check-docs-toc until ADR/RFC refactor (tendermint#249)

* Setting the right permissions to file so workflow executes (tendermint#249)

* Reverting ADR change, will do in another issue (tendermint#249)

(cherry picked from commit d159562)

# Conflicts:
#	Makefile
#	RELEASES.md
#	docs/.vuepress/config.js
#	docs/.vuepress/redirects
#	docs/DOCS_README.md
#	docs/architecture/README.md
#	docs/package.json
#	docs/versions

* fixing conflicts (tendermint#264)

* remove comment leftover from git conflict resolution (tendermint#264)

---------

Co-authored-by: Andy Nogueira <me@andynogueira.dev>
faddat referenced this pull request in notional-labs/tendermint Apr 3, 2023
* Removing all the vuepress related build files and references (#249)

* Moved documentation ADR to deprecated (#249)

* Reverting the logic for check-docs-toc until ADR/RFC refactor (#249)

* Setting the right permissions to file so workflow executes (#249)

* Reverting ADR change, will do in another issue (#249)
patiee pushed a commit to graphprotocol/tendermint that referenced this pull request Aug 7, 2023
… (backport tendermint#253) (tendermint#263)

* Removing all the vuepress related build files and references  (tendermint#253)

* Removing all the vuepress related build files and references (tendermint#249)

* Moved documentation ADR to deprecated (tendermint#249)

* Reverting the logic for check-docs-toc until ADR/RFC refactor (tendermint#249)

* Setting the right permissions to file so workflow executes (tendermint#249)

* Reverting ADR change, will do in another issue (tendermint#249)

(cherry picked from commit d159562)

# Conflicts:
#	RELEASES.md
#	docs/.vuepress/config.js
#	docs/.vuepress/redirects
#	docs/DOCS_README.md
#	docs/package.json
#	docs/versions

* fix for merge

* fixing to merge

---------

Co-authored-by: Andy Nogueira <me@andynogueira.dev>
Co-authored-by: Daniel Cason <daniel.cason@informal.systems>
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