Skip to content

Normalise Bond values or color the non-zero values? #561

@alexwaltz

Description

@alexwaltz

1st of all I am not sure if this is a good idea to change unless JoinMarket does it 1st.

But I find myself squinting at the screen every time I am trying to see what are other bonds available, and it's really hard to see among the sear of 0s.

The normalization factor should be easy to figure out and should be somehow proportional to the r - the interest rate as this is what introduces all those 0s after the decimal point.

The formula for valuing a bond is: V^2 (exp(rT) - 1)^2
Where:

  • V: the amount of Bitcoins to be locked
  • r: the interest rate - by default, this is set to 0.015
  • exp: the exponent - by default, this is set to 1.3
  • T: the time to be locked

So the formula practically is:
Screenshot 2022-11-03 at 17 43 16

Another option that would maintain consistency with JoinMarket would be to highlight the non-zero values with a certain color label
Screenshot 2022-11-03 at 17 38 55

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

Status

Done ✅

Relationships

None yet

Development

No branches or pull requests

Issue actions