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

Move light specs to their own dir, add readme and diagram #73

Merged
merged 7 commits into from
Jan 23, 2020

Conversation

ebuchman
Copy link
Contributor

  • fork-accountability.md -> light/accountability.md
  • light-client.md -> light/verification.md
  • non-recursive-light-client.md -> light/verification-non-recursive.md
  • new detection.md with a TODO
  • new README outlining the motivation and structure, including the light node diagram
  • update consensus/README with an index


Tendermint consensus guarantees the following specifications for all heights:
* agreement -- no two correct full nodes decide differently.
* validity -- the decided block satisfies the predefined predicate *valid()*.
Copy link
Contributor

@liamsi liamsi Jan 22, 2020

Choose a reason for hiding this comment

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

Nit regarding formatting: should we format this as valid() instead of valid()? (consistently, here and everywhere else).

Suggested change
* validity -- the decided block satisfies the predefined predicate *valid()*.
* validity -- the decided block satisfies the predefined predicate `valid()`.

@@ -0,0 +1,612 @@
# Lite client
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
# Lite client
# Light client

@@ -0,0 +1,612 @@
# Lite client

A lite client is a process that connects to Tendermint full node(s) and then tries to verify application
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
A lite client is a process that connects to Tendermint full node(s) and then tries to verify application
A light client is a process that connects to Tendermint full node(s) and then tries to verify application

NextValidatorsHash []byte // hash of the validators for the next block

// hashes of block data
LastCommitHash []byte // hash of the commit from validators from the last block
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
LastCommitHash []byte // hash of the commit from validators from the last block
LastCommitHash []byte // hash of the commit from validators from the last block

@milosevic milosevic merged commit dc54206 into zm_lite_client_algo Jan 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants