Bitcoin Forum
November 12, 2024, 03:27:13 PM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 [197] 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 ... 334 »
3921  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: February 14, 2014, 07:05:31 PM
Why should a multi transaction of the size of n transactions be cheaper than n transactions alone?

If the amount is the same to each output then it would be much smaller and even if not you only need 1 sig for all the outputs rather than 1 sig per output (so yes it should be a lot cheaper).
3922  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: February 14, 2014, 06:54:26 PM
Shouldn't that be client issue? Just sending n transactions instead of 1; n = number of asset holders.

That would cost you n NXT at the moment.

That is a little expensive don't you think (and even if the fee was reduced it will still be very wasteful if you couldn't "compress" the tx to 1 amount and n accounts)?
3923  Alternate cryptocurrencies / Altcoin Discussion / Re: Transparent mining 2, or What part of Legacy should be left behind on: February 14, 2014, 06:51:43 PM
P.S. If you dont know about compusurve http://en.wikipedia.org/wiki/CompuServe

I do remember CompuServe (and even used it) and just like the initial MSN (when they were trying to kill the internet with their binary protocols) it died.

For sure the forging fees are not going to make people rich but at the same time we do need to ensure that the network is looked after so I think that the fees should always at least make it viable to make a small amount of money forging as that is a useful benefit for the Nxt system.
3924  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: February 14, 2014, 06:39:26 PM
What's your hope in having such feature?

It actually would "kill" the first "use case" for the Nxt Scripting system (which was to "pay dividends to asset holders).  Grin
3925  Alternate cryptocurrencies / Altcoin Discussion / Re: Nxt Scripts (progress and discussion) on: February 14, 2014, 06:37:10 PM
Can an account be setup to be able to send NXT only when it receives same message from a combination of other accounts (3 in my example)?
If that's possible then is it possible to create the account with random generation password that password is not saved in the blockchain?

The "message" can only be another transaction - so I am not quite sure what you think can be achieved as any tx will be seen by the entire network.
3926  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: February 14, 2014, 05:58:03 PM
Not now, this will open another can of worms.

Okay - the Nxt Script stuff is probably going to open a few such nasty cans. Grin
3927  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: February 14, 2014, 05:45:03 PM
Yes of course.

Good to know - btw - if you are going to have to "upgrade" the tx format are you also considering adding "pay to many" txs (and for even better compression also "pay the same amount to many" which could be useful for things like sending "dividends")?
3928  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: February 14, 2014, 05:27:18 PM
The positive side is that while doing that we can make the fractional part allow amounts much lower than 0.01, so we will achieve much higher divisibility.

I just want to be sure about one thing - you aren't planning on using any floating point numbers for this are you (i.e. all the arithmetic will be using integers I hope)?
3929  Alternate cryptocurrencies / Altcoin Discussion / Re: Nxt Scripts (progress and discussion) on: February 14, 2014, 05:07:22 PM
stupid? semi stupid?  Grin

Well the problem is that a script can't "hide" anything (I am aware of some of the amazing new crypto ideas thanks to James but as of now they are not practical - nor will they be in the foreseeable short term future) so I don't think this is something it could be used for.

Another idea that has been suggested is a form of "hedging" where you might bet that Asset A is going to be worth more than Asset B at a certain time (or vice-versa).
3930  Alternate cryptocurrencies / Altcoin Discussion / Re: Nxt Scripts (progress and discussion) on: February 14, 2014, 04:38:40 PM
If you like living on the edge these days: "Malleable Operations" Wink

Indeed - btw - after some consideration the "use case" of the "dividend" doesn't actually seem to be a very good use case for scripting anyway (it could be done more efficiently with a special "pay to many" tx type).

So we are interested in some better use cases - a couple of ideas we have so far are:

1) A "lotto" in which the script contains the "hash" of a secret. People send funds to the script and then when the secret is revealed the funds are sent to the tx whose hash (or time stamp or combination) is closest.

2) A "dead man's switch" savings account that will send your funds to another account if you don't instruct it otherwise (say once per year).

Perhaps we could come up with something better than these as a more "compelling" use case to justify why we want to create such a script system?
3931  Alternate cryptocurrencies / Altcoin Discussion / Re: Nxt Scripts (progress and discussion) on: February 14, 2014, 02:45:14 PM
for marketing: Adaptive Layer

Now that does sound like something you'd hear from marketing. Grin
3932  Alternate cryptocurrencies / Altcoin Discussion / Re: Nxt Scripts (progress and discussion) on: February 14, 2014, 02:21:33 PM
instructions

Hmm... don't think the marketing team would be jumping up and down about that.

Perhaps something like "Smart Transactions" might be a little "more catchy" (although I am not a marketing guy).
3933  Alternate cryptocurrencies / Altcoin Discussion / Re: Nxt Scripts (progress and discussion) on: February 14, 2014, 10:50:10 AM
This could make Nxt forging very lucrative.

Certainly the amount of fees cannot be too trivial or the burden on the network would be too great so I'd expect such "scripts" will have to be fairly generous in order to function reasonably.
3934  Alternate cryptocurrencies / Altcoin Discussion / Re: Nxt Scripts (progress and discussion) on: February 14, 2014, 09:13:46 AM
Does Nxt Scripts use Nxt fees in order to be used ?

Indeed - basically a transaction to "execute" a script will be charged per "step" of execution (we can't tell how long a script will run as they will be "Turing complete"). If the payer hasn't provided enough fees then the script effectively "stops" at whatever step it is currently on (and can be resumed at a later point in time if a new fee paying tx asks it to).

There are also most likely going to be some basic limits as to the max. number of "steps" that a single forger would have to execute otherwise some paying an enormous fee to an "infinite loop" script could bring the network to a grinding halt.
3935  Alternate cryptocurrencies / Altcoin Discussion / Re: Nxt Scripts (progress and discussion) on: February 14, 2014, 04:57:16 AM
Do you mean to say that external calls to something like getLastBlock() will not block until return?

At this stage I would expect function calls "to block" although there may be some special cases for async execution but I think that such cases would be very few (if any at all) as we need to have a "deterministic" system.
3936  Alternate cryptocurrencies / Altcoin Discussion / Re: Nxt Scripts (progress and discussion) on: February 14, 2014, 04:52:20 AM
also could you write a javascript implenentaion of nxt client....?

I think that I shouldn't have used the word "script" (anyone got a better name?).

Although we may well add some sort of "higher level" language later (which might look similar to some popular scripting languages) at this stage we are focused on something that will be much more primitive.
3937  Alternate cryptocurrencies / Altcoin Discussion / Re: Nxt Scripts (progress and discussion) on: February 14, 2014, 04:43:54 AM
but, what is a nxt scripts?

A simple example (in fact our first "use case") is a script (or perhaps more correctly termed a "program" as we are not actually going to be using a typical "script" language) that pays a dividend to the shareholders of an Asset.

So in pseudo code this might look something like the following:

Code:
var b = get_Balance( );
var n = get_Number_Of_Account_Users( );
if( n > 0 )
{
   var s = b / n;
   if( s > 0 )
   {
      while( true )
      {
         var a = get_Next_Account_User( );
         if( a == 0 )
            break;
         send_Amount_To_Account( s, a );
      }
   }
}

I hope that isn't too confusing.
3938  Alternate cryptocurrencies / Altcoin Discussion / Re: Nxt Scripts (progress and discussion) on: February 13, 2014, 07:09:56 PM
As for me, I'm going to research the Lua VM.

Have heard some good things about it - the main question is can we have effectively API (or BIOS if you like) type functions with it?
3939  Alternate cryptocurrencies / Altcoin Discussion / Re: Nxt Scripts (progress and discussion) on: February 13, 2014, 06:53:50 PM
My thinking was that you might be able to get away with a SUBSET of the command set... but then you may lose Turing-completeness..?

Actually you'd be surprised - there is a "Turing complete" language that has only 1 op code (but I am not interested in trying to be "that minimal").

Grin
3940  Alternate cryptocurrencies / Altcoin Discussion / Re: Nxt Scripts (progress and discussion) on: February 13, 2014, 06:47:41 PM

Thanks - yes - a RISC style approach is what I am thinking of also.
Pages: « 1 ... 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 [197] 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 ... 334 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!