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

adr: mvp light client #311

Merged
merged 30 commits into from
May 14, 2021
Merged
Show file tree
Hide file tree
Changes from 28 commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
9b18942
First stab on mvp light client adr
liamsi May 3, 2021
8aabbfa
Add more details about IPFS & testing
liamsi May 4, 2021
283cfc8
Add thoughts about DAHeader via RPC
liamsi May 4, 2021
8ab6c09
minor cleanup
liamsi May 4, 2021
64fdfaf
more details on required changes:
liamsi May 4, 2021
c10756f
Update LightBlock comment
liamsi May 4, 2021
96f9903
properly introduce DAHeader abbreviation and add a negative plus some…
liamsi May 4, 2021
58b1506
Add Store requirements & note on skipping verification UX
liamsi May 5, 2021
7d06ae2
fix sentence
liamsi May 6, 2021
cef2776
Add Provider changes
liamsi May 6, 2021
9e8989b
Update docs/lazy-adr/adr-004-mvp-light-client.md
liamsi May 8, 2021
a062faf
Update docs/lazy-adr/adr-004-mvp-light-client.md
liamsi May 8, 2021
257dbbc
Update docs/lazy-adr/adr-004-mvp-light-client.md
liamsi May 8, 2021
1b119a7
Update docs/lazy-adr/adr-004-mvp-light-client.md
liamsi May 8, 2021
0369f0f
Minor changes (title & cmd help text) and moving IPFS section
liamsi May 8, 2021
eb64c8e
Remove LAZY prefix from all ADRs
liamsi May 8, 2021
eca6147
add missing word
liamsi May 8, 2021
64044aa
fix typo from review feedback
liamsi May 8, 2021
2dddade
Fix diff
liamsi May 8, 2021
a275f1e
fix other diff
liamsi May 8, 2021
f3006e2
link to DAHeader earlier
liamsi May 8, 2021
747c397
Add alternative for LightBlock and fix typo
liamsi May 8, 2021
17c9e5a
Changes to `Client` and usage of `ValidateAvailability`
liamsi May 8, 2021
7c91f68
cleanup some todos
liamsi May 8, 2021
48b0430
Add note about DHT Client/Server modes
liamsi May 8, 2021
9a08608
add numSamples to UX
liamsi May 9, 2021
7fb463c
Update docs/lazy-adr/adr-004-mvp-light-client.md
liamsi May 10, 2021
54b9b5d
Resolve a bunch of todos and fix sentence
liamsi May 10, 2021
630e967
Update docs/lazy-adr/adr-004-mvp-light-client.md
liamsi May 10, 2021
e5cf047
Update docs/lazy-adr/adr-004-mvp-light-client.md
liamsi May 10, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions docs/lazy-adr/adr-001-block-propagation.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# LAZY ADR 001: Erasure Coding Block Propagation
# ADR 001: Erasure Coding Block Propagation

## Changelog

Expand Down Expand Up @@ -28,10 +28,10 @@ message Proposal {
int64 height = 2;
int32 round = 3;
int32 pol_round = 4;

+++
// 32-byte hash
bytes last_header_hash = 5;
bytes last_header_hash = 5;
// 32-byte hash
bytes last_commit_hash = 6;
// 32-byte hash
Expand All @@ -57,7 +57,7 @@ message Vote {
int64 height = 2;
int32 round = 3;
+++
bytes header_hash = 4;
bytes header_hash = 4;
+++
google.protobuf.Timestamp timestamp = 5
[(gogoproto.nullable) = false, (gogoproto.stdtime) = true];
Expand Down Expand Up @@ -113,7 +113,7 @@ Proposed

- Minimal breakage to public interface
- Only store the block in a single place (IPFS)
- Reduce the public interface of the storage within LazyLedger.
- Reduce the public interface of the storage within LazyLedger.

### Negative

Expand Down
4 changes: 2 additions & 2 deletions docs/lazy-adr/adr-002-ipld-da-sampling.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# LAZY ADR 002: Sampling erasure coded Block chunks
# ADR 002: Sampling erasure coded Block chunks

## Changelog

Expand Down Expand Up @@ -154,7 +154,7 @@ func ValidateAvailability(
// The key difference is that it will sample enough chunks until it can recover the
// full extended data square, including original data (e.g. by using rsmt2d.RepairExtendedDataSquare).
func RetrieveBlockData(
ctx contex.Context,
ctx contex.Context,
dah *DataAvailabilityHeader,
api coreiface.CoreAPI,
codec rsmt2d.Codec,
Expand Down
Loading