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

Cleanup signed witness #4744

Merged
merged 6 commits into from
Nov 5, 2020
Merged

Conversation

sqrrm
Copy link
Member

@sqrrm sqrrm commented Nov 3, 2020

Implements bisq-network/proposals#264

Payment methods using only accountagewitness can trade the full amount immediately, both when buying and when selling.

Payments methods with signing can trade the full amount immediately when selling, but has limits for buying according to the schedule described:

  • 0.01 BTC for unsigned and up to 30 days after signing
  • 0.125 BTC 30 days after signing
  • 0.25 BTC 60 days after signing

sqrrm added 5 commits October 25, 2020 18:47
This is in accordance with bisq-network/proposals#264

Any account type that doesn't need signing can now trade the full
amount immediately, same goes for signed type accounts that are
selling.

Signed type accounts that are buying now has minimum limit (0.01 BTC) up until
30 days after getting signed, then the limit is increased to 0.5 times the max
limit (0.125 BTC) and after 60 days they get the full limits (0.25 BTC).
}
long limit = OfferRestrictions.TOLERATED_SMALL_TRADE_AMOUNT.value;
if (direction == OfferPayload.Direction.BUY && isRisky) {
// Used only for bying of BTC with risky payment methods
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: Just a little typo in the old code buying vs bying

Copy link
Contributor

@ripcurlx ripcurlx left a comment

Choose a reason for hiding this comment

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

utACK

Code changes are looking fine and reflect the consensus found in bisq-network/proposals#264.

@m52go This will need a couple of changes (will make it easier for users) in https://bisq.wiki/Account_limits when v1.5.0 gets released.

@ripcurlx ripcurlx merged commit b8fbc74 into bisq-network:master Nov 5, 2020
@ripcurlx
Copy link
Contributor

ripcurlx commented Nov 5, 2020

We definitely have to keep an eye on all popups during trade and account creation to see if the new limits are communicated correctly everywhere. I guess a couple of changes will be required here and there.

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