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

feat(malachite): Tendermint consensus support #477

Draft
wants to merge 56 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
68b2aa7
fix(db): fix number of files in db, startup hang, ram issues and flus…
cchudant Nov 6, 2024
45703c8
p2p: start
cchudant Nov 27, 2024
aa3b9aa
feat: make kad work
cchudant Dec 9, 2024
4f39098
p2p: pathfinder can now sync from us
cchudant Dec 13, 2024
b950296
sync2 refactor
cchudant Jan 6, 2025
b3a5be0
pipeline controller, debugging now
cchudant Jan 13, 2025
eeeb54c
fix: can now sync txs and headers
cchudant Jan 13, 2025
837273b
p2p: added response stream mapping for events, classes, state diffs -…
cchudant Jan 14, 2025
e09dcd5
feat(sync/p2p): added the other sync pipelines :)
cchudant Jan 15, 2025
ec97bf2
fix: legacy classes, hashes
cchudant Jan 18, 2025
e7e540b
feat(sync): probe, sync abstraction and gateway sync
cchudant Jan 21, 2025
825589b
feat: hook up gateway pipelines, now working
cchudant Jan 21, 2025
edbfae2
fix(p2p-sync): can now sync from madara 🥳
cchudant Jan 30, 2025
bfd284d
Merge remote-tracking branch 'origin/main' into p2p_4
cchudant Jan 31, 2025
11bf16f
cleaning up
cchudant Jan 31, 2025
5fa623c
fix: save chain tip to db
cchudant Feb 1, 2025
65a4667
fix: typo
cchudant Feb 1, 2025
b0e2b6e
fix: classes should be saved sequentially
cchudant Feb 1, 2025
c0a7b29
fix: pipeline polling order
cchudant Feb 2, 2025
8a0c70f
nicer log messages
cchudant Feb 2, 2025
23bc787
re-add sync metrics
cchudant Feb 2, 2025
97ac3ad
fix(cargo): organized main Cargo.toml
Trantorian1 Jan 24, 2025
5837a62
fix(fmt): taplo
Trantorian1 Jan 24, 2025
d9c85e4
fix(cargo): moved sha3 to misc
Trantorian1 Jan 24, 2025
da9166c
feat(malachine): set up context boilerplate
Trantorian1 Jan 24, 2025
a7f93b4
refactor(proto): started moving proto to primitives
Trantorian1 Feb 4, 2025
71cd006
refactor(proto): updated p2p crate to use mp-proto
Trantorian1 Feb 4, 2025
336b17b
fix(clippy)
Trantorian1 Feb 4, 2025
f8499b7
feat(proto): moved local protos to submodule
Trantorian1 Feb 5, 2025
a83f1c4
feat(proto): updated transaction protos
Trantorian1 Feb 5, 2025
02fdb46
feat(proto): updated header protos
Trantorian1 Feb 5, 2025
6bd7828
feat(proto): added macros to make proto conversion more legible
Trantorian1 Feb 5, 2025
86094d6
feat(stream): started work on proposal stream accumulator
Trantorian1 Feb 6, 2025
8580a54
test(stream): fixed some bugs and added tests
Trantorian1 Feb 6, 2025
356603d
test(stream): wip proptesting the stream accumulator
Trantorian1 Feb 6, 2025
2ae5ab0
test(stream): boilerplate for malicious input in proptest
Trantorian1 Feb 7, 2025
c87028e
test(stream): added invalid stream id malicious input
Trantorian1 Feb 7, 2025
0800ffd
test(stream): added garbage data malicious input
Trantorian1 Feb 10, 2025
ba2f0cd
test(stream): added double fin malicious input
Trantorian1 Feb 10, 2025
e8e716b
test(stream): added invalid model malicious input
Trantorian1 Feb 10, 2025
9c0d10d
test(stream): added malicious inputs after the full stream has been r…
Trantorian1 Feb 11, 2025
0d56c3d
feat(stream): moved towards async stream architecture
Trantorian1 Feb 12, 2025
4f5fdb2
feat(stream): got stream to work in basic scenario
Trantorian1 Feb 12, 2025
9178cbe
feat(stream): got stream to work in reverse send scenario
Trantorian1 Feb 12, 2025
a7a89eb
test(stream): added tests along all flow paths
Trantorian1 Feb 13, 2025
640de67
test(stream): added proptest for valid state transitions
Trantorian1 Feb 14, 2025
ab5403f
feat(stream): removed useless waker
Trantorian1 Feb 14, 2025
b45d660
refactor(stream): better poll_next method
Trantorian1 Feb 17, 2025
a04ddf3
fix(clippy): removed unused function
Trantorian1 Feb 17, 2025
575535c
refactor(stream): work of &mut instead of std::mem::take
Trantorian1 Feb 17, 2025
1abe693
docs(stream): added module documnetation + some code cleanup
Trantorian1 Feb 17, 2025
1f6f103
refactor(stream): better integration with consensus logic
Trantorian1 Feb 17, 2025
33ce513
feat(stream): added StreamItem
Trantorian1 Feb 18, 2025
bad2d14
feat(malachite): proposal
Trantorian1 Feb 18, 2025
bb707db
feat(malachite): vote
Trantorian1 Feb 18, 2025
cb919ad
feat(malachite): some progress on implementing primitive types
Trantorian1 Feb 20, 2025
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
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ tmp/
*.info
*.profraw

# p2p identity file
/identity.json

# Running madara with make and docker compose
.secrets
image.tar.gz
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "crates/madara/primitives/proto/starknet-p2p-specs"]
path = crates/madara/primitives/proto/starknet-p2p-specs
url = https://github.com/starknet-io/starknet-p2p-specs
Loading