Bitcoin Forum
November 06, 2024, 12:08:18 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 142 143 144 145 146 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 ... 334 »
3821  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: February 23, 2014, 12:23:45 PM
This is shifting from proof-of-stake to proof of having a distinct IP. For ordinary people it is indeed difficult to get many IPs, but what about an adversary who wants to attack Nxt? Any government can easily do it, or even a company of the size of Google or Amazon that surely has a pool of available IPs that are not always used, or even a rogue high-level sysadmin at such a company or a big ISP... they can just borrow some of their unused IPs for an hour and perform a 90% attack.

I propose that we "limit" the total number of "forging accounts" and distribute them via a "give away" at the start (i.e. we are "rebooting" the rights to forge).

EDIT: At least "initially" - we could relax that rule down the track if we thought it was okay (I agree that protecting the network is paramount).
3822  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: February 23, 2014, 12:13:06 PM
So basically everyone could forge even if they only have 1 NXT??

Yes.


That would be really something for a fairer system- if we make distribution fairer all clones (and not only) are dead...

What if many big stakeholders do many smaller accounts?

You would need an IP address and a "forging account #" in order to forge (you would need to "announce" your "forging account" when connecting to a peer most likely via a "signed message").

So although some people will be able to set up multiple IP addresses (using VPS/VPN or other) it won't be "easy" and it would most likely require software changes and multiple processes needing to be run (so complicated and potentially expensive on resources).

Most average nodes are simply not going to go to the effort to do this (and with the ability to "lease" your forging rights then even pools don't need to bother doing anything tricky) so although it won't be *perfect* it would be *much fairer* than how things stand at the moment.
3823  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: February 23, 2014, 08:24:20 AM
CfB thought I might want to make my suggestion for a possible different future of TF clearer.

What I am advocating would mean that the % chance to forge would effectively be the number of "forging accounts + IP addreses" you have (for most average people that is going to be 1).

So rather than having to get 100K or more NXT to forge you would only need to purchase 1 "forging account" (say 1 NXT?) to forge.

I hope that explains it better (unfortunately sometimes I just *assume* people understand my ideas).

Smiley
3824  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: February 23, 2014, 07:33:18 AM
...a complete nightmare for those that do NOT have a static IP...  

You would just need to re-connect to peers when your address changes (but admittedly it would not helpful if your node was running over TOR).

But aside from that problem the advantage is now everyone can forge without requiring any more "stake" than the price of an account.
3825  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: February 23, 2014, 07:26:36 AM
Seeing we are speculating about BCNext's final plan for TF I will put forward another possibility:

Proof of stake to be changed from being the amount of NXT to simply the number of "special forging accounts" you have (that can only be created *after* this plan is released) and you will need to use NXT to purchase each account (but not much - perhaps as low as 1 NXT).

I would predict also that your special forging account number would need to be "broadcast" to your peers (with each peer only accepting forged blocks coming from the one IP address from the 1 account).

Smiley
3826  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: February 23, 2014, 04:05:22 AM
1) as I can run the 0.8.0 to enable SSL? to work in the same way that came running in previous versions.
What use in nxt.keyStorePath=keystore and nxt.keyStorePassword=password ??

You'll need to generate a self-signed cert now (https://bitcointalk.org/index.php?topic=345619.msg5299392#msg5299392).

Where I can get a free HTTPS certificate, and because I can not keep using the provided by Jetty?

It is *free* to create a self-signed cert - just follow the instructions I linked to.
3827  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: February 23, 2014, 03:40:39 AM
1) as I can run the 0.8.0 to enable SSL? to work in the same way that came running in previous versions.
What use in nxt.keyStorePath=keystore and nxt.keyStorePassword=password ??

You'll need to generate a self-signed cert now (https://bitcointalk.org/index.php?topic=345619.msg5299392#msg5299392).
3828  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: February 22, 2014, 02:20:32 PM
Just to let you guys know that we now have a 3rd "use case" for the AT prototype which is a "Crowdfunding Agent" (see http://ciyam.org/nxt for the AT docs).

So what does it do?

Basically it means you won't need to use a "website" like Kickstarter or the like at all - you will be just able to create an AT for your project then people will be able to send funds to it which will be refunded if it doesn't meet its funding target by the target time.

Of course it doesn't give you any guarantees about the project itself (and I don't think most "crowd funding" websites do either) but it absolutely guarantees the account where the funds will go if the target is met as well as the refunding if the target isn't met.

One more middle-man gone!

(sorry in advance to all investors in platforms like Kickstarter)

3829  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: February 22, 2014, 01:52:33 PM
It is very simple to generate a self-signed certificate actually, just use the keytool command that comes with the JDK:
keytool -keystore keystore -alias nxt  -genkey -keyalg RSA
It will ask you to choose a password (that you will later need to enter in nxt.properties as nxt.keyStorePassword), and some mostly optional details for the certificate, and then generate a keystore file which you need to put in the nxt directory and point nxt.keyStorePath to it.

Thanks - not all of us are Java developers (I know how to do a self-signed cert using openssl but had never come across "keytool" before).

I don't believe it's a big deal (as HTTP should be fine locally) but it does tend to *surprise* end users when something that "just worked" before now doesn't and apparently they have to "open the hood" and "do some wiring changes" to make it work again. Smiley
3830  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: February 22, 2014, 01:39:49 PM

Code:
SSL can be enabled for both the API server and the UI server (default disabled).
If this is done, the corresponding ports will accept https requests only. There
is no way currently to have both http and https supported at the same time, but
this can be added, I just didn't see the need for it.
If you enable SSL, you need to set nxt.keyStorePath and nxt.keyStorePassword,
and obviously you need to have your own SSL certificate (self-signed or signed
by a CA) in a keystore file. I have only tested this with a self-signed
certificate.

I am guessing that it ain't so simple to run it using HTTPS now although really if you are running it locally I don't think HTTP is a problem (if something running locally is sniffing your packets then I'd be surprised if it wasn't also logging your keystrokes).
3831  Alternate cryptocurrencies / Altcoin Discussion / Re: Nxt :: Automated Transactions (AT) - progress and discussion on: February 22, 2014, 01:31:58 PM
Just to note I've updated the specification and the "Crowdfunding Agent" use case after testing it today.

A new op code SET_PCS has been introduced and "pcs" has been added to the "persistent state". Its purpose is to hold the "program counter start" (normally zero) which is where the "pc" will start after a FIN op has occurred (or after the last op has been executed).

This allows an AT to set a new point to begin execution from if/when it is "awoken" by a new tx. In the case of the "crowdfunding agent" this will be conditionally set depending upon whether the balance of the AT had met its target amount by the target time so that if further txs occur then any balance will be either (a) sent to the project because it had met its target or (b) refunded to the sender because it had not.
3832  Alternate cryptocurrencies / Altcoin Discussion / Re: Nxt :: Automated Transactions (AT) - progress and discussion on: February 22, 2014, 10:03:27 AM
When will this be fully functional and implemented?

The plan is to get this ready for release in April (which I think should easily be achieved provided that we can organise a team in the next week or two).

From the technical side there will still need to be quite a bit of further work done on the specification (adding "meat" to the "bones") and then a lot of test cases need to be created (both for the AT interpreter itself and for each of the use cases mentioned in the specification).

The actual coding for the AT interpreter itself is not likely to be a huge job (I'd say a week or two) so the testing is going to probably require the most effort.
3833  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: February 22, 2014, 07:24:24 AM
If I counted correctly, attachments start at byte 45.

I think your math is a bit out - looks more like 126 to me - James make sure you find out *correctly* how to determine this (i.e. do *not* hard-code a "magic number").

3834  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: February 21, 2014, 02:52:58 PM
I guess I'm a generalist. I'd like to one day finish a real game, and other stuff, but when I see that I have to deal with specific quirks for each language and wrestle with syntax, I just feel like it's not worth the frustration and I go do other things.

And unfortunately "general purpose" programming languages always end up with their own little quirks (because they haven't been designed to do "one thing" and "do it well").

If you are comfortable with the idea of "functional programming" (which SQL is a basic example of) then I'd suggest also looking into Haskall.

But "the future" will likely be more along the lines of lots of small "domain specific languages" and "code generators" - the CIYAM software platform itself works this way (there isn't a single line of "manual code" used in the CIYAM Open web application).
3835  Alternate cryptocurrencies / Altcoin Discussion / Re: Nxt :: Automated Transactions (AT) - progress and discussion on: February 21, 2014, 02:45:08 PM
Just a post to let you guys know that I've updated the documents at http://ciyam.org/nxt and have added the 3rd use case which is a Crowdfunding Agent.

I have yet to create sample data and test this last use case (will do that by early next week) but I think the basic form of the AT concept is taking shape.
3836  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: February 21, 2014, 01:52:22 PM
I have lot of patience when it comes to code and debugging... (as I know I'll eventually beat them)
I can't say I have that much patience when it comes to arguing with people...

I'd have to say that I am the same - so I prefer not to "argue" with people but instead try "discuss" with them (it doesn't always work mind you especially in a forum like this one). Provided that it doesn't turn into an argument then I can remain quite patient (if it starts to head that way I would normally "move on").
3837  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: February 21, 2014, 01:49:49 PM
I'm pretty sure the intX_t and uintX_t types are exact-width, but I don't have a reference near me at the moment to look it up (which is why I said int64_t was "at least" 64-bits above.)   I can look this up later tonight to be sure if you need.

They are *exactly* the number of bits their names suggest (that's why they were created). It is the normal C types like "int" and "long" which the Standard can only give vague ideas about size (such as sizeof( long ) >= sizeof( int ), etc.).


3838  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: February 21, 2014, 01:02:11 PM
Does this language exist?

It is really hard to know which language is the best for what purpose (and in most typically non-trivial applications you'll end up using a few more than just one) but if you are keen to become a good programmer you should probably pick one "main" language and learn it "in depth".

This process is not something that will happen "over night" but if you spend the effort you will have become a much better programmer (I spent over 10 years "learning" C++ whilst I worked with it and there are still areas of it that I am not familiar with).
3839  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: February 21, 2014, 12:55:52 PM
@James - For displaying and other non-computational purposes temporarily using a "double" and "printf" is fine.

BTW - you would be better off using "long long" (or better yet #include <stdint.h> and use int64_t) than using "long" otherwise it won't work on most (if not all) 32 bit architectures.
3840  Alternate cryptocurrencies / Announcements (Altcoins) / Re: NXT :: descendant of Bitcoin - Updated Information on: February 21, 2014, 12:30:12 PM
CIYAM, I'm really amazed by your patience.

When you've traversed the depths of thousands of lines of code in order to find a bug that is as simple as an incorrect comma (and taken literally days to do so) then you will either have learned to be very patient with some things or you will have decided that computer programming is not for you.
Pages: « 1 ... 142 143 144 145 146 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 ... 334 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!