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

Pricing protocol update - communicate prices #1047

Closed
wants to merge 1 commit into from
Closed

Conversation

metacertain
Copy link
Member

@metacertain metacertain commented Dec 11, 2020

The aim of this PR is to communicate our node's price table upon connecting to other nodes, and to store price tables received upon connecting on a per peer basis, to be used for the purposes of accouting. The prices for accounting done in the retrieval and pushsync protocols are read from the stored price tables, or if they are missing, substituted with default price tables based on currently known neighborhood depth.
(these functions are facilitated by the pricer pkg, along with the change of the pricing protocol definition)

@metacertain
Copy link
Member Author

/run beekeeper

@ralph-pichler
Copy link
Member

/run beekeeper

@metacertain metacertain force-pushed the new_pricer branch 3 times, most recently from 86ca5b5 to e4a169f Compare February 8, 2021 23:41
@metacertain metacertain force-pushed the new_pricer branch 2 times, most recently from 6ca2a53 to e24e916 Compare February 15, 2021 10:42
@metacertain
Copy link
Member Author

/run beekeeper

@metacertain
Copy link
Member Author

/run beekeeper

@metacertain metacertain force-pushed the new_pricer branch 3 times, most recently from 854f817 to e744955 Compare March 18, 2021 01:10
@metacertain
Copy link
Member Author

/run beekeeper

pricer pkg

Price 0 in neighborhood traffic

Pricer mock in tests

Remove unused overlay field from pricing and replace announcepaymentthreshold with announcepaymentthresholdandpricetable

Runtime panic related fixes

Log fixes

Post rebase

post rebase

Fix comment

Readd SetPriceTableObserver
@vladopajic vladopajic deleted the new_pricer branch November 18, 2022 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants