Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Conversation

@hmoog
Copy link
Contributor

@hmoog hmoog commented Jun 21, 2022

Description of change

This PR implements the scheduler for the experimental manaverse tokenomics.

Type of change

  • Enhancement (a non-breaking change which adds functionality)

Change checklist

  • My code follows the contribution guidelines for this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

@hmoog hmoog marked this pull request as draft June 22, 2022 11:08

// Compare is a comparator for Blocks.
func (m *Message) Compare(other *Message) int {
if m.BurnedMana() < other.BurnedMana() {

Choose a reason for hiding this comment

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

in bucket compare, used a switch, why not here? please maintain code style.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants