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

Send invoice if threshold reached #2270

Merged
merged 1 commit into from
May 21, 2020
Merged

Conversation

vkuznecovas
Copy link
Contributor

Invoices will still be sent periodicly, but if a spike occurs an invoice now might be sent earlier.

Fixes #2255

Invoices will still be sent periodicly, but if a spike occurs an invoice now might be sent earlier.

Fixes #2255
@codecov-commenter
Copy link

codecov-commenter commented May 21, 2020

Codecov Report

Merging #2270 into master will increase coverage by 0.22%.
The diff coverage is 68.96%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2270      +/-   ##
==========================================
+ Coverage   47.73%   47.96%   +0.22%     
==========================================
  Files         273      273              
  Lines       12715    12775      +60     
==========================================
+ Hits         6070     6127      +57     
- Misses       6052     6058       +6     
+ Partials      593      590       -3     
Impacted Files Coverage Δ
config/flags_payments.go 0.00% <0.00%> (ø)
session/pingpong/factory.go 0.00% <0.00%> (ø)
session/pingpong/invoice_tracker.go 68.07% <72.72%> (+2.28%) ⬆️
mobile/mysterium/wireguard_connection_setup.go 29.45% <0.00%> (-0.62%) ⬇️
services/wireguard/service/service_unix.go 21.91% <0.00%> (-0.16%) ⬇️
config/flags_service_wireguard.go 0.00% <0.00%> (ø)
services/wireguard/wireguard.go 87.09% <0.00%> (+0.57%) ⬆️
p2p/channel.go 75.09% <0.00%> (+0.76%) ⬆️
core/discovery/discovery.go 65.57% <0.00%> (+0.81%) ⬆️
services/wireguard/service/options.go 51.85% <0.00%> (+1.85%) ⬆️
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3f7b6c9...b3e955b. Read the comment docs.

@vkuznecovas vkuznecovas merged commit 4d3aff1 into master May 21, 2020
@vkuznecovas vkuznecovas deleted the send-invoice-on-threshold branch May 21, 2020 09:57
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.

Inaccuracy in token earnings calculation
3 participants