forked from solana-labs/solana
-
Notifications
You must be signed in to change notification settings - Fork 0
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
WIP: SyscallGetEpochStake #19
Closed
Closed
Conversation
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
b7eb352
to
1a6e65e
Compare
1a6e65e
to
19be111
Compare
19be111
to
767e418
Compare
…#877) cli: add additional buffer validation checks
…bs#818) * add hot storage test for test_partial_clean * fix test_partial_clean for hot storage * reviews --------- Co-authored-by: HaoranYi <[email protected]>
…ana-labs#831) * runtime: core bpf migration: add `source_buffer` module * make `new_target_program_` helpers bank methods * rename `source_program_id` to `source_buffer_address` * replace `SourceUpgradeableBpf` with `SourceBuffer` in migration config * drop `source_upgradeable_bpf` module * use constants for offsets everywhere * clean up serialization
Working towards migrating to the new contact-info, the commit expands api parity between the legacy and the new one.
Limit max concurrent connections
Merkle shreds sign the Merkle root of the erasure batch, so all shreds within the same erasure batch have the same signature. The commit improves shreds signature verification by adding an LRU cache.
* load account lifetime improvements * restore 2 check_and_
…solana-labs#842) check for empty points submission before calling writer.write Co-authored-by: HaoranYi <[email protected]>
…a-labs#810) Instead of sending accounts individually, send batches of accounts for background hashing. Before this change we used to send accounts individually, and the background thread used to do: loop { let account = receiver.recv(); account.hash(); // go back to sleep in recv() } Because most accounts are small and hashing them is very fast, the background thread used to sleep a lot, and required many syscalls from the sender in order to be woken up. Batching reduces the number of syscalls.
hot storage tests us callback
… or op id on curve25519 syscalls (solana-labs#412)
Outside of gossip, LegacyContactInfo is only used in some deprecated requests in repair service. Since these repair requests are no longer used and in order to fully deprecate LegacyContactInfo, this commit removes instances of LegacyContactInfo from repair service. The commit also strips all fields from RepairProtocol::Legacy... enum variants because we only need the enum identifier for backward compatibility.
* Unignore test * Don't extend program accounts by default on test that expects them not to
* Flip no_extend to auto_extend * Apply suggestions from code review Co-authored-by: Joe C <[email protected]> --------- Co-authored-by: Joe C <[email protected]>
…abs#1084) * rename submodule `fee` with `percentage_with_cap` * rename `FeeSigmaProof` type to `PercentageWithCapProof` * rename `FeeMaxProof` and `FeeEqualityProof` with `PercentageMaxProof` and `PercentageEqualityProof` * remove `fee` from the variable names * remove `fee` from function names * rename `FeeSigmaProofVerificationError` to `PercentageWithCapVerificationError` * flatten out function arguments * update docs/comments * update test names * clippy
replace use of `all_accounts`
…1089) LegacyContactInfo is deprecated and no longer used outside of the gossip crate. The commit removes LegacyContactInfo from the public interface.
ignore test_hard_fork_with_gap_in_roots test
remove `accounts()` and `all_accounts()`
…1128) The new contact-info embeds client version and can be used directly to lookup the client version.
767e418
to
66d1534
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
WIP of a new syscall to get the current epoch stake of some vote account,
to be used by the Feature Gate program.