Brooks
47ff3cecc9
Enables creating snapshots after booting from local state ( #32137 )
2023-06-15 22:54:32 -04:00
Jeff Washington (jwash)
b1b7ae5e09
cleanup math in distribute_partitioned_epoch_rewards ( #32164 )
2023-06-15 16:17:38 -07:00
Jeff Washington (jwash)
b4265217e6
update begin_partitioned_rewards to include sysvar ( #32151 )
...
* update begin_partitioned_rewards to include sysvar
* cleanup
2023-06-15 14:00:24 -07:00
Andrew Fitzgerald
a875562ccd
Funding transactions must specify data limit ( #32131 )
2023-06-15 18:53:04 +00:00
Jeff Washington (jwash)
d79b565c72
connect `begin_partitioned_rewards` to bank ( #32152 )
2023-06-15 11:51:10 -07:00
Andrew Fitzgerald
90812fac76
bench-tps tests use bank w/ all features enabled ( #32142 )
2023-06-15 17:38:39 +00:00
Ashwin Sekar
01d3546de0
Increment timestamp on refreshed votes ( #31908 )
2023-06-15 10:38:22 -07:00
Jeff Washington (jwash)
e7a676dc01
add distribute_partitioned_epoch_rewards ( #32124 )
...
* add distribute_partitioned_epoch_rewards
* reviews
* reanme
---------
Co-authored-by: HaoranYi <haoran.yi@solana.com>
2023-06-15 11:32:44 -05:00
Jeff Washington (jwash)
988bff93c8
deactivate_epoch_rewards_status burns sysvar ( #32143 )
...
* deactivate_epoch_reward_status burns sysvar
* warn to info
---------
Co-authored-by: HaoranYi <haoran.yi@solana.com>
2023-06-15 10:36:50 -05:00
Raza
eabe107066
[docs] Add beginner-friendly intro to Solana guide ( #31861 )
...
* Docs: Create intro to Solana guide
* Docs: Fix formatting on getstarted/overview
* Docs: Fix linter errors on getstarted/overview
2023-06-14 21:35:19 -05:00
Jon Cinque
bd4196b084
Revert "Bump borsh from 0.10.3 to 0.11.0 ( #31964 )" ( #32145 )
...
This reverts commit 902d8b73fe
.
2023-06-15 02:36:37 +02:00
hana
b60d12418f
impl Signers for Arc<dyn Signer> arrays ( #32136 )
2023-06-14 17:20:09 -07:00
Jeff Washington (jwash)
00b5c40122
add partitioned rewards sysvar fns ( #32128 )
2023-06-14 16:08:15 -07:00
Brooks
ae65b35d9b
Removes StakeInstruction::GetMinimumDelegation featurization ( #32121 )
2023-06-14 19:01:17 -04:00
hana
11f331764e
derive Clone for OutputFormat in cli-output ( #32138 )
2023-06-14 15:22:23 -07:00
Trent Nelson
26be1a3a0c
ci: discard misleading `cargo uninstall` errors in bk post-checkout hook ( #32139 )
2023-06-14 16:01:48 -06:00
Jeff Washington (jwash)
60e36afd42
add begin_partitioned_rewards ( #32116 )
...
* add begin_partitioned_rewards
* pr feedback
* Apply suggestions from code review
Co-authored-by: Brooks <brooks@prumo.org>
---------
Co-authored-by: HaoranYi <haoran.yi@gmail.com>
Co-authored-by: Brooks <brooks@prumo.org>
2023-06-14 14:24:49 -07:00
Tao Zhu
4b30454193
bench-tps add 1_000 as multiplier to compute-unit-price ( #32132 )
...
add 1_000 as multiplier to compute-unit-price
2023-06-14 14:50:18 -05:00
Jeff Washington (jwash)
088ac5ec01
add is_partitioned_rewards_code_enabled ( #32123 )
...
* add partitioned_rewards_code_enabled
* renames
2023-06-14 14:36:53 -05:00
Tao Zhu
e83a06d85e
set Transfer transaction loaded_accounts_data_size in bench-tps ( #32105 )
...
* set Transfer transaction loaded_accounts_data_size in bench-tps
* increase compute_unit_limit for additional ix
2023-06-14 13:30:43 -05:00
Brooks
8b25052978
Removes unnecessary call to `purge_old_bank_snapshots()` in local-cluster test ( #32111 )
2023-06-14 14:11:35 -04:00
Jeff Washington (jwash)
f487dfbc77
add distribute_epoch_rewards_in_partition ( #32125 )
2023-06-14 11:03:17 -07:00
Jeff Washington (jwash)
a1ce3cbaa3
partitioned rewards fn for tests: force_reward_interval_end_for_tests ( #32127 )
...
partitioned rewards fn for tests
2023-06-14 10:59:48 -07:00
Jeff Washington (jwash)
4eb7db8737
in testing, hash_internal_state ignores epoch_rewards_sysvar ( #32122 )
2023-06-14 10:57:29 -07:00
Jeff Washington (jwash)
9cf10b7aae
optionally compare with partitioned rewards ( #32126 )
2023-06-14 10:55:09 -07:00
CanardMandarin
2b5594a409
Fix minimum balance when deploying program ( #32129 )
2023-06-14 17:44:20 +00:00
Jeff Washington (jwash)
c01250fc58
add calculate_rewards_and_distribute_vote_rewards ( #32109 )
...
* add calculate_rewards_and_distribute_vote_rewards
* warn -> info
2023-06-14 08:38:25 -07:00
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