Skip to content

Commit

Permalink
Updated to v1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jclapis committed Jul 24, 2023
1 parent 1641d06 commit db7d5f9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ Options:
--ruleset value, -r value The ruleset to use during generation. If not included, treegen will use the default ruleset for the network based on the rewards interval at the chosen block. Default of 0 will use whatever the ruleset specified by the network based on which block is being targeted. (default: 0)
--network-info, -n If provided, this will simply print out info about the network being used, the current rewards interval, and the current ruleset. (default: false)
--approximate-only, -a Approximates the rETH stakers' share of the Smoothing Pool at the current block instead of generating the entire rewards tree. Ignores -i. (default: false)
--use-rolling-records, -rr Enable the rolling record capability of the Smartnode tree generator. Use this to store and load record caches instead of recalculating attestation performance each time you run treegen. (default: false)
```


Expand All @@ -55,6 +56,7 @@ Options:
--ruleset value, -r value The ruleset to use during generation. If not included, treegen will use the default ruleset for the network based on the rewards interval at the chosen block. Default of 0 will use whatever the ruleset specified by the network based on which block is being targeted. (default: 0)
--network-info, -n If provided, this will simply print out info about the network being used, the current rewards interval, and the current ruleset. (default: false)
--approximate-only, -a Approximates the rETH stakers' share of the Smoothing Pool at the current block instead of generating the entire rewards tree. Ignores -i. (default: false)
--use-rolling-records, -rr Enable the rolling record capability of the Smartnode tree generator. Use this to store and load record caches instead of recalculating attestation performance each time you run treegen. (default: false)
```

NOTE: Do *not* use the `-o` flag if you are using this script, as it is already built into the script.
Expand Down
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
)

const (
version string = "1.3.0"
version string = "1.4.0"
colorReset string = "\033[0m"
colorRed string = "\033[31m"
)
Expand Down Expand Up @@ -92,7 +92,7 @@ func main() {
&cli.BoolFlag{
Name: "use-rolling-records",
Aliases: []string{"rr"},
Usage: "Enable the in-development rolling record capability of the Smartnode tree generator. Only use if you know what you're doing.",
Usage: "Enable the rolling record capability of the Smartnode tree generator. Use this to store and load record caches instead of recalculating attestation performance each time you run treegen.",
Value: false,
},
&cli.StringFlag{
Expand Down

0 comments on commit db7d5f9

Please # to comment.