-
Notifications
You must be signed in to change notification settings - Fork 94
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
score-all command #119
Open
luciotato
wants to merge
45
commits into
solana-foundation:master
Choose a base branch
from
marinade-finance:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+708
−57
Open
score-all command #119
Changes from 1 commit
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
c405573
make stake pool optional, score-all command
luciotato fc01071
generate validator-detail.csv
luciotato 697502f
Merge branch 'solana-labs:master' into scorer
luciotato 3e0b405
skip heavy rpc-call, ensure all validators scored
luciotato c6758e4
Merge
luciotato f56159c
compute score
luciotato bd6464f
scripts
luciotato a700608
parametrize score, do not combine with --confirm
luciotato 1f82f09
fix score-all arguments
luciotato b562d35
score-all command
luciotato a4b97a2
add vote-address
luciotato b9299ca
do not include .vscode
luciotato a9f3716
Merge master
luciotato 4b78d56
Merge upstream into solana-labs-master
luciotato d4e4d49
Merge branch 'solana-labs-master'
luciotato 4fdaed2
remove comment block as requested
luciotato f971ff4
make stake pool optional, score-all command
luciotato 4608fa9
skip heavy rpc-call, ensure all validators scored
luciotato 8a3df58
add vote-address
luciotato 004b7bd
remove comment block as requested
luciotato 528d339
Merge origin
luciotato c55c904
remove unused var
luciotato 351f31d
act on recommendation - db backward compat
luciotato e7aa268
add average-position, recompute score every time
luciotato 6eb887e
fix csv headers
luciotato d6c5dc5
score-all mainnet
luciotato 480b52b
set limit to 33%
luciotato f3651d4
include 1st outside sec-group
luciotato 8be79ad
apply commission discount to credits more fairly
luciotato 1817d01
better name for table field
luciotato 2a58220
add validator-name, min-avg-position
luciotato dd30b2b
select top X validators
luciotato 8028451
tilt towards high average
luciotato c8bdc27
apply data-center concentration penalty
luciotato 72824f3
take TOP 200 validators
luciotato 04738cb
add comments to sql processing
luciotato 92e3c43
new field adj_credits
luciotato 28943a5
add active stake
luciotato 4caeccd
move to avg last 5 epochs
luciotato bab763f
set score=0 if stake<100
luciotato 81bbd28
extend score cut to top 250
luciotato 879de8d
sql-utils
luciotato 03c8bc9
include last validator in nakamoto coeff
luciotato 6fff2be
Dockerized (#3)
janlegner d4798c6
Fixed double quotes escaping
janlegner 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ | |
/registry-cli | ||
/db | ||
test-ledger/ | ||
.vscode |
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In order to avoid breaking the existing database entries, the new fields here need to each be wrapped in an
Option<>
. You might find it easier to move them all out into a single struct and wrap anOption
around just that struct