Minting, Converting and Auto Converting

Jan 7, 2019 · 2 min read

Minting and Converting

When converting or sending BVO privately, BVO will be converted to BVO-P using the following algorithm to automatically determine the denominations used:

  1. If you have the exact amount, then start with largest possible denomination and go down until you reach the total.
  2. Otherwise: Minimize Spends (a) find the next denomination higher than the spend amount (if possible) and use that if available, (b) if not available start with the larger denominations and go down until you reach an amount just over what is needed.
  3. Or: Minimize Change. If not exact, try to find the amount above what is needed that minimizes how many coins you receive in change.

Auto Converting

The privacy of BVO-P becomes more effective when more of each denomination is converted from many different sources. To that end, a percentage of BVO will be automatically converted to BVO-P for every wallet. This will guarantee that there will be a sizable pool of BVO-P for operations to go smoothly and to anonymize transactions.

With each incoming new block, it does the following:

  1. Check how much mintable coins are available.
  2. Check how much BVO-P is available.
  3. Check if the percentage is below the target percentage.

If the percentage is below the target percentage, it:

  1. Calculates how many BVO needs to be converted to BVO-P.
  2. Uses the next smaller denomination.
  3. Rinse and repeats until enough BVO-P are minted.
Image for post
Image for post

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch

Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore

Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store