Skip to content
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

Daily rewards for active nodes #1064

Open
wants to merge 26 commits into
base: main
Choose a base branch
from

Conversation

Neeharika-Sompalli
Copy link
Member

Creates a HIP for proposing daily rewards for active nodes

Copy link

netlify bot commented Oct 17, 2024

Deploy Preview for hedera-hips ready!

Name Link
🔨 Latest commit 137f664
🔍 Latest deploy log https://app.netlify.com/sites/hedera-hips/deploys/67474307efbc0f0008c5fe02
😎 Deploy Preview https://deploy-preview-1064--hedera-hips.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

HIP/hip-1064.md Outdated Show resolved Hide resolved
HIP/hip-1064.md Outdated Show resolved Hide resolved
HIP/hip-1064.md Outdated Show resolved Hide resolved
Copy link
Member

@jsync-swirlds jsync-swirlds left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some wording improvements, a few suggestions for different arrangement, and improvements to specification protocol buffer text.

HIP/hip-1064.md Outdated Show resolved Hide resolved
HIP/hip-1064.md Show resolved Hide resolved
HIP/hip-1064.md Outdated Show resolved Hide resolved
HIP/hip-1064.md Outdated Show resolved Hide resolved
HIP/hip-1064.md Outdated Show resolved Hide resolved
HIP/hip-1064.md Outdated Show resolved Hide resolved
HIP/hip-1064.md Outdated Show resolved Hide resolved
HIP/hip-1064.md Outdated Show resolved Hide resolved
HIP/hip-1064.md Outdated Show resolved Hide resolved
HIP/hip-1064.md Outdated Show resolved Hide resolved
HIP/hip-1064.md Outdated Show resolved Hide resolved
jsync-swirlds
jsync-swirlds previously approved these changes Oct 18, 2024
HIP/hip-1064.md Outdated Show resolved Hide resolved
netopyr
netopyr previously approved these changes Oct 21, 2024
Copy link
Contributor

@netopyr netopyr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - thanks @Neeharika-Sompalli

Signed-off-by: Neeharika-Sompalli <[email protected]>
Signed-off-by: Neeharika-Sompalli <[email protected]>
Signed-off-by: Neeharika-Sompalli <[email protected]>
Signed-off-by: Neeharika-Sompalli <[email protected]>
Signed-off-by: Neeharika-Sompalli <[email protected]>
Signed-off-by: Neeharika-Sompalli <[email protected]>
Neeharika-Sompalli and others added 15 commits November 7, 2024 13:03
Signed-off-by: Neeharika-Sompalli <[email protected]>
Co-authored-by: Joseph S. <[email protected]>
Signed-off-by: Neeharika Sompalli <[email protected]>
Signed-off-by: Neeharika-Sompalli <[email protected]>
Co-authored-by: Joseph S. <[email protected]>
Signed-off-by: Neeharika Sompalli <[email protected]>
Signed-off-by: Neeharika-Sompalli <[email protected]>
Co-authored-by: Joseph S. <[email protected]>
Signed-off-by: Neeharika Sompalli <[email protected]>
Signed-off-by: Neeharika-Sompalli <[email protected]>
Co-authored-by: Joseph S. <[email protected]>
Signed-off-by: Neeharika Sompalli <[email protected]>
Signed-off-by: Neeharika-Sompalli <[email protected]>
Co-authored-by: Joseph S. <[email protected]>
Signed-off-by: Neeharika Sompalli <[email protected]>
Signed-off-by: Neeharika-Sompalli <[email protected]>
Co-authored-by: Joseph S. <[email protected]>
Signed-off-by: Neeharika Sompalli <[email protected]>
Signed-off-by: Neeharika-Sompalli <[email protected]>
Co-authored-by: Joseph S. <[email protected]>
Signed-off-by: Neeharika Sompalli <[email protected]>
Signed-off-by: Neeharika-Sompalli <[email protected]>
Co-authored-by: Joseph S. <[email protected]>
Signed-off-by: Neeharika Sompalli <[email protected]>
Signed-off-by: Neeharika-Sompalli <[email protected]>
Co-authored-by: Joseph S. <[email protected]>
Signed-off-by: Neeharika Sompalli <[email protected]>
Signed-off-by: Neeharika-Sompalli <[email protected]>
Co-authored-by: Joseph S. <[email protected]>
Signed-off-by: Neeharika Sompalli <[email protected]>
Signed-off-by: Neeharika-Sompalli <[email protected]>
Signed-off-by: Neeharika-Sompalli <[email protected]>
Signed-off-by: Neeharika-Sompalli <[email protected]>
Signed-off-by: Neeharika-Sompalli <[email protected]>
Copy link
Member

@jsync-swirlds jsync-swirlds left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A question about the added definition for judges.

HIP/hip-1064.md Show resolved Hide resolved
Copy link
Contributor

@tinker-michaelj tinker-michaelj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, ty @Neeharika-Sompalli !


- As a node operator, I expect to receive at least a minimum node reward when the node is active for at least
`nodes.activeRoundsPercent` rounds
- As a node operator, I do not expect to receive any node rewards when the node is not active for at least
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I understand this is following the usual pattern for use cases, but I find it weird nevertheless. How about something like:

"As a user of the network, I expect that non-active nodes do not receive any node rewards..."

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As a user of the network

Do you mean the node operator Michael?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, I meant any regular user. It sounds weird for me to have a use case saying that somebody does not expect a certain behavior. However, as a regular user, I expect that the money I spend is only used for active nodes.

It's not important, though. It is clear what the expected behavior is.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might be worthwhile to have both.
The current node operator use case, and another with text very similar to what @netopyr suggested.
It's good to be clear about expectations for both node operator and network user.

Copy link
Member Author

@Neeharika-Sompalli Neeharika-Sompalli Nov 13, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah makes sense. Thanks @netopyr . Added another use case

HIP/hip-1064.md Outdated

option java_package = "com.hederahashgraph.api.proto.java";
// <<<pbj.java_package = "com.hedera.hapi.node.state.token">>> This comment is special code for setting PBJ Compiler java package
option java_multiple_files = true;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should omit the header.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed. Thanks!

Signed-off-by: Neeharika-Sompalli <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants