Bitcoin Forum
April 27, 2024, 01:01:12 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 [1169] 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 ... 2557 »
  Print  
Author Topic: NXT :: descendant of Bitcoin - Updated Information  (Read 2761529 times)
Alias
Full Member
***
Offline Offline

Activity: 127
Merit: 100

Money be green


View Profile
January 24, 2014, 10:22:10 AM
 #23361

Has anyone seen this - http://blog.ethereum.org/?p=39/slasher-a-punitive-proof-of-stake-algorithm? I don't think it is hugely relevant to us but an interesting read none the less.


In times of change, it is the learners who will inherit the earth, while the learned will find themselves beautifully equipped for a world that no longer exists.
Bitcoin mining is now a specialized and very risky industry, just like gold mining. Amateur miners are unlikely to make much money, and may even lose money. Bitcoin is much more than just mining, though!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714222872
Hero Member
*
Offline Offline

Posts: 1714222872

View Profile Personal Message (Offline)

Ignore
1714222872
Reply with quote  #2

1714222872
Report to moderator
pandaisftw
Full Member
***
Offline Offline

Activity: 224
Merit: 100


View Profile
January 24, 2014, 10:23:33 AM
 #23362

This is what the blockchain about.

Right, but it wouldn't be updated "instantly" for C or D to check, there is still a block time of 1 minute.

Read https://bitcointalk.org/index.php?topic=316104.0

Account A makes his account special.

He now has 10 NXT in instant balance.

What's stopping him from sending 10 NXT to both peer B and C as payment if they are not connected? I mean sure, it could be prevented at the next block, but that isn't instant.

B and C would both send the goods to account A instantly and then get screwed 1 minute later when they find out it was a doublespend.



If you have 100 NXT in your account, that means you have 10 NXT for "instant transactions". In order for you to "double-spend" (literally to spend 200 NXT, so 10 NXT * 20 times), you would have to fool all the peers on the network 20 times. Chance of that is so low, in most cases you will just end up paying the merchant multiple times Cheesy

In the scenario of A sending to unconnected B and C, because he has 100 NXT in his account, he ends up sending 10 NXT to B and 10 NXT to C, no ripoff there.

EDIT: Also, I'm not sure if the balance is updated instantly (can malicious attacker ignore this?), but if so, in this case it would be 10 NXT to B and 9 NXT to C, and as n -> infinity, eventually 0, but never past zero.

NXT: 13095091276527367030
Come-from-Beyond
Legendary
*
Offline Offline

Activity: 2142
Merit: 1009

Newbie


View Profile
January 24, 2014, 10:25:57 AM
 #23363

Taking this to the logical extreme, what if he sends it to 11 merchants, and gets 110 NXT worth of product instantly? This approach is good but not airtight.

Chance that all 10 merchants r isolated from Nxt network is below zero, I think.
coolmist
Newbie
*
Offline Offline

Activity: 56
Merit: 0


View Profile
January 24, 2014, 10:26:21 AM
 #23364

If you have 100 NXT in your account, that means you have 10 NXT for "instant transactions". In order for you to "double-spend" (literally to spend 200 NXT, so 10 NXT * 20 times), you would have to fool all the peers on the network 20 times. Chance of that is so low, in most cases you will just end up paying the merchant multiple times Cheesy

In the scenario of A sending to unconnected B and C, because he has 100 NXT in his account, he ends up sending 10 NXT to B and 10 NXT to C, no ripoff there.

Quote
You would have to fool all the (20) peers on the network 1 time.

They are "instant" transactions, peers don't have time to communicate that quickly relative to an automated doublespend attempt.

Chance that all 10 merchants r isolated from Nxt network is below zero, I think.

Chance of peers being isolated is below zero, but the chance of all peers being able to communicate with all other peers to prevent double spend is even lower than that. Plus, the doublespender has a one minute window with BCNext's proposed method, his balance would have to be updated in the blockchain for doublespends to be prevented.
Come-from-Beyond
Legendary
*
Offline Offline

Activity: 2142
Merit: 1009

Newbie


View Profile
January 24, 2014, 10:29:07 AM
 #23365

Has anyone seen this - http://blog.ethereum.org/?p=39/slasher-a-punitive-proof-of-stake-algorithm? I don't think it is hugely relevant to us but an interesting read none the less.

Aye, interesting. But it looks quite complex comparing to Nxt PoS algo. It doesn't make sense to use something more sophisticated, only due to political reasons.
Come-from-Beyond
Legendary
*
Offline Offline

Activity: 2142
Merit: 1009

Newbie


View Profile
January 24, 2014, 10:34:43 AM
 #23366

Chance of peers being isolated is below zero, but the chance of all peers being able to communicate with all other peers to prevent double spend is even lower than that. Plus, the doublespender has a one minute window with BCNext's proposed method, his balance would have to be updated in the blockchain for doublespends to be prevented.

Don't read "instant" literally. A merchant will give purchased goods only after sending the transaction to next generator. The other 10 merchants will do the same and they'll get a reply that their transactions r illegal. This will take 3-5 sec.
coolmist
Newbie
*
Offline Offline

Activity: 56
Merit: 0


View Profile
January 24, 2014, 10:41:02 AM
 #23367

Don't read "instant" literally. A merchant will give purchased goods only after sending the transaction to next generator. The other 10 merchants will do the same and they'll get a reply that their transactions r illegal. This will take 3-5 sec.

Ok, this makes sense. But won't this will lead to a massive amount of data being sent to one peer (the forging account)? This would also cause the next forging account to do a massive amount of work, even if the work is distributed across multiple future predicted forging accounts.

Passion_ltc
Hero Member
*****
Offline Offline

Activity: 714
Merit: 500


Crypti Community Manager


View Profile
January 24, 2014, 10:43:24 AM
 #23368

nxtion.com update


....

Wow that is really exciting! Smiley
You could basically secure accounts on websites now by linking them to your Nxt-Account.
If your data gets compromised you can verify the rightful ownership.

@How does this token thing actually work?
Some information on that?

Yes. The token system is like a 1.5 factor auth. Smiley

nxtion.com update


...

I like how you constantly keep working to make your services as accessible as possible. Smiley


Thank you. I'm working hard for that! Smiley

Why do u ask for Nxt ID? Token already contains the ID.

You are right, sir! I will change it later.

Come-from-Beyond
Legendary
*
Offline Offline

Activity: 2142
Merit: 1009

Newbie


View Profile
January 24, 2014, 10:46:13 AM
 #23369

Don't read "instant" literally. A merchant will give purchased goods only after sending the transaction to next generator. The other 10 merchants will do the same and they'll get a reply that their transactions r illegal. This will take 3-5 sec.

Ok, this makes sense. But won't this will lead to a massive amount of data being sent to one peer (the forging account)? This would also cause the next forging account to do a massive amount of work, even if the work is distributed across multiple future predicted forging accounts.

1000 tps require only 1 Mbps bandwidth. I wouldn't say it's "massive".
l8orre
Legendary
*
Offline Offline

Activity: 1181
Merit: 1018


View Profile
January 24, 2014, 10:46:21 AM
 #23370

hmmm -- the only way of obtaining the information that s.t. has happend is by polling the NRS - it does not operate in push mode. So The less often I poll, the less I know.

I have not been trying to load test - 1 second just seemd like something reasonable. Besides, someone from the GUI devs also recommended 1 second.

What would you use?

What's "s.t."? I just can't think of anything so critical that it needs to arrive with 1 second precision.

s.t. just lazy for 'something' ---

Yes, but still - there MUST be a defining event to poll the NRS. Either it is a user input click 'poll' , or it is an external event. incoming message from other source, OR a periodical poll.

In which case you are stuck with the decision: what frequency? why not 100 milliseconds? why not 100 seconds? again, one of the other devs mentioned 1 second, which wihtin a human window of attention span is 'instant'.

what would you use?
coolmist
Newbie
*
Offline Offline

Activity: 56
Merit: 0


View Profile
January 24, 2014, 10:52:42 AM
 #23371

Don't read "instant" literally. A merchant will give purchased goods only after sending the transaction to next generator. The other 10 merchants will do the same and they'll get a reply that their transactions r illegal. This will take 3-5 sec.

Ok, this makes sense. But won't this will lead to a massive amount of data being sent to one peer (the forging account)? This would also cause the next forging account to do a massive amount of work, even if the work is distributed across multiple future predicted forging accounts.

1000 tps require only 1 Mbps bandwidth. I wouldn't say it's "massive".

True, the data amount isn't massive, however the amount of work that has to be done by the computer verifying the instant transactions has to be huge, right?

In one five second interval it has to receive data from 5k different peers, store this data, check the validity of each transaction and rebroadcast this out to 5k more peers.


NxtChg
Hero Member
*****
Offline Offline

Activity: 840
Merit: 1000


Simcoin Developer


View Profile WWW
January 24, 2014, 10:54:26 AM
 #23372

In which case you are stuck with the decision: what frequency? why not 100 milliseconds? why not 100 seconds? again, one of the other devs mentioned 1 second, which wihtin a human window of attention span is 'instant'.

what would you use?

It's possible that API will change in the future to something like websockets so you could push clients.

For now, I would use something like 20-30 seconds: blocks are generated with no less than 1 minute interval, so no reason to pull more often.

If you need to display peer info it can be somewhat less, like 5-10 seconds. But one second is overkill.

Simcoin: https://simtalk.org:444/ | The Simplest Bitcoin Wallet: https://tsbw.io/ | Coinmix: https://coinmix.to | Tippr stats: https://tsbw.io/tippr/
--
About smaragda and his lies: https://medium.com/@nxtchg/about-smaragda-and-his-lies-c376e4694de9
Come-from-Beyond
Legendary
*
Offline Offline

Activity: 2142
Merit: 1009

Newbie


View Profile
January 24, 2014, 11:02:34 AM
 #23373

True, the data amount isn't massive, however the amount of work that has to be done by the computer verifying the instant transactions has to be huge, right?

In one five second interval it has to receive data from 5k different peers, store this data, check the validity of each transaction and rebroadcast this out to 5k more peers.

My notebook can validate 100k transactions per second. Still too far from massive.
l8orre
Legendary
*
Offline Offline

Activity: 1181
Merit: 1018


View Profile
January 24, 2014, 11:03:51 AM
 #23374

In which case you are stuck with the decision: what frequency? why not 100 milliseconds? why not 100 seconds? again, one of the other devs mentioned 1 second, which wihtin a human window of attention span is 'instant'.

what would you use?

It's possible that API will change in the future to something like websockets so you could push clients.

For now, I would use something like 20-30 seconds: blocks are generated with no less than 1 minute interval, so no reason to pull more often.

If you need to display peer info it can be somewhat less, like 5-10 seconds. But one second is overkill.

thanks for the input. the block generation time argument is good. currently, I use 5 seconds on my raspi, that it can handle. The testnet server appears to have some real clout - I tried with 500ms, no problem.

I have not tested my samsung s3 laptop yet.
pandaisftw
Full Member
***
Offline Offline

Activity: 224
Merit: 100


View Profile
January 24, 2014, 11:06:12 AM
 #23375

If you have 100 NXT in your account, that means you have 10 NXT for "instant transactions". In order for you to "double-spend" (literally to spend 200 NXT, so 10 NXT * 20 times), you would have to fool all the peers on the network 20 times. Chance of that is so low, in most cases you will just end up paying the merchant multiple times Cheesy

In the scenario of A sending to unconnected B and C, because he has 100 NXT in his account, he ends up sending 10 NXT to B and 10 NXT to C, no ripoff there.

Quote
You would have to fool all the (20) peers on the network 1 time.

They are "instant" transactions, peers don't have time to communicate that quickly relative to an automated doublespend attempt.

Chance that all 10 merchants r isolated from Nxt network is below zero, I think.

Chance of peers being isolated is below zero, but the chance of all peers being able to communicate with all other peers to prevent double spend is even lower than that. Plus, the doublespender has a one minute window with BCNext's proposed method, his balance would have to be updated in the blockchain for doublespends to be prevented.


Hm... my example was wrong.

Sorry if someone mentioned this before, but if the merchant receives an instant transaction from the special account, it can broadcast it to the network (connected peers) to check to see if this account has already sent this type of special transaction in the last minute. Those peers will then rebroadcast this request, and so on. If a match is found, then the peer who has a match will send this information back to the merchant. Assuming a latency of 200ms, this request can be rebroadcast 5 times in 1 second. So if the merchant is connect to 10 peers, each who is connected to 10 peers, etc. then the network can quickly check 100,000 peers in 1 second. Not to mention, some hallmarked nodes have thousands of peers, so this number can be exponentially larger.

If a match is found, then the merchant can just say, "sorry, you already sent an instant transaction in the last minute, please wait wait one minute for confirmation." So time is not an issue unless the merchant is completely isolated (which is nearly impossible). Most humans will never need to place a large number of small orders in a span of 1 minute from multiple sources, so this is not a limitation. If they really need to, then it makes more sense to use their normal account (with 100% spendable funds), and just wait 1 minute for the confirmation. Instant transactions are useful for things like grocery shopping, I suppose. You're not going to checkout 100 times in a minute.

NXT: 13095091276527367030
klee
Legendary
*
Offline Offline

Activity: 1498
Merit: 1000



View Profile
January 24, 2014, 11:17:29 AM
 #23376

This analysis ignores opportunity cost. When opportunity costs are taken into consideration, owning 1million coins is no more beneficial than owing 1 coin. Except for the sense in which being wealthy is, in general, better than the alternative.

Thanks everyone for their replies!
I find the  'dialogue' really interesting - I encouraged him to post here too.
He is a good guy, no need to be impolite if he chimes in Smiley

@Anon - can you elaborate some more on this please?
coolmist
Newbie
*
Offline Offline

Activity: 56
Merit: 0


View Profile
January 24, 2014, 11:26:41 AM
 #23377

My notebook can validate 100k transactions per second. Still too far from massive.

I don't doubt it, I was just really curious as to how it all worked  Smiley. Thanks for taking time to explain.
BitAddict
Legendary
*
Offline Offline

Activity: 1190
Merit: 1001



View Profile
January 24, 2014, 11:38:01 AM
 #23378

Has anyone seen this - http://blog.ethereum.org/?p=39/slasher-a-punitive-proof-of-stake-algorithm? I don't think it is hugely relevant to us but an interesting read none the less.

Aye, interesting. But it looks quite complex comparing to Nxt PoS algo. It doesn't make sense to use something more sophisticated, only due to political reasons.

Is not working now?  Undecided
pinarello
Full Member
***
Offline Offline

Activity: 266
Merit: 100


NXT is the future


View Profile
January 24, 2014, 11:42:05 AM
 #23379


weekend sell of on bter?

jl777
Legendary
*
Offline Offline

Activity: 1176
Merit: 1132


View Profile WWW
January 24, 2014, 11:44:31 AM
 #23380

For anybody expecting social security (usa), i have some bad news
It turns out that frictionlesscoin might actually have worked for them. He admits he is carlos in the other thread, carlos has resume including work for social security

James

http://www.digitalcatallaxy.com/report2015.html
100+ page annual report for SuperNET
Pages: « 1 ... 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 [1169] 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 ... 2557 »
  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!