Post
Topic
Board Altcoin Discussion
Topic OP
[Nxt] Instant transactions with guaranteed confirmation
by
BCNext
on 22/10/2013, 11:27:41 UTC
This thread is dedicated to discussion of Nxt features (https://bitcointalk.org/index.php?topic=303898.0), don't confuse it with Bitcoin or other altcoins.


In Bitcoin a payment is made by transferring all coins from input to output addresses with difference between input and output paid as transaction fee.  If someone wants to send only part of the coins they must send the rest back to one of their own addresses.  An attempt to use the same input twice is a double-spending, only one of the transactions will be confirmed even if enough money is sent back.

Unlike Bitcoin and its forks, Nxt uses a single account instead of multiple addresses for each user.  It is possible to send multiple transactions from the same source address (called "account"), all these transactions will be confirmed if the account holds enough coins.  Someone still can attempt a double-spending by paying for something with low fee and then sending all their coins to other account with higher fee, making it impossible to confirm the first payment.

We can counteract a double-spending attack in Nxt by using special accounts.  A special account has certain limits that don't let to create transactions for more than (for example) 1/10th of the balance in total within a 24 hour timeframe.  The network will simply ignore transactions and blocks that violate this rule.

A merchant (or a vending machine) can accept payments from special accounts without waiting for confirmations.  The only thing should be done is checking that a received transaction doesn't violate the rule.

Does anybody see flaws or disadvantages in such design?

P.S.  Payment privacy in Nxt will be provided via mixing.