You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Smart Node is an open-source project that welcomes community contributions.
3
+
4
+
## Roles
5
+
Smart Node has three roles: Owner, Maintainers, and Contributors.
6
+
7
+
### Owner
8
+
The Owner has final say in settling disputes and making executive decisions when consensus cannot be reached. Currently, the Owner is @0xfornax.
9
+
10
+
### Maintainers
11
+
Maintainers are team or community members who contribute routinely. The Owner is also a Maintainer. Current Maintainers:
12
+
-@0xfornax
13
+
-@thomaspanf
14
+
-@jshufro
15
+
16
+
Smart Node was previously maintained by @jclapis and @moles1
17
+
18
+
### Contributors
19
+
Contributors are community members who have submitted merged pull requests with some regularity. They are too numerous to list individually.
20
+
21
+
## Good Practices
22
+
- Adhere to golang best practices. See [Effective Go](https://golang.org/doc/effective_go.html) for a good starting point.
23
+
- Adhere to broader coding practices, such as DRY, POLA, Avoid Deep Nesting, etc.
24
+
- New code should be unit tested when possible.
25
+
- Write self-documenting code when possible, and add comments when necessary.
26
+
27
+
## Pull Requests
28
+
- Each PR should represent a single feature, bugfix, or non-functional change.
29
+
- Owners and Maintainers may decide if a change is too small for peer review, but should still offer the opportunity for review by posting the PR for at least a day, unless urgent.
30
+
- Larger changes require at least one Maintainer's review.
31
+
- All Contributor PRs must be reviewed by a Maintainer.
32
+
- Commits should be groomed: each commit should compile, pass tests, and represent logical atomic progressions.
33
+
- History rewriting is permissible only while a PR is in DRAFT status, or after a Maintainer has approved the PR. Once a PR is approved, fixup commits should be rebased into the original commits.
34
+
35
+
## Licenses
36
+
Smart Node is licensed under GNU GPLv3, and all contributions must be made under the same license. See [LICENSE](LICENSE) for details.
Copy file name to clipboardExpand all lines: README.md
-2Lines changed: 0 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -88,8 +88,6 @@ The following commands are available via the Smartnode client:
88
88
-`rocketpool node deposit, d` - Make a deposit and create a minipool
89
89
-`rocketpool node create-vacant-minipool, cvm` - Create an empty minipool, which can be used to migrate an existing solo staking validator as part of the 0x00 to 0x01 withdrawal credentials upgrade
90
90
-`rocketpool node send, n` - Send ETH or tokens from the node account to an address. ENS names supported. <token> can be 'rpl', 'eth', 'fsrpl' (for the old RPL v1 token), 'reth', or the address of an arbitrary token you want to send (including the 0x prefix).
91
-
-`rocketpool node set-voting-delegate, sv` - Set the address you want to use when voting on Rocket Pool governance proposals on Snapshot, or the address you want to delegate your voting power to.
92
-
-`rocketpool node clear-voting-delegate, cv` - Remove the address you've set for voting on Rocket Pool governance proposals.
93
91
-`rocketpool node initialize-fee-distributor, z` - Create the fee distributor contract for your node, so you can withdraw priority fees and MEV rewards after the merge
94
92
-`rocketpool node distribute-fees, b` - Distribute the priority fee and MEV rewards from your fee distributor to your withdrawal address and the rETH contract (based on your node's average commission)
95
93
-`rocketpool node join-smoothing-pool, js` - Opt your node into the Smoothing Pool
Usage: "Set the address you want to use when voting on Rocket Pool Snapshot governance proposals, or the address you want to delegate your voting power to.",
520
+
Usage: "(DEPRECATED) Use `rocketpool pdao set-signalling-address` instead",
519
521
ArgsUsage: "address",
520
-
Flags: []cli.Flag{
521
-
cliutils.YesFlag,
522
-
},
523
522
Action: func(c*cli.Context) error {
524
-
// Validate args
525
-
utils.ValidateArgCount(c, 1)
526
-
delegate:=c.Args().Get(0)
527
523
528
524
// Run
529
-
returnnodeSetVotingDelegate(c, delegate)
525
+
fmt.Println("(DEPRECATED) Use `rocketpool pdao set-signalling-address` instead.")
526
+
fmt.Println("For more information, please refer to the Governance article on Medium (https://medium.com/rocket-pool/rocket-pool-protocol-dao-governance-a3c3e92904e0).")
527
+
returnnil
530
528
},
531
529
},
532
530
{
533
531
Name: "clear-voting-delegate",
534
532
Aliases: []string{"cv"},
535
-
Usage: "Remove the address you've set for voting on Rocket Pool governance proposals.",
536
-
Flags: []cli.Flag{
537
-
cliutils.YesFlag,
538
-
},
533
+
Usage: "(DEPRECATED) Use `rocketpool pdao clear-signalling-address` instead",
539
534
Action: func(c*cli.Context) error {
540
-
// Validate args
541
-
utils.ValidateArgCount(c, 0)
542
535
543
536
// Run
544
-
returnnodeClearVotingDelegate(c)
537
+
fmt.Println("(DEPRECATED) Use `rocketpool pdao clear-signalling-address` instead.")
538
+
fmt.Println("For more information, please refer to the Governance article on Medium (https://medium.com/rocket-pool/rocket-pool-protocol-dao-governance-a3c3e92904e0).")
// No submission needed: target block older or equal to the last submission
123
107
returnnil
124
108
}
125
109
126
-
// Check if the required epoch is finalized yet
127
-
targetEpoch:=slotNumber/eth2Config.SlotsPerEpoch
128
-
beaconHead, err:=t.bc.GetBeaconHead(t.ctx)
129
-
iferr!=nil {
130
-
returnerr
131
-
}
132
-
finalizedEpoch:=beaconHead.FinalizedEpoch
133
-
iftargetEpoch>finalizedEpoch {
134
-
t.logger.Info("Prices must be reported, waiting until target Epoch is finalized.", slog.Uint64(keys.BlockKey, targetBlockNumber), slog.Uint64(keys.TargetEpochKey, targetEpoch), slog.Uint64(keys.FinalizedEpochKey, finalizedEpoch))
0 commit comments