-
Notifications
You must be signed in to change notification settings - Fork 267
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
das light client (mvp) #323
Merged
Merged
Changes from 1 commit
Commits
Show all changes
91 commits
Select commit
Hold shift + click to select a range
9b18942
First stab on mvp light client adr
liamsi 8aabbfa
Add more details about IPFS & testing
liamsi 283cfc8
Add thoughts about DAHeader via RPC
liamsi 8ab6c09
minor cleanup
liamsi 64fdfaf
more details on required changes:
liamsi c10756f
Update LightBlock comment
liamsi 96f9903
properly introduce DAHeader abbreviation and add a negative plus some…
liamsi 58b1506
Add Store requirements & note on skipping verification UX
liamsi d119ffe
stashing all diffs
liamsi 2ff1e83
Fix search&replace glitch
liamsi 3fb46db
Augment provider by DASLightBlock method
liamsi fd0b3a8
Inefficient 1st WIP version
liamsi d68c1b9
add comment
liamsi ede0eb3
quick and dirty move IPFS init and create code for debugging
liamsi 51e3b78
actually add route to rpc
liamsi 2cef90d
fix panic on sample number and check if dah and data hash match
liamsi 11afe34
Add random messages on preprocess step for larger blocks when testing
liamsi fc1b60a
quick & dirty: add badger transform
liamsi deb46f5
and it works :tada:
liamsi 0a82190
actually apply the transforms :facepalm:
liamsi 5caf4a9
also generate some Txs
liamsi c16a75f
add debug output (connected peers) and fix home address
liamsi 0e7254d
comment out Txs generation
liamsi c7d0667
wrap err
liamsi f505adc
move transform out
liamsi 3fe6136
more descriptive error
liamsi 0614946
just for debugging purposes
liamsi a505fff
default to server
liamsi e9e6428
add debug output for dht module
liamsi 5f93f3d
remove exessive debug output again
liamsi d05fc7f
clean up default config
liamsi e89141a
make small blocks
liamsi 067b47c
use larger blocks again
liamsi 954c2e4
smaller again
liamsi e9ba803
even smaller
liamsi edad1af
try with nmt branch & large blocks
liamsi b404b5d
power of two
liamsi 686525c
s/DAS sampling/Data Availability sampling
liamsi d7daaa7
OK, try with 10 mins timeout
liamsi 2ba7802
add some debug output
liamsi db33ad0
panic if PutBlock fails, also increase to 15 sec
liamsi 8b7fa44
reduce timeout to one minute again and actually ensure power of two a…
liamsi e7ef813
more debug output and trace in GetLeafData
liamsi 4c9b753
PutBlock on finalizeCommit instead
liamsi 115d70a
PutBlock independent of store height
liamsi 763a6be
PutBlock or panic
liamsi d4e52d2
hack: wait for ipfs node
liamsi 437b8bf
loads of debug output, will clean up in the following days
liamsi 0b4a881
remove some debug output to make it easier to follow
liamsi 0415330
Merge remote-tracking branch 'origin/master' into ismail/light-mvp
liamsi 955ea8b
light: move IPFS init out of client lib
liamsi f14eceb
light-cmd: minor cleanup
liamsi 1cc4894
light-cmd: treat daSampling case first
liamsi c0cfe01
light: remove ipfs init as it moved to cmd
liamsi a1c33c5
types: remove powerOf2 helper (resloved in #331)
liamsi 1330d8e
light: numSamples to uint32
liamsi 7b06bba
Update docs/lazy-adr/adr-004-mvp-light-client.md
liamsi 01abf4e
light: numSamples upper bound
liamsi 500e062
Merge remote-tracking branch 'origin/master' into ismail/light-mvp
liamsi b3b5fea
run go mod tidy
liamsi d0ed747
revert changes in KVStore
liamsi 34146b6
revert delete PreprocessTxs in KVStore
liamsi ab280a3
fmt
liamsi 886f620
remove some debug output
liamsi 9555a4d
remove obsolete nil check
liamsi 5c94750
further clean up: remove obsolete private helper
liamsi 380e4d9
remove obsolete debug output
liamsi 53145c9
use closer for graceful shutdown
liamsi 68e377b
linter
liamsi 8ba205b
remove more debug output
liamsi 880749e
remove caching eds as it is better done in a separate pr
liamsi fa0193a
fix broken test
liamsi dbea20c
proper err handling and closing in test
liamsi 70151b7
fix another test
liamsi 75209b4
fix remaining tests
liamsi 3ae3356
linter again
liamsi 4f64b99
timeouts again :-/
liamsi a295da4
use one mock only
liamsi 5b0b2a4
cleanup obsolete comment
liamsi 79457ae
move methods from wal_generator.go to wal_test.go
liamsi b215136
increase test timeouts due to mock ipfs objects
liamsi c867b78
give the consensus reactor more time
liamsi abd3076
extend timeouts even further
liamsi f3c59b4
review feedback
liamsi 675d058
linter: fix unnecessary conversion
liamsi 91f8a7c
shutdown might take longer now
liamsi c97011c
use b.DataAvailabilityHeader.hash == nil instead
liamsi d9f27e4
Update consensus/state.go
liamsi edca6ad
don't panic
liamsi 5a91089
remove unreachable panic
liamsi fe55882
TestStateLockPOLSafety1 times out on CI: increase threshold
liamsi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
slightly modified version of: tendermint/tendermint#6202