-
Notifications
You must be signed in to change notification settings - Fork 173
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
Fidelity bonds and their present value #1001
Comments
The fidelity bond value calculated by the Taker is indeed a function of current time, see the variable joinmarket-clientserver/jmclient/jmclient/taker.py Lines 1001 to 1006 in 050b28d
and the call that uses that variable: joinmarket-clientserver/jmclient/jmclient/taker.py Lines 1025 to 1034 in 050b28d
|
Thanks for the clarification. Closed. |
If the fidelity bond value slowly dropped while the coins were still timelocked, it might create an incentive for people to create a second fidelity bond and switch to it as the first one's value slowly drops. It seems to be a less efficient use of capital, because the first fidelity bond would still have timelocked coins that cant move but arent being used (or worse, do get used by the person running a second maker bot) The reason the fidelity bond value slowly drops after the timelock is passed rather than just becoming zero immediately is to give a lot of time to makers to respend the coin to another timelocked address. Otherwise makers might have to pay a huge miner fee to get it confirmed quickly, which is also a waste. In case you're not aware, theres a document here which aims to explain every aspect of valuing fidelity bonds: https://gist.github.com/chris-belcher/87ebbcbb639686057a389acb9ab3e25b |
From obwatcher I see that the value of each fidelity bond remains constant over its lifetime, and is computed based on the difference between the time of first confirmation and its expiration date. However, wouldn't it make more sense for the bond value to be variable, and decrease as the expiration date approaches?
Intuitively the present value of the bond should be a function of time left to expiration rather than time from issuance to expiration.
The text was updated successfully, but these errors were encountered: