Nas is Open Source now !!, we got the source code of NAS ClientI proudly announce that I was able to recreate the source code of the current Nas client. It is not exactly the same, it works slightly better because I deeply reviewed and tested all the changes from NXT version.
And there is now also a core of 3 people with programming skills who will try to get Nas working and evolving: User1397367406, tiker and me, who worked together during the recent blockchain attack (a fork war), as well as we was the users who more contributed to revive the network, and we maintain independent trusted forger nodes. Everyone who join effort and skills will be welcomed.
I pointed to the idea of recovering the sources
long time ago. I repeated it
after we got the blockchain synchronized, and several days later I wrote a brief plan, and I thought to do it myself:
The plan could be:
- 1. Compare sources of NAS 0.8.13(N1) with sources of NXT 0.8.13, to get which source files are different, and in which manner.
- 2. Implement the same changes to version 1.1.3 of NXT, compile, and test if it works the same as our current version of NAS. I'm afraid that here we will need to review malfunctioning things, like the test network, used ports, up-to-date peers, etc, the same way that I reviewed the config file.
- 3. If we get the source for 1.1.3 running properly, we can try the same changes for the last version of NXT.
Now the point 2 is done. I named the new version 1.1.3.N2, as our current working version is 1.1.3(N1). As corrected things, for example, you can notice that your current version doesn't show properly the incoming transactions information when you click on an account link, but it is properly displayed on this new version. Ports are also corrected to be different of NXT ones, using 7871, 7872 and 7873 for peer, UI and API servers.
I started a public repository in order that everybody can get the sources, compile them, review them, and of course, modify them (either by pull requests here or by his own fork). So NAS is Open Source, at last! You can view and edit a Wiki for Nas, as well.
Repository: https://bitbucket.org/patapato/nasIf you are not a developer, and you just want to update your client, you can get it ready from the Download menu, or by clicking this direct link:
Download: Nas Client 1.1.3.N2You have to unzip it replacing your current instalation, it will keep your current database directory and file,
nas/nxt_db/nxt.h2.db, as well as your custom config file,
nas/conf/nas.properties). Or better you can do the opposite, to unzip it in a different location and then copy those 2 files into it. That way you keep your original installation if you want to get it back (take care not to overwrite the new default config file,
nas-default.properties).
If you don't have a custom config file, I recommend that you create it with the next lines, filling the first 2 if you want to announce your internet address, the third if you want to be a trusted forger, and the last one if you want to log debug information. I let the old UI enabled by default (I like it), but you can disable or enable it here too.
File nas/conf/nas.properties:
nas.myAddress=
nas.myPlatform=PC
nas.myHallmark=
nas.wellKnownPeers=cb2.flipflop.mooo.com; funkyvps3.funkymonkey.org; patapato.ddns.net
nas.knownBlacklistedPeers=
nas.enableUIServer=false
nas.debug=false
Lastly, if you are curious about the detailed changes from NXT to NAS in this version, read the contents of the
changelog file here.
I'm running and forging with the new client for more than one day. You can see it on the
public server of tiker. This is a screen capture of it:
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FPO1lrsyl.png&t=665&c=m450QbHGLNwSFA)
(EDIT) Donations are appreciated:
NAS: NAS-H5AW-7J9F-7VCY-DJ8NB
NXT: NXT-H5AW-7J9F-7VCY-DJ8NB
BTC: 3Lgn75BAFS2yfmTzKmcD174ikXeYM5a2hC