Bitcoin Forum
May 05, 2024, 11:31:33 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Does FRC go down in value while you are waiting for Confirmations?  (Read 629 times)
crazy_rabbit (OP)
Legendary
*
Offline Offline

Activity: 1204
Merit: 1001


RUM AND CARROTS: A PIRATE LIFE FOR ME


View Profile
January 17, 2013, 10:00:07 AM
 #1

Over at Exchange.zapto.org the admin mentioned in the chat box that while they are coding for FRC one of the problems they have to deal with is that while waiting for a payment to confirm, it is simultaneously losing value due to demurrage.

Is that true? How do payments work then? You pay 1 FRC and by the time it confirms it's maybe .99999 FRC? And how are scripts supposed to adjust for that? The longer it takes to confirm the less FRC I assume there would be, no? How are you ever supposed to buy something if unless you over spend to try and be sure that at *least* 1FRC makes it to the merchant?

more or less retired.
1714951893
Hero Member
*
Offline Offline

Posts: 1714951893

View Profile Personal Message (Offline)

Ignore
1714951893
Reply with quote  #2

1714951893
Report to moderator
1714951893
Hero Member
*
Offline Offline

Posts: 1714951893

View Profile Personal Message (Offline)

Ignore
1714951893
Reply with quote  #2

1714951893
Report to moderator
1714951893
Hero Member
*
Offline Offline

Posts: 1714951893

View Profile Personal Message (Offline)

Ignore
1714951893
Reply with quote  #2

1714951893
Report to moderator
You get merit points when someone likes your post enough to give you some. And for every 2 merit points you receive, you can send 1 merit point to someone else!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
jtimon
Legendary
*
Offline Offline

Activity: 1372
Merit: 1002


View Profile WWW
January 17, 2013, 11:31:24 AM
 #2

Over at Exchange.zapto.org the admin mentioned in the chat box that while they are coding for FRC one of the problems they have to deal with is that while waiting for a payment to confirm, it is simultaneously losing value due to demurrage.

Is that true? How do payments work then? You pay 1 FRC and by the time it confirms it's maybe .99999 FRC? And how are scripts supposed to adjust for that? The longer it takes to confirm the less FRC I assume there would be, no? How are you ever supposed to buy something if unless you over spend to try and be sure that at *least* 1FRC makes it to the merchant?

Yes, that's true.
The referenceHeight is set on the transaction at the moment of its creation. Then it may take some blocks to get into the chain, but the demurrage will be applied from that demurrage block.
You could set a referenceHight in the future so that the merchant receives exactly the transaction's amount at that given block. The client uses the current Height as refHeight by default, but with there will be an optional field for the refHeight using RPC calls. I coded that simple change for some calls but it needs testing and peer review to get into the next version:

https://github.com/freicoin/freicoin/pull/83

The protocol doesn't enforce refHeigh = currentHeigh. That's why you should check the refHeigh in addition to the amount when you receive freicoins. If the refBlock is too far in the past, maybe the payer is cheating so that you pay part of his demurrage. There's people working on making this clearer on the client or maybe raise warning messages.
You may be interested in this thread (and its links) for completion: https://bitcointalk.org/index.php?topic=133968.0

I hope this helps.

2 different forms of free-money: Freicoin (free of basic interest because it's perishable), Mutual credit (no interest because it's abundant)
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!