Jeff Washington (jwash)
a44b080b7f
add partitioned_rewards_feature_enabled ( #32115 )
2023-06-14 07:47:12 -07:00
Jeff Washington (jwash)
1fa73e778f
add deactivate_epoch_reward_status ( #32114 )
2023-06-14 07:46:34 -07:00
Jeff Washington (jwash)
2968587d42
add compare_with_partitioned_rewards ( #32108 )
2023-06-14 07:43:09 -07:00
HaoranYi
ffe4c06a19
Add epoch_reward sysvar ( #32049 )
...
* Add epoch_reward sysvar
* Apply suggestions from code review
Co-authored-by: Brooks <brooks@prumo.org>
* remove new from EpochRewards
* remove copy test
* Apply suggestions from code review
Co-authored-by: Jon Cinque <joncinque@pm.me>
Co-authored-by: Tyera <teulberg@gmail.com>
* reviews
---------
Co-authored-by: HaoranYi <haoran.yi@solana.com>
Co-authored-by: Brooks <brooks@prumo.org>
Co-authored-by: Jon Cinque <joncinque@pm.me>
Co-authored-by: Tyera <teulberg@gmail.com>
2023-06-14 08:41:26 -05:00
Alexander Meißner
3b0b0ba07d
Cleanup - filter_votes_outside_slot_hashes ( #31760 )
...
filter_votes_outside_slot_hashes
2023-06-14 01:31:27 +02:00
Jeff Washington (jwash)
67a434fc5b
add calculate_rewards_for_partitioning ( #32110 )
2023-06-13 15:45:59 -07:00
Trent Nelson
077e29aa1e
bank_send_loop: Reduce feature flag polling frequency
2023-06-13 15:51:50 -06:00
Ashwin Sekar
dd379bfad8
bank_send_loop: Get feature flag from root bank
2023-06-13 15:51:50 -06:00
Jeff Washington (jwash)
65268af497
pass get_reward_interval to load_accounts ( #32084 )
2023-06-13 14:49:07 -07:00
Jeff Washington (jwash)
9774826b08
add calculate_validator_rewards ( #32107 )
2023-06-13 14:45:19 -07:00
Jeff Washington (jwash)
dcd66534dd
add partitioned rewards helpers ( #32085 )
...
* add partitioned rewards helpers
* remove pub(crate)
* credit -> distribution
2023-06-13 13:57:52 -07:00
Jeff Biseda
667b2053a7
rationalize repair type min/max metrics ( #31805 )
2023-06-13 13:34:31 -07:00
dependabot[bot]
902d8b73fe
Bump borsh from 0.10.3 to 0.11.0 ( #31964 )
...
* Bump borsh from 0.10.3 to 0.11.0
Bumps [borsh](https://github.com/near/borsh-rs ) from 0.10.3 to 0.11.0.
- [Release notes](https://github.com/near/borsh-rs/releases )
- [Changelog](https://github.com/near/borsh-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/near/borsh-rs/compare/borsh-v0.10.3...borsh-v0.11.0 )
---
updated-dependencies:
- dependency-name: borsh
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* [auto-commit] Update all Cargo lock files
* Add allow line
* Move warning line
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
Co-authored-by: Jon Cinque <joncinque@pm.me>
2023-06-13 21:45:45 +02:00
behzad nouri
3ddb8babc8
adds const SOCKET_ADDR_UNSPECIFIED ( #32102 )
...
const socket-addr is stable since rust 1.69.0
2023-06-13 19:34:59 +00:00
Jeff Washington (jwash)
0762e69863
remove build error from merge ( #32104 )
2023-06-13 12:33:40 -07:00
Tim Garcia
bcacb32cbc
[docs] Validator guidebook incorporated into docs ( #31660 )
...
* docs: adding multiple pages in from the guidebook
* fix: minor updates to the rpc node setup page
* fix: added known validators info to the rpc page
* docs: added best practices pages
* fix: updated internal linking
* docs: added faq page and update links
* Expanding the validator FAQ, updating hardware req
* Updates to validator setup
* Fixed broken RPC API links
* Remove GPU reqs, clarify install best practices
* Updating neworking requirements in validator reqs
* Removing trailing white spaces
* Removing systuner usage from docs
* ssh authentication note, more on withdrawls
* Adding feedback from educational workshop
* Details on system clock, cpu freq, validator set
* add link to gossip for clock drift system req
Co-authored-by: Nick Frostbutter <75431177+nickfrosty@users.noreply.github.com>
* Update docs/src/validator/best-practices/monitoring.md
Co-authored-by: Nick Frostbutter <75431177+nickfrosty@users.noreply.github.com>
* clarification on monitoring docs
Co-authored-by: Nick Frostbutter <75431177+nickfrosty@users.noreply.github.com>
* adding a reference to the hardware requirements
Co-authored-by: Nick Frostbutter <75431177+nickfrosty@users.noreply.github.com>
* fixing link to clusters page
Co-authored-by: Nick Frostbutter <75431177+nickfrosty@users.noreply.github.com>
* typo fix
Co-authored-by: Nick Frostbutter <75431177+nickfrosty@users.noreply.github.com>
* Update docs/src/validator/get-started/setup-a-validator.md
Co-authored-by: Nick Frostbutter <75431177+nickfrosty@users.noreply.github.com>
* Update docs/src/validator/best-practices/monitoring.md
Co-authored-by: Nick Frostbutter <75431177+nickfrosty@users.noreply.github.com>
* Update docs/src/validator/best-practices/monitoring.md
Co-authored-by: Nick Frostbutter <75431177+nickfrosty@users.noreply.github.com>
* Referencing the validator health report
* Removed trailing whitespace
---------
Co-authored-by: nickfrosty <nfrostbutter@gmail.com>
Co-authored-by: Nick Frostbutter <75431177+nickfrosty@users.noreply.github.com>
2023-06-13 14:11:37 -05:00
Jeff Washington (jwash)
3fc183ca74
add calculate_stake_vote_rewards for partitioned rewards ( #32066 )
...
* add calculate_stake_vote_rewards for partitioned rewards
* check stake reward in test
* pr feedback
* add comment
---------
Co-authored-by: HaoranYi <haoran.yi@solana.com>
2023-06-13 11:53:30 -07:00
Jeff Washington (jwash)
446b82afba
update comment ( #32099 )
2023-06-13 10:54:38 -07:00
Jeff Washington (jwash)
7c5c70a522
add compare_with_partitioned_rewards_results for testing partitioned rewards ( #32086 )
2023-06-13 07:39:46 -07:00
Nick Frostbutter
b1a303c8bf
[docs] signatureSubscribe wording tweaks ( #31996 )
...
* fix: minor tweaks
* refactor: updating wording
* Update docs/src/api/websocket/_signatureSubscribe.mdx
Co-authored-by: Steven Luscher <steveluscher@users.noreply.github.com>
---------
Co-authored-by: Steven Luscher <steveluscher@users.noreply.github.com>
2023-06-13 14:22:22 +00:00
samkim-crypto
b361fdd399
[zk-token-sdk] Update transcript functions to use full names ( #32095 )
...
* fully specify transcript function names `sep` to `separator`
* update names in `sigma_proofs`
* update names in `range_proof`
* update grouped ciphertext validity proofs with new full name
2023-06-13 14:52:15 +09:00
samkim-crypto
84e28c27f3
[zk-token-sdk] Refactor ciphertext validity sigma proof and rename `ValidityProof` to `GroupedCiphertextValidityProof` ( #32040 )
...
* rename `CiphertextValidityProof` to `GroupedCiphertext2HandlesValidityProof`
* rename `AggregatedValidityProof` to `BatchedGroupedCiphertext2HandlesValidityProof`
* refactor `validity_proof` module into separate modules
* update test names
* update `aggregated` variable names
* update transcript function names
* Update zk-token-sdk/src/sigma_proofs/batched_grouped_ciphertext_validity_proof.rs
Co-authored-by: Tyera <teulberg@gmail.com>
* Update zk-token-sdk/src/sigma_proofs/grouped_ciphertext_validity_proof.rs
Co-authored-by: Tyera <teulberg@gmail.com>
* Reword constructor docs
---------
Co-authored-by: Tyera <teulberg@gmail.com>
2023-06-13 12:06:24 +09:00
samkim-crypto
57a89a7ec8
[docs] Add zk token proof program description ( #32011 )
2023-06-13 11:13:51 +09:00
samkim-crypto
c10d3d12a8
[zk-token-sdk] rename `TransferAmountEncryption` to `TransferAmountCiphertext` and define it as a wrapper around `GroupedElGamalCiphertext` ( #32026 )
...
* define `TransferAmountEncryption` as a wrapper around `GroupedElGamalCiphertext`
* implement `From<GroupedElGamalCiphertext<3>>` for `GroupedElGamalCiphertext3Handles`
* define pod `TransferAmountEncryption` as a wrapper around pod `GroupedElGamalCiphertext3Handles`
* derive `Copy`, `Debug`, `Eq`, and `PartialEq` traits for `TransferAmountEncryption`
* rename `TransferAmountEncryption` to `TransferAmountCiphertext`
* clippy
* fix target arch
* add comment on why it is safe to unwrap
2023-06-13 08:55:11 +09:00
Jeff Biseda
b06df6ad25
require repair request signature ( #31888 )
2023-06-12 16:47:03 -07:00
Andrew Fitzgerald
de927611f4
Bugfix: Account Shrink Paths must conform to account directory structure ( #32088 )
2023-06-12 16:42:35 -07:00
behzad nouri
ec0001ef85
adds code-path broadcasting shreds using QUIC ( #31610 )
...
adds quic connection cache to turbine
Working towards migrating turbine to QUIC.
2023-06-12 22:58:27 +00:00
Jeff Washington (jwash)
b89ce94d33
add store_vote_accounts_partitioned ( #32061 )
...
* add store_vote_accounts_partitioned
* pr feedback
2023-06-12 14:38:30 -07:00
Tao Zhu
9b2c9b8f5a
correct feature gate use_default_units_in_fee_calculation usage ( #32077 )
2023-06-12 16:29:21 -05:00
Jeff Washington (jwash)
4f677ff4f8
remove compiler warning ( #32081 )
2023-06-12 13:48:17 -07:00
Alexander Meißner
d0ae8c38bd
Fix - `enable_alt_bn128_syscall` ( #32083 )
...
* Fixes test_runtime_feature_enable_with_program_cache.
* Adds enable_alt_bn128_syscall to FEATURES_AFFECTING_RBPF.
2023-06-12 22:37:02 +02:00
Jeff Washington (jwash)
6280c63e1a
epoch rewards are stored partitioned as Vec<Vec< ( #32076 )
...
* epoch rewards are stored partitioned as Vec<Vec<
* update comment
2023-06-12 13:06:22 -07:00
Jeff Washington (jwash)
7e7c286d50
factor out get_epoch_reward_calculate_param_info to share results ( #32065 )
...
* factor out get_epoch_reward_calculate_param_info to share results
* remove extra comment
2023-06-12 09:56:08 -07:00
steviez
2e5b062809
Display path in error message when file create/write fails ( #32036 )
...
Using .unwrap() will panic and display the error; however, the path
isn't displayed which makes debugging harder.
2023-06-12 11:45:26 -05:00
Jeff Washington (jwash)
0645e96bc6
add calc_vote_accounts_to_store ( #32063 )
...
* add calc_vote_accounts_to_store
* update comment
2023-06-12 08:38:18 -07:00
Jeff Washington (jwash)
26f4c405b2
add update_reward_history_in_partition ( #32062 )
...
* add update_reward_history_in_partition
* remove explicit type
* remove spurrious comment
2023-06-12 08:37:46 -07:00
Jeff Washington (jwash)
b81a060898
add store_stake_accounts_in_partition ( #32060 )
...
* add store_stake_accounts_in_partition
* pr feedback on assert
2023-06-12 08:37:22 -07:00
Jeff Washington (jwash)
a001c5eb49
add calculate_reward_points_partitioned ( #32050 )
...
* add calculate_reward_points_partitioned
* remove unnecessary clone
* add comment
* clean up test from pr feedback
2023-06-12 08:36:42 -07:00
Jeff Washington (jwash)
37efc82a76
snapshot epoch reward fields tests ( #32064 )
2023-06-12 07:39:59 -07:00
Yihau Chen
021d2cdb71
fix: metrics deploy script ( #32074 )
...
fix: cert path
2023-06-12 22:15:09 +08:00
Yihau Chen
a52ca5d38e
fix: update metrics deploy script ( #32073 )
...
fix: cert path
2023-06-12 21:57:34 +08:00
Yihau Chen
40d1b2409b
ci: update metrics related deploying code ( #32072 )
2023-06-12 21:44:30 +08:00
behzad nouri
aed4ecb633
adds quic receiver to shred-fetch-stage ( #31576 )
...
Working towards migrating turbine to QUIC.
2023-06-12 13:16:27 +00:00
Gopye
1ff7b28abc
Docs/fix/transaction confirmation ( #32057 )
...
* docs: remove nonsense sentence
* docs: fix transaction confirmation link
2023-06-12 15:15:52 +02:00
Gopye
9a65d8fc31
docs: fix typo in the Versioned Transaction docs ( #32056 )
...
docs: fix typo
Co-authored-by: sean delaney <notunderground@protonmail.com>
2023-06-12 15:13:52 +02:00
Yihau Chen
da5c64d9bf
ci: update kapacitor config ( #32069 )
...
* add two new kapacitor post endpoints
* use kapacitor.sh to start
* add pager duty channels
* fix shell check
2023-06-12 20:23:44 +08:00
Brooks
391f650d77
Removes #![allow(dead_code)] from local-cluster/tests/common.rs ( #32058 )
2023-06-12 08:10:56 -04:00
Jeff Washington (jwash)
2572df7452
stake tests modification: next_epoch_and_n_slots ( #32052 )
...
stake tests modification: next_epoch_and_n_slots
2023-06-11 12:26:16 -07:00
mvines
129b457c99
Remove StakeInstruction::DeactivateDelinquent featurization ( #32045 )
2023-06-09 22:56:13 -04:00
Andrew Fitzgerald
450e7c2395
rename MAX_NUM_TRANSACTIONS_PER_BATCH ( #32023 )
2023-06-09 15:05:28 -07:00