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

feat: time based settlements #1711

Merged
merged 16 commits into from
May 17, 2021
Merged

feat: time based settlements #1711

merged 16 commits into from
May 17, 2021

Conversation

ralph-pichler
Copy link
Member

@ralph-pichler ralph-pichler commented May 14, 2021

This change is Reviewable

@ralph-pichler ralph-pichler force-pushed the time_settle_sync branch 2 times, most recently from a6a3748 to 8433d93 Compare May 15, 2021 17:01
@ralph-pichler ralph-pichler force-pushed the async_settlement branch 2 times, most recently from d86278f to 324133d Compare May 15, 2021 17:04
@ralph-pichler ralph-pichler changed the title time based settlements feat: time based settlements May 15, 2021
@ralph-pichler ralph-pichler force-pushed the time_settle_sync branch 11 times, most recently from cd54501 to e9e591b Compare May 16, 2021 09:05
@ralph-pichler ralph-pichler marked this pull request as ready for review May 16, 2021 09:05
@ralph-pichler ralph-pichler force-pushed the time_settle_sync branch 2 times, most recently from a101ae8 to 951b3a8 Compare May 16, 2021 16:34

router.Handle("/settlements/{peer}", jsonhttp.MethodHandler{
"GET": http.HandlerFunc(s.peerSettlementsHandler),
router.Handle("/pseudosettlements", jsonhttp.MethodHandler{
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's give this variable (user-exposed) a more proper name. We can leave the internal names at pseudosettlements.

suggestion: timesettlements

Copy link
Member Author

Choose a reason for hiding this comment

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

done

pkg/accounting/accounting.go Outdated Show resolved Hide resolved
pkg/accounting/accounting.go Outdated Show resolved Hide resolved
pkg/accounting/accounting.go Outdated Show resolved Hide resolved
@metacertain metacertain added the ready for review The PR is ready to be reviewed label May 17, 2021
Base automatically changed from async_settlement to master May 17, 2021 08:55
Copy link
Contributor

@Eknir Eknir left a comment

Choose a reason for hiding this comment

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

lgtm. Reviewed together with @anatollupacescu .

@ralph-pichler ralph-pichler merged commit c1e87ce into master May 17, 2021
@ralph-pichler ralph-pichler deleted the time_settle_sync branch May 17, 2021 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pull-request ready for review The PR is ready to be reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants