-
Notifications
You must be signed in to change notification settings - Fork 23
BAM Validator: Alternative Implementation (Using Banking Stage for Unified Execution) #43
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
Closed
Closed
Changes from all commits
Commits
Show all changes
233 commits
Select commit
Hold shift + click to select a range
1b1312a
Jito Patch
buffalu 9deb40b
first loop at consumer
d35a345
up
8cca5ca
Fixes
60e5232
More work
788e878
More updates
174e708
More work
85383e7
Clean-up
3adf64d
More clean-up
80df366
More changes
09f6ee5
Fix log
608770d
pipe it through
abee958
Full piping?
2a4c0ea
- import some JSS staples
5820eed
unused
db31009
Add revert on error flag to work
00e954d
Add todo
348877e
Extra info shims
7716eb9
More work
91b8f48
Decouple JSS Connection
318d89c
Add JSS Dependencies struct
958f5ec
Fix
20a01e7
WIP
8034195
More work
07d3447
More work
43d4803
more changes
061084c
More work
34f7045
Block engine stage filtering
8e9835e
fix tpu
7028655
fetch stage manager filter
20ad181
More work
503082f
heavy WIP
f512433
fmt
42b7f03
up
3f6e63b
Add the dummy type
bfcaeec
Hook things up
66efb3c
Leverage current bufferer
eaf25bd
More rough stuff
0135804
trashola
28343d6
More work
6503813
Add pre-lock filter
0f180b2
Small updates
0086a73
Disable other receive_and_bufferers if jss_enabled=true
f67b67a
update
df199bb
small updates
29d3eeb
Remove
dd5f6d2
Remove
0562ae5
Something is working
c051e75
More work
94223d0
- Send leader states
68af232
Fixes
ac32a7e
Add revert on error tests
c4341c5
Add WIP test
8b550c0
Up
1449e27
No longer using random workers
1894a1c
clear dat shi
8311000
Add some more comments
40130cf
fmt
70da45e
account locking
a1f73a7
updates
0351f2f
more work
b035f15
Revert: interface is fixed
fe181dc
Fix batch creation
0f2be4e
Log some errors
0bb5e8a
Add some details
fb3cfce
Fix locking
aa4d21e
Name changes
5301606
Move container cleaning to BufferAndReceive
7cbb827
Don't thrash updates
657274d
Simplify
99b0c7a
Don't send back info if not requested
c6bbec8
Remove comment
2fa1353
make sure to drain and send back
d4a048c
add deadline for receive and buffer
e860fd2
- Remove universal send-back
248170c
Remove sleeps
0772238
Add sleep for one
4123a2c
Remove
33b0322
rename to Jss Scheduler
df9e3e5
Have JSS Scheduler deal with slot boundary
8b0736d
fmt
5a88622
Big changes
edd93e9
Small fixes
5701304
Remove collect
b6295ad
Fix compilation
de36835
fix locking?
e80f1a3
Don't wait so long with deadline
d1a89a2
Add limit
b53c312
Fix locking more?
7a734af
1:1 bundle result
73de20c
Real locking fix?
13a91ef
Update hard-coded value
8c9ef76
Fix bundle ordering
1a67cfe
Enable/disable scheduling depending on which scheduler you're in
805934d
Fix format
7c6569e
Another fix
61adb4f
Don't panic
42ea712
More don't panic
93f961c
Prevent eternal locking
c9704a0
Change order or slot boundary
2880e41
Some changes
c0e3e51
Update QoS on lock error
9366fa1
- Improve dumb worker selection
5ceca4b
Refresh builder config in the background
a416bd4
- jss_connection refactoring
8533f7f
Refactor bundle result (in preparation)
263b121
fmt
629c639
Prep for fail reasons
586e0fa
Use enum instead of string
9c004b3
cleaner code for revert_on_error
594098a
Send transaction not commit reasons
3a0247d
Remove some logs
8f5d744
Update metrics
3ce757d
- Create non-conflicting batches for every batch (not just revert on …
73dd2e5
small
41161a1
Even smaller?
9ab85bf
remove
ba96272
refactor in prep
69e9c9a
- decouple consumer batch from single bundle/txn
61cc95c
fmt
21f0fcb
More refactor
e4fdcc6
- Schedule individual txns as batch
e0281cf
Fix scheduling
d2c333b
Bubble up deserialization error
7b4bc51
- Custom validation logic for bundles
d2f0b18
- Remove log
943ce3f
Add protos
7e52a7e
Update accounts.rs
dgski 8ee7134
fix bench
639dfde
fmt
f4b89cc
clippy fixes
e2507c2
fmt
b58a66c
Some PR comments addressed
c05232f
More PR comments
79300d1
Change to 24
f119d5d
- Address some PR comments
34272ce
Fix compilation
8c2605c
fmt
a6597fb
Small change
c1beba9
fmt
b537b8a
small changes
c33df4b
Fix?
f7eed81
Move to top
73b8d26
- Mirror checks via comments
f47a72d
WIP tests
44e415a
Add tests to jss_receive_and_buffer + refactor
2dae8fd
WIP jss_scheduler tests
d447d5d
Finish jss_scheduler test
5b77182
Add work count checks
b1d0b63
Pr comment
95b07da
pr comment
237679a
- Log stream error
360fde3
- Prevent duplicate transactions
fdac58c
Add slot protection
ede3b30
small update
d2e0b23
Make sure to unblock
a08f2fa
Update core/src/banking_stage/consumer.rs
dgski 9db9d10
bump
f85d6be
update protos
299e880
Update
949c0d8
drain channel
30e3f5d
Change to 100ms
3c38396
Update
2e5d849
fix
a52d635
No tip processing for vote threads
b5815e3
No need for jss_enabled in receive_and_buffer
0e8b5fe
fmt
b6b4b26
Comments
52ac7b3
Small tweaks
08b5e93
exit from first error when parsing bundle
c3ddf92
Remove un-needed check
2fb446c
Reusable buffer for hash duplicate check
cb493e7
- boost threads
55ac0cb
- Use SmallVec for transaction batches
3eac28e
Fix test
fae36c0
add datapoint error
0e2da26
Re-usable hashsets for conflicting batch creation
9541d62
Fix account locking batch
21a58a4
Fix tests
e954400
- Start with jss_enabled=true
888c968
- validate JSS url
da70299
Prevent even more allocations
554ad9e
All memory re-used in jss_scheduler
e2a7a75
Use versioned messages
a145c62
The great renaming (part 1)
37105b0
Fix tests
386028c
Use new names
74fe44c
fmt
b6b3601
Update core/src/bam_manager.rs
dgski 077333d
Initial simplified version
f1fa872
fmt
a32b3b3
Add actual transaction submission
6844c86
Add some logs
9632bab
fmt
87cdf13
More work
444b3d7
Fix conditional
d823b08
Improve
f488170
Add logs
5abd612
Add prio-fees
e379f44
Update core/src/bam_payment.rs
dgski 3c454e3
Use different way to get current slot
88d5103
revert
eaf605e
Add error log
56d7d9b
Fix
6811efe
Create batching
b57533c
Update
4a5a813
fmt
0872376
Remove newline
8491a35
Update
ba0d561
Better dedup
962df19
Add another log
c0b4386
More changes
c74d1c9
Log signature
07e5c31
Log signature
00de635
refactor
7da974f
Small fixes
506abf1
Merge pull request #67 from jito-labs/dg/v2.2_jss_minimal_fee_collect…
dgski 7eb1168
Use new protos
dc02e1f
enforce comission
788f0a6
small fix
0e6977d
Merge pull request #69 from jito-labs/dg/v2.2_protoupdate
dgski cb8a7df
Merge branch 'v2.2' into dg/v2.2_jss_minimal
5999d9e
merge fix
33e28bd
delete tip-distributor
c046e8c
Remove dup + fmt
c101244
Remove print
597665b
Cargo.lock
e3a5d16
linter
2dc3203
small changes
7a9cf4b
Revert name change
f708334
Update to bam-protos
d224288
Fix url
2cdc601
Update ordering
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 hidden or 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 hidden or 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.