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

make Reaper accessible in Bot #89

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

maxime915
Copy link

This commit is a refactoring of the types bot, Bot, account, lurker, scanner and reaper (with mockReaper). The goal is to make reaper available outside the package (as #59 requests).
Detailed modifications:

  • Renaming "reaper" to "Reaper" to export the interface,
  • Exporting methods reap -> Reap,
    sow -> Sow, get_sow -> GetSow, rateBlock -> RateBlock,
  • Adding RateBlock to the new Reaper interface.
    To avoid breaking compatibility only private interface/type were modified, one interface was exported with a new method.
    No new tests were added : the exported methods are already tested and no new functionalities were added.

This commit is a refactoring of the types bot, Bot, account, lurker, scanner and reaper (with mockReaper). The goal is to make reaper available outside the package (as turnage#59 requests).
Detailed modifications:
- Renaming "reaper" to "Reaper" to export the interface,
- Exporting methods reap -> Reap,
sow -> Sow, get_sow -> GetSow, rateBlock -> RateBlock,
- Adding RateBlock to the new Reaper interface.
To avoid breaking compatibility only private interface/type were modified, one interface was exported with a new method.
No new tests were added : the exported methods are already tested and no new functionalities were added.
@CLAassistant
Copy link

CLAassistant commented Aug 23, 2021

CLA assistant check
All committers have signed the CLA.

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.

2 participants