Bitcoin Forum
September 02, 2025, 07:03:27 AM *
News: Latest Bitcoin Core release: 29.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 [1466] 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 ... 2548 »
  Print  
Author Topic: NXT :: descendant of Bitcoin - Updated Information  (Read 2761737 times)
jl777
Legendary
*
Offline Offline

Activity: 1176
Merit: 1134


View Profile WWW
February 05, 2014, 06:24:13 AM
 #29301

Not necessarily.  Just don't expect the result to be available by the next block.

CfB *himself* said 1000+ TPS would only be *possible* if protocol was changed to binary and kept "dead simple".

So - how is it now suddenly become *possible* to also execute (even just a few) instructions of VM "per transaction" (as you can't assume they won't *all* want to do that) and still have 1000+ TPS?

Does anyone else see the problem here?


Don't tie them together.  The VM runs in a separate thread from the Nxt protocol.  Use the referenced transaction option of the Nxt protocol to link the result to whatever you want to do with it.

It doesn't matter if the result comes in the next block, or 100 blocks later.

I assumed the Turing complete stuff is application specific and does not need to be done by all the nodes. Why would all the nodes care if the email was sent out as per the Turing saved AM instructed?

I think only the forging node has to run the Turing scripts. Turing scripts are not part of the NXT blockchain, they just utilize AM and alias to function.

The key is to be able to reliably run an "algorithm", but more usually business process, like deposit/withdrawal. No heavy lifting as far as computation goes.

James

http://www.digitalcatallaxy.com/report2015.html
100+ page annual report for SuperNET
Anon136
Legendary
*
Offline Offline

Activity: 1722
Merit: 1217



View Profile
February 05, 2014, 06:26:26 AM
 #29302

Not necessarily.  Just don't expect the result to be available by the next block.

CfB *himself* said 1000+ TPS would only be *possible* if protocol was changed to binary and kept "dead simple".

So - how is it now suddenly become *possible* to also execute (even just a few) instructions of VM "per transaction" (as you can't assume they won't *all* want to do that) and still have 1000+ TPS?

Does anyone else see the problem here?


Don't tie them together.  The VM runs in a separate thread from the Nxt protocol.  Use the referenced transaction option of the Nxt protocol to link the result to whatever you want to do with it.

It doesn't matter if the result comes in the next block, or 100 blocks later.

I assumed the Turing complete stuff is application specific and does not need to be done by all the nodes. Why would all the nodes care if the email was sent out as per the Turing saved AM instructed?

I think only the forging node has to run the Turing scripts. Turing scripts are not part of the NXT blockchain, they just utilize AM and alias to function.

The key is to be able to reliably run an "algorithm", but more usually business process, like deposit/withdrawal. No heavy lifting as far as computation goes.

James

If the network didnt check the forgers work than forgers could just publish false answers every time and claim the transaction fees anway. meaning they would have no incentive to actually execute the code.

Rep Thread: https://bitcointalk.org/index.php?topic=381041
If one can not confer upon another a right which he does not himself first possess, by what means does the state derive the right to engage in behaviors from which the public is prohibited?
TwinWinNerD
Legendary
*
Offline Offline

Activity: 1680
Merit: 1001


CEO Bitpanda.com


View Profile WWW
February 05, 2014, 06:27:53 AM
 #29303

Bounty: Reddit.com Tip-Bot

https://forums.nxtcrypto.org/viewtopic.php?f=25&t=710&p=3403#p3403

http://www.reddit.com/r/NXT/comments/1wyi9j/looking_at_doge_i_really_think_we_need_a_reddit/

Donation address: NXTcommunityfund (jl777) 13776816462073143763
Write a PM to jl777 --> https://bitcointalk.org/index.php?action=pm;sa=send;u=177323  
and tell him that you want to dedicate the donation to the reddit tip-bot.

Write a PM to me and let me know how much you sent to jl777 so i can keep this post uptodate!

List of Donations until now:
100 NXT TwinWinNerD
507 NXT gs02xzz
100 NXT swartzfeger
100 NXT VanBreuk
10.000 NXT Community Funds
10.000 NXT buybitcoinscanada
5.000 NXT Anon136
100 NXT BrianNowhere
(100-500 NXT Zahlen, but direct donation after finshed work)


Total: 25.907 NXT

We really need this bot going to increase our publicity on reddit!

Bounty #2: Facebook Tip-Bot

List of Donations until now:
5.000 NXT Community Funds
5.000 NXT buybitcoinscanada
50 NXT swartzfeger

Total: 10.050 NXT



Thank you, to all the contributors so far!

xyzzyx
Sr. Member
****
Offline Offline

Activity: 490
Merit: 250


I don't really come from outer space.


View Profile
February 05, 2014, 06:29:02 AM
 #29304

Why would all the nodes care if the email was sent out as per the Turing saved AM instructed?

You'd want multiple nodes to run it in order to check each other's work so it can be trustless.  

Otherwise, I could just write a malicious node to take your money and lie about the results.

"An awful lot of code is being written ... in languages that aren't very good by people who don't know what they're doing." -- Barbara Liskov
jl777
Legendary
*
Offline Offline

Activity: 1176
Merit: 1134


View Profile WWW
February 05, 2014, 06:32:11 AM
 #29305

Not necessarily.  Just don't expect the result to be available by the next block.

CfB *himself* said 1000+ TPS would only be *possible* if protocol was changed to binary and kept "dead simple".

So - how is it now suddenly become *possible* to also execute (even just a few) instructions of VM "per transaction" (as you can't assume they won't *all* want to do that) and still have 1000+ TPS?

Does anyone else see the problem here?


Don't tie them together.  The VM runs in a separate thread from the Nxt protocol.  Use the referenced transaction option of the Nxt protocol to link the result to whatever you want to do with it.

It doesn't matter if the result comes in the next block, or 100 blocks later.

I assumed the Turing complete stuff is application specific and does not need to be done by all the nodes. Why would all the nodes care if the email was sent out as per the Turing saved AM instructed?

I think only the forging node has to run the Turing scripts. Turing scripts are not part of the NXT blockchain, they just utilize AM and alias to function.

The key is to be able to reliably run an "algorithm", but more usually business process, like deposit/withdrawal. No heavy lifting as far as computation goes.

James

If the network didnt check the forgers work than forgers could just publish false answers every time and claim the transaction fees anway. meaning they would have no incentive to actually execute the code.
Ah, Evil Bob!
My brain hurts when I think about all the Evil Bob scenarios, so I leave that to you
If all the nodes have to compute it, then all the nodes have to compute it.

http://www.digitalcatallaxy.com/report2015.html
100+ page annual report for SuperNET
CIYAM
Legendary
*
Offline Offline

Activity: 1890
Merit: 1111


Ian Knowles - CIYAM Lead Developer


View Profile WWW
February 05, 2014, 06:32:44 AM
 #29306

Why would all the nodes care if the email was sent out as per the Turing saved AM instructed?

You'd want multiple nodes to run it in order to check each other's work so it can be trustless.  

Otherwise, I could just write a malicious node to take your money and lie about the results.

*Exactly* (had already made that point but I think it was missed).

With CIYAM anyone can create 100% generated C++ web applications in literally minutes.

GPG Public Key | 1ciyam3htJit1feGa26p2wQ4aw6KFTejU
jl777
Legendary
*
Offline Offline

Activity: 1176
Merit: 1134


View Profile WWW
February 05, 2014, 06:33:02 AM
 #29307

Why would all the nodes care if the email was sent out as per the Turing saved AM instructed?

You'd want multiple nodes to run it in order to check each other's work so it can be trustless.  

Otherwise, I could just write a malicious node to take your money and lie about the results.
Is your name Bob? Smiley

http://www.digitalcatallaxy.com/report2015.html
100+ page annual report for SuperNET
CIYAM
Legendary
*
Offline Offline

Activity: 1890
Merit: 1111


Ian Knowles - CIYAM Lead Developer


View Profile WWW
February 05, 2014, 06:34:43 AM
 #29308

If all the nodes have to compute it, then all the nodes have to compute it.

So once again - do you want 1000+ TPS or do you want these "arbitrary script" type txs (as I don't believe that you are going to be able to have both)?

With CIYAM anyone can create 100% generated C++ web applications in literally minutes.

GPG Public Key | 1ciyam3htJit1feGa26p2wQ4aw6KFTejU
jl777
Legendary
*
Offline Offline

Activity: 1176
Merit: 1134


View Profile WWW
February 05, 2014, 06:36:42 AM
 #29309

Why would all the nodes care if the email was sent out as per the Turing saved AM instructed?

You'd want multiple nodes to run it in order to check each other's work so it can be trustless.  

Otherwise, I could just write a malicious node to take your money and lie about the results.

*Exactly* (had already made that point but I think it was missed).

Guilty as charged. So most (all) of the network needs to run all the Turing scripts.
We need beefy hub servers, if we have 1000 Turing scripts running per second, that would mean NXT is worth a LOT more! That is a lot of transaction fees. Which means there wont be that many scripts running all the time.

I dont think runtime is as big of an issue as people are worried about. Interpreted VM can go pretty fast and I dont see the Turing scripts being thousands of lines of C code. The example code on etherium site was less than 20 lines of code. Even interpreted, very fast to run.

James

http://www.digitalcatallaxy.com/report2015.html
100+ page annual report for SuperNET
jl777
Legendary
*
Offline Offline

Activity: 1176
Merit: 1134


View Profile WWW
February 05, 2014, 06:37:58 AM
 #29310

If all the nodes have to compute it, then all the nodes have to compute it.

So once again - do you want 1000+ TPS or do you want these "arbitrary script" type txs (as I don't believe that you are going to be able to have both)?

1000 * 1 millisecond = 1 second
Call a 1 millisecond script a transaction and it is part of the 1000 TPS
generates the same fee so what does it matter the type it is?

http://www.digitalcatallaxy.com/report2015.html
100+ page annual report for SuperNET
Anon136
Legendary
*
Offline Offline

Activity: 1722
Merit: 1217



View Profile
February 05, 2014, 06:39:28 AM
 #29311

If all the nodes have to compute it, then all the nodes have to compute it.

So once again - do you want 1000+ TPS or do you want these "arbitrary script" type txs (as I don't believe that you are going to be able to have both)?


you have convinced me for one CIYAM. another blockchain another day. i definitely think that nxt's proof of stake lays a foundation for a much better DAC than pow. someone should definitely develop a turing complete nxt, just not on this chain.

Rep Thread: https://bitcointalk.org/index.php?topic=381041
If one can not confer upon another a right which he does not himself first possess, by what means does the state derive the right to engage in behaviors from which the public is prohibited?
CIYAM
Legendary
*
Offline Offline

Activity: 1890
Merit: 1111


Ian Knowles - CIYAM Lead Developer


View Profile WWW
February 05, 2014, 06:41:57 AM
 #29312

1000 * 1 millisecond = 1 second
Call a 1 millisecond script a transaction and it is part of the 1000 TPS
generates the same fee so what does it matter the type it is?

Although the actual amount of CPU pain might not be overwhelming the real problem is going to be the "size" of the tx (I can't imagine that these scripts are going to be anywhere near as small as a standard NXT tx currently is).

The whole 1000+ TPS is about "size" (and "bandwidth") more than it is about actual CPU time.

With CIYAM anyone can create 100% generated C++ web applications in literally minutes.

GPG Public Key | 1ciyam3htJit1feGa26p2wQ4aw6KFTejU
xyzzyx
Sr. Member
****
Offline Offline

Activity: 490
Merit: 250


I don't really come from outer space.


View Profile
February 05, 2014, 06:44:02 AM
 #29313

If all the nodes have to compute it, then all the nodes have to compute it.

So once again - do you want 1000+ TPS or do you want these "arbitrary script" type txs (as I don't believe that you are going to be able to have both)?


you have convinced me for one CIYAM. another blockchain another day. i definitely think that nxt's proof of stake lays a foundation for a much better DAC than pow. someone should definitely develop a turing complete nxt, just not on this chain.

Thought experiment time.  Let's say each node gets to run an arbitrary program in a VM, but only 1 instruction per block.   Will that impact 1000 TPS transaction times?

How about 2 instructions per block?

I think you see where this is going.

N instructions per block (where N is variable based on the speed of the underlying hardware)?

Will that impact 1000 TPS transaction times?

"An awful lot of code is being written ... in languages that aren't very good by people who don't know what they're doing." -- Barbara Liskov
jl777
Legendary
*
Offline Offline

Activity: 1176
Merit: 1134


View Profile WWW
February 05, 2014, 06:44:21 AM
 #29314

1000 * 1 millisecond = 1 second
Call a 1 millisecond script a transaction and it is part of the 1000 TPS
generates the same fee so what does it matter the type it is?

Although the actual amount of CPU pain might not be overwhelming the problem is going to be the "size" of the tx.

The whole 1000+ TPS is about "size" (and "bandwidth") more than it is about actual CPU time.

If it is about bandwidth why was everyone so worked up about inefficiencies of subleq?

So interpreted subleq VM is not a CPU bottleneck?

You are worried about bandwidth and amount of AM?

James

http://www.digitalcatallaxy.com/report2015.html
100+ page annual report for SuperNET
jl777
Legendary
*
Offline Offline

Activity: 1176
Merit: 1134


View Profile WWW
February 05, 2014, 06:45:46 AM
 #29315

If all the nodes have to compute it, then all the nodes have to compute it.

So once again - do you want 1000+ TPS or do you want these "arbitrary script" type txs (as I don't believe that you are going to be able to have both)?


you have convinced me for one CIYAM. another blockchain another day. i definitely think that nxt's proof of stake lays a foundation for a much better DAC than pow. someone should definitely develop a turing complete nxt, just not on this chain.

Thought experiment time.  Let's say each node gets to run an arbitrary program in a VM, but only 1 instruction per block.   Will that impact 1000 TPS transaction times?

How about 2 instructions per block?

I think you see where this is going.

N instructions per block (where N is variable based on the speed of the underlying hardware)?

Will that impact 1000 TPS transaction times?
Why would 1 millisecond execution time impact 1000 TPS transaction times?
Maybe reduce it to half millisecond time budget to give some room

http://www.digitalcatallaxy.com/report2015.html
100+ page annual report for SuperNET
Zahlen
Member
**
Offline Offline

Activity: 98
Merit: 10


View Profile
February 05, 2014, 06:46:34 AM
 #29316

If the network didnt check the forgers work than forgers could just publish false answers every time and claim the transaction fees anway. meaning they would have no incentive to actually execute the code.

Algos could be designed to be easy to check. Like factoring numbers: difficult to factor, but easy to check that the product of factors is the original. Proof of computation! So one (or a few) beefy nodes have a large computation burden while many smaller nodes have a lower burden.

(Can't be done for all algos. This will incentivize and select for those which can be done more intelligently.)

jl777
Legendary
*
Offline Offline

Activity: 1176
Merit: 1134


View Profile WWW
February 05, 2014, 06:46:56 AM
 #29317

If all the nodes have to compute it, then all the nodes have to compute it.

So once again - do you want 1000+ TPS or do you want these "arbitrary script" type txs (as I don't believe that you are going to be able to have both)?


you have convinced me for one CIYAM. another blockchain another day. i definitely think that nxt's proof of stake lays a foundation for a much better DAC than pow. someone should definitely develop a turing complete nxt, just not on this chain.
What if we limited it to 100 Turing scripts per block?

http://www.digitalcatallaxy.com/report2015.html
100+ page annual report for SuperNET
xyzzyx
Sr. Member
****
Offline Offline

Activity: 490
Merit: 250


I don't really come from outer space.


View Profile
February 05, 2014, 06:47:28 AM
 #29318

Why would 1 millisecond execution time impact 1000 TPS transaction times?
Maybe reduce it to half millisecond time budget to give some room

Don't think in terms of real time.  The VM is virtual.  So is the time.

"An awful lot of code is being written ... in languages that aren't very good by people who don't know what they're doing." -- Barbara Liskov
CIYAM
Legendary
*
Offline Offline

Activity: 1890
Merit: 1111


Ian Knowles - CIYAM Lead Developer


View Profile WWW
February 05, 2014, 06:48:08 AM
 #29319

If it is about bandwidth why was everyone so worked up about inefficiencies of subleq?

So interpreted subleq VM is not a CPU bottleneck?

You are worried about bandwidth and amount of AM?

I do think that "subleq" would end up becoming a CPU bottleneck but I am now going on the assumption we have an *efficient* instruction set (so am now ignoring the CPU issue) but I think that even assuming no CPU issue the bandwidth usage would become an even bigger problem.

With CIYAM anyone can create 100% generated C++ web applications in literally minutes.

GPG Public Key | 1ciyam3htJit1feGa26p2wQ4aw6KFTejU
jl777
Legendary
*
Offline Offline

Activity: 1176
Merit: 1134


View Profile WWW
February 05, 2014, 06:48:59 AM
 #29320

Why would 1 millisecond execution time impact 1000 TPS transaction times?
Maybe reduce it to half millisecond time budget to give some room

Don't think in terms of real time.  The VM is virtual.  So is the time.
Yes, but it is running on similar class servers, so we can estimate time to correspond to number of opcodes interpreted. Wont be exact, but as long as we charge by opcodes executed, all the scripts will behave in expected manner

http://www.digitalcatallaxy.com/report2015.html
100+ page annual report for SuperNET
Pages: « 1 ... 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 [1466] 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 ... 2548 »
  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!