elective-stereophonic
elective-stereophonic
NXTservices release v00, includes windows, mac, ubuntu  
Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest Stable Nxt Client: Nxt 1.12.2

Pages: [1] 2  All

Author Topic: NXTservices release v00, includes windows, mac, ubuntu  (Read 11426 times)

jl777

  • Hero Member
  • *****
  • Karma: +718/-123
  • Offline Offline
  • Posts: 6170
    • View Profile
NXTservices release v00, includes windows, mac, ubuntu
« on: May 09, 2014, 09:26:45 am »

http://209.126.71.170/NXTservices.zip has an initial windows compatible release, along with mac and ubuntu versions. You must be running a testnet version of NXT core with POST disabled in the .conf file. [if anybody knows the exact curl library settings to properly invoke the NXT API via POST, let me know and I will make it do POST]

When you unzip it, it will have a bunch of files in a folder. For mac and ubuntu, all you need is the single executable file. For windows, you need the .dll files also.

the first time you run the NXTservices, it will create random bytes files to create a high entropy password and a new acct for using NXTservices.

Open your browser to 127.0.0.1:7777 and it will show you the API URL you need to submit. Before that, you will need to fund your new acct with enough testNXT so AM's can be created. You can see the acct number on the 127.0.0.1:7777 page. Once it has funds, then you can do the setAccountInfo command to set the name and description for the new account. This "name" will be the handle you will be able to be contacted via the built in encrypted chat. For people that want to test NXTsubatomic, you need to set the "username" field in the description JSON to the username you have installed the bitcoin daemons to on your computer. This will allow NXTsubatomic to find the bitcoind daemons. For the duration that you will be doing NXTsubatomic, you need to change the wallet password to the new NXT address.

You will see a lot of forms on the page, for now, NXTsubatomic/NXTatomic and NXTorrent are active.

The text window will be displaying debug messages, status, etc. and also it is the input for the chat. The most recent line of incoming chat should appear on the webpage. To join a chat group, just type the name of the group in when it prompts. If you put "group":"NXTsubatomic" in the setAccountInfo description JSON, it will automatically login to NXTsubatomic group. /help will show the available commands. The most important is "/<name>" where name is the other person you want a direct link with. In my tests, my win7 is able to communicate with ubuntu and ubuntu can communicate with both mac and win7, but mac cant link up with win7 for some reason. I am hoping with some additional feedback, I can track down the cause of this.

All peer to peer comms are encrypted. You can send files using:
@<name> "filename"

this will attempt to send the filename to the other computer that you have a link with. it will create the copy in the /tmp directory. For windows, you need to create the C:\tmp directory or it will get errors.

This is an early release and has very little testing under windows, so I expect there to be bugs. Maybe it wont even run under some versions of Windows. I dont even know how many versions there are. So if it runs on the version of windows you are running, please post and let me know.

Of course, let me know of any bugs you find. If anybody is up to creating an easy to follow install guide, that would be most appreciated.

In the last ten weeks, I have written 15,000+ lines of new code and integrated libwebsockets, libuv, libnacl and a UDP hole puncher into an extensible framework and implemented various handlers (multigateway, NXTorrent, NXTsync, nodecoin, NXT(sub)atomic) on top of that framework. This means even if I was 99% accurate, there will be 150 bugs, so clearly we need to test this thoroughly for compatibility and functionality.

I cant do this all myself, so even if all you can do is download and run the program to make sure it doesnt crash, that will help. If anybody wants to organize the testing to track the bugs, that would certainly help.

Thanks!

James

P.S. Now that it doesnt crash all the time in Windows, I can finally work on a multigateway release, which I hope to have sometime this weekend
« Last Edit: May 09, 2014, 09:33:16 am by jl777 »
Logged
There are over 1000 people in SuperNET slack! http://slackinvite.supernet.org/ automatically sends you an invite

I am just a simple C programmer

Daedelus

  • Hero Member
  • *****
  • Karma: +230/-12
  • Offline Offline
  • Posts: 3280
    • View Profile
Re: NXTservices release v00, includes windows, mac, ubuntu
« Reply #1 on: May 09, 2014, 09:47:01 am »

So... for us mortals trying to promote this magic  ;D

****
NxtServices alpha released for windows.

This includes:

NxtSync- Encryted Chat and File Transfer service
Nxtsubatomic/NxtAtomic - cross chain transactions that allows [direct altcoin trading?/nxt asset to asset trading?]
NxtTorrent - Physical goods store [I think]

Nodecoin?
****

Apologies, even if we don't promote now I have fallen behind in keeping up with many projects so need to update my understanding so I will be ready ;D

I will play with it myself later on  ;D
Logged
NXT: NXT-4CS7-S4N5-PTH5-A8R2Q

jl777

  • Hero Member
  • *****
  • Karma: +718/-123
  • Offline Offline
  • Posts: 6170
    • View Profile
Re: NXTservices release v00, includes windows, mac, ubuntu
« Reply #2 on: May 09, 2014, 10:04:39 am »

So... for us mortals trying to promote this magic  ;D

****
NxtServices alpha released for windows.

This includes:

NxtSync- Encryted Chat and File Transfer service
Nxtsubatomic/NxtAtomic - cross chain transactions that allows [direct altcoin trading?/nxt asset to asset trading?]
NxtTorrent - Physical goods store [I think]

Nodecoin?
****

Apologies, even if we don't promote now I have fallen behind in keeping up with many projects so need to update my understanding so I will be ready ;D

I will play with it myself later on  ;D
This is still a rough release as I had to do some pretty unspeakable things to the code to make windows happy.

No need to promote it now, it needs testing and GUIs. Nodecoin and nodeminer are coded but the poolserver is not quite ready yet, plus I want to add NXThealth monitoring to nodecoin. Different parts will take different amounts of testing to get it ready, plus there are the GUIs that are needed.

NXTsubatomic is for bitcoind fork <-> bitcoind fork
NXTatomic is for NXT tx <-> NXT tx, expected mostly to be NXT for NXT assets
There is also a hybrid NXTsubatomic <-> NXTatomic, but that is really not tested at all.
The atomics still need some technical testing, and actual money transfers are disabled,but it does display the signed tx bytes that can be manually broadcast.

The NXTsync is primarily to provide peer to peer UDP capability to the other services. The file transfer is useful for testing,not sure how realiable it will be. The entire UDP hole punching has been quite frustrating as it works pretty good, then stops working, then starts working. Very finicky, so I still have to make it better, but I just wanted to get a release made so other people can start testing

multigateway is in there also and NXTsubatomic uses part of multigateway. Next up is porting the multigateway server to use NXTsync.

These are not really separate, but rather different aspects of a larger integrated system. InstantDEX will be added after multigateway and I will be adding NXTmixer/NXTcash to the NXTservices after the rest are done. libuv supports dynamic loading of plugins, so at some point I might be able to make all the different services load/unloadable at runtime.

Then I will finally be ready to implement my secret coin, so that is the roadmap for the spring/summer.

James
Logged
There are over 1000 people in SuperNET slack! http://slackinvite.supernet.org/ automatically sends you an invite

I am just a simple C programmer

Daedelus

  • Hero Member
  • *****
  • Karma: +230/-12
  • Offline Offline
  • Posts: 3280
    • View Profile
Re: NXTservices release v00, includes windows, mac, ubuntu
« Reply #3 on: May 09, 2014, 10:10:05 am »

So... for us mortals trying to promote this magic  ;D

****
NxtServices alpha released for windows.

This includes:

NxtSync- Encryted Chat and File Transfer service
Nxtsubatomic/NxtAtomic - cross chain transactions that allows [direct altcoin trading?/nxt asset to asset trading?]
NxtTorrent - Physical goods store [I think]

Nodecoin?
****

Apologies, even if we don't promote now I have fallen behind in keeping up with many projects so need to update my understanding so I will be ready ;D

I will play with it myself later on  ;D
This is still a rough release as I had to do some pretty unspeakable things to the code to make windows happy.

No need to promote it now, it needs testing and GUIs. Nodecoin and nodeminer are coded but the poolserver is not quite ready yet, plus I want to add NXThealth monitoring to nodecoin. Different parts will take different amounts of testing to get it ready, plus there are the GUIs that are needed.

NXTsubatomic is for bitcoind fork <-> bitcoind fork
NXTatomic is for NXT tx <-> NXT tx, expected mostly to be NXT for NXT assets
There is also a hybrid NXTsubatomic <-> NXTatomic, but that is really not tested at all.
The atomics still need some technical testing, and actual money transfers are disabled,but it does display the signed tx bytes that can be manually broadcast.

The NXTsync is primarily to provide peer to peer UDP capability to the other services. The file transfer is useful for testing,not sure how realiable it will be. The entire UDP hole punching has been quite frustrating as it works pretty good, then stops working, then starts working. Very finicky, so I still have to make it better, but I just wanted to get a release made so other people can start testing

multigateway is in there also and NXTsubatomic uses part of multigateway. Next up is porting the multigateway server to use NXTsync.

These are not really separate, but rather different aspects of a larger integrated system. InstantDEX will be added after multigateway and I will be adding NXTmixer/NXTcash to the NXTservices after the rest are done. libuv supports dynamic loading of plugins, so at some point I might be able to make all the different services load/unloadable at runtime.

Then I will finally be ready to implement my secret coin, so that is the roadmap for the spring/summer.

James

Great, that is clearer to me. I was getting confused with the Nxt(sub)atomic bits  ;D
Logged
NXT: NXT-4CS7-S4N5-PTH5-A8R2Q

bitcoinpaul

  • Hero Member
  • *****
  • Karma: +590/-590
  • Offline Offline
  • Posts: 3097
  • Karmageddon
    • View Profile
Re: NXTservices release v00, includes windows, mac, ubuntu
« Reply #4 on: May 09, 2014, 10:10:45 am »

Then I will finally be ready to implement my secret coin

NUDECOIN
Logged
Like my Avatar? Reply now! NXT-M5JR-2L5Z-CFBP-8X7P3

jl777

  • Hero Member
  • *****
  • Karma: +718/-123
  • Offline Offline
  • Posts: 6170
    • View Profile
Re: NXTservices release v00, includes windows, mac, ubuntu
« Reply #5 on: May 09, 2014, 10:12:41 am »

So... for us mortals trying to promote this magic  ;D

****
NxtServices alpha released for windows.

This includes:

NxtSync- Encryted Chat and File Transfer service
Nxtsubatomic/NxtAtomic - cross chain transactions that allows [direct altcoin trading?/nxt asset to asset trading?]
NxtTorrent - Physical goods store [I think]

Nodecoin?
****

Apologies, even if we don't promote now I have fallen behind in keeping up with many projects so need to update my understanding so I will be ready ;D

I will play with it myself later on  ;D
This is still a rough release as I had to do some pretty unspeakable things to the code to make windows happy.

No need to promote it now, it needs testing and GUIs. Nodecoin and nodeminer are coded but the poolserver is not quite ready yet, plus I want to add NXThealth monitoring to nodecoin. Different parts will take different amounts of testing to get it ready, plus there are the GUIs that are needed.

NXTsubatomic is for bitcoind fork <-> bitcoind fork
NXTatomic is for NXT tx <-> NXT tx, expected mostly to be NXT for NXT assets
There is also a hybrid NXTsubatomic <-> NXTatomic, but that is really not tested at all.
The atomics still need some technical testing, and actual money transfers are disabled,but it does display the signed tx bytes that can be manually broadcast.

The NXTsync is primarily to provide peer to peer UDP capability to the other services. The file transfer is useful for testing,not sure how realiable it will be. The entire UDP hole punching has been quite frustrating as it works pretty good, then stops working, then starts working. Very finicky, so I still have to make it better, but I just wanted to get a release made so other people can start testing

multigateway is in there also and NXTsubatomic uses part of multigateway. Next up is porting the multigateway server to use NXTsync.

These are not really separate, but rather different aspects of a larger integrated system. InstantDEX will be added after multigateway and I will be adding NXTmixer/NXTcash to the NXTservices after the rest are done. libuv supports dynamic loading of plugins, so at some point I might be able to make all the different services load/unloadable at runtime.

Then I will finally be ready to implement my secret coin, so that is the roadmap for the spring/summer.

James

Great, that is clearer to me. I was getting confused with the Nxt(sub)atomic bits  ;D
Hopefully chanc3r will be able to make nice pictures to graphically display how NXTservices is organized
Hopefully somebody will step up and help organize the testing of all this, lots and lots of code
Logged
There are over 1000 people in SuperNET slack! http://slackinvite.supernet.org/ automatically sends you an invite

I am just a simple C programmer

Daedelus

  • Hero Member
  • *****
  • Karma: +230/-12
  • Offline Offline
  • Posts: 3280
    • View Profile
Re: NXTservices release v00, includes windows, mac, ubuntu
« Reply #6 on: May 09, 2014, 10:18:11 am »

Then I will finally be ready to implement my secret coin

NUDECOIN

How does it work, POW?





(Proof of Wang?)
Logged
NXT: NXT-4CS7-S4N5-PTH5-A8R2Q

bitcoinpaul

  • Hero Member
  • *****
  • Karma: +590/-590
  • Offline Offline
  • Posts: 3097
  • Karmageddon
    • View Profile
Re: NXTservices release v00, includes windows, mac, ubuntu
« Reply #7 on: May 09, 2014, 10:42:19 am »

Obviously PoP.
Logged
Like my Avatar? Reply now! NXT-M5JR-2L5Z-CFBP-8X7P3

Silmarils

  • Newbie
  • *
  • Karma: +7/-0
  • Offline Offline
  • Posts: 13
    • View Profile
Re: NXTservices release v00, includes windows, mac, ubuntu
« Reply #8 on: May 09, 2014, 10:49:03 am »

Testing NXTservices on OSX 10.9.2 with nxt server 1.0.0 running on testnet:

Console is showing over and over:

0x7f7faa805018 key.() len.0 is too big for NXTaddrs 24, FATAL
0x10e78e420 key.() len.0 is too big for NXTaddrs 24, FATAL

Edit: nxt.apiServerEnforcePOST = "false" solves this problem. I should read the complete post...  ;)

Browser does not reveal a nxt account to fund:

NXTprotocol detected Browser:
...




ws://localhost:7777/xxx

Your websocket connection status:   
OPEN


setAccountInfo on http://127.0.0.1:6876/test description={"username":"your pc username"}
NXT. balance 0.00000000 <- need to send NXT
NXTcoins.co API test forms
Nodecoins available 0.00000000 (cashout costs 1 NXT)

Edit: Found the passphrase in cosole log. Now successfully connected.
« Last Edit: May 09, 2014, 07:13:33 pm by Silmarils »
Logged

Silmarils

  • Newbie
  • *
  • Karma: +7/-0
  • Offline Offline
  • Posts: 13
    • View Profile
Logged

Mistafreeze

  • Full Member
  • ***
  • Karma: +18/-3
  • Offline Offline
  • Posts: 199
  • I <3 Cheese
    • View Profile
Re: NXTservices release v00, includes windows, mac, ubuntu
« Reply #10 on: May 09, 2014, 12:38:03 pm »

Well, it runs under Windows 8.1 64bit.

I'm currenty updating TestNet and have to install BTC and such, but it runs :)

EIDT: I was able to get it to sucessfully connect to both the Doge wallet and Bitcoin wallets, I did not install Litecoin.

When I typed /help into the console, I got a list of commands back as expected, but I seem to be the only one in the group.

I'm so lonely  :'(
« Last Edit: May 09, 2014, 03:17:31 pm by Mistafreeze »
Logged
Donate to my Beerfund NXT-L4WV-ZF8P-8X54-D6XML

starik69

  • Sr. Member
  • ****
  • Karma: +11/-17
  • Offline Offline
  • Posts: 301
    • View Profile
Re: NXTservices release v00, includes windows, mac, ubuntu
« Reply #11 on: May 09, 2014, 05:00:35 pm »

Windows 8 64bit can not start - missing MSVCR120D.dll :'(
Logged
NXT-R2U6-22MC-LQL2-22222 (648774468) - NXT | All versions of NXT client and more - https://mega.co.nz/#F!J1xmgAyC!cnaqdxHALLMGiS0hTPrhAg

jl777

  • Hero Member
  • *****
  • Karma: +718/-123
  • Offline Offline
  • Posts: 6170
    • View Profile
Re: NXTservices release v00, includes windows, mac, ubuntu
« Reply #12 on: May 09, 2014, 08:41:09 pm »

Windows 8 64bit can not start - missing MSVCR120D.dll :'(
I think that is a standard msft dll, just copy it to the folder

I searched, found http://answers.microsoft.com/en-us/windows/forum/windows_8-hardware/missing-msvcr120ddll/28b03b3b-1d15-4e47-ba31-8ace6920b9ba

which led to: http://msdn.microsoft.com/en-us/library/windows/hardware/dn448963(v=vs.85).aspx

Hopefully someone who knows windows can find the right thing to download to solve this issue

Logged
There are over 1000 people in SuperNET slack! http://slackinvite.supernet.org/ automatically sends you an invite

I am just a simple C programmer

starik69

  • Sr. Member
  • ****
  • Karma: +11/-17
  • Offline Offline
  • Posts: 301
    • View Profile
Re: NXTservices release v00, includes windows, mac, ubuntu
« Reply #13 on: May 09, 2014, 10:26:33 pm »

Windows 8 64bit can not start - missing MSVCR120D.dll :'(
I think that is a standard msft dll, just copy it to the folder
I think D means debug, is it needed? ???
Logged
NXT-R2U6-22MC-LQL2-22222 (648774468) - NXT | All versions of NXT client and more - https://mega.co.nz/#F!J1xmgAyC!cnaqdxHALLMGiS0hTPrhAg

jl777

  • Hero Member
  • *****
  • Karma: +718/-123
  • Offline Offline
  • Posts: 6170
    • View Profile
Re: NXTservices release v00, includes windows, mac, ubuntu
« Reply #14 on: May 09, 2014, 10:49:51 pm »

Windows 8 64bit can not start - missing MSVCR120D.dll :'(
I think that is a standard msft dll, just copy it to the folder
I think D means debug, is it needed? ???
I made a version compiled for release instead of debug
http://209.126.71.170/NXTservices_v01.zip

let me know if that fixes it
Logged
There are over 1000 people in SuperNET slack! http://slackinvite.supernet.org/ automatically sends you an invite

I am just a simple C programmer

jl777

  • Hero Member
  • *****
  • Karma: +718/-123
  • Offline Offline
  • Posts: 6170
    • View Profile
Re: NXTservices release v00, includes windows, mac, ubuntu
« Reply #15 on: May 10, 2014, 03:58:11 am »

I switched to using POST for the NXT API access. Turned out all you need to do is:

        curl_easy_setopt(curl_handle,CURLOPT_POST,1);
        curl_easy_setopt(curl_handle,CURLOPT_POSTFIELDS,params);

where params is the "requestType=...&..." I thought I had to parse all the different fields, but it was just a matter of changing the url to http://127.0.0.1:6876/nxt and didnt have to change much of the code to get it to work

With the next release, there wont be any need to change the .conf file
other than to select testnet
Logged
There are over 1000 people in SuperNET slack! http://slackinvite.supernet.org/ automatically sends you an invite

I am just a simple C programmer

starik69

  • Sr. Member
  • ****
  • Karma: +11/-17
  • Offline Offline
  • Posts: 301
    • View Profile
Re: NXTservices release v00, includes windows, mac, ubuntu
« Reply #16 on: May 10, 2014, 10:11:42 am »


I made a version compiled for release instead of debug
http://209.126.71.170/NXTservices_v01.zip

let me know if that fixes it
Now it needs MSVCR120.dll!  ;D
I'l try to find it ::)
Logged
NXT-R2U6-22MC-LQL2-22222 (648774468) - NXT | All versions of NXT client and more - https://mega.co.nz/#F!J1xmgAyC!cnaqdxHALLMGiS0hTPrhAg

CryptKeeper

  • Hero Member
  • *****
  • Karma: +78/-5
  • Offline Offline
  • Posts: 1235
    • View Profile
Re: NXTservices release v00, includes windows, mac, ubuntu
« Reply #17 on: May 10, 2014, 01:15:41 pm »



I made a version compiled for release instead of debug
http://209.126.71.170/NXTservices_v01.zip

let me know if that fixes it
Now it needs MSVCR120.dll!  ;D
I'l try to find it ::)

I think you need this:

http://www.microsoft.com/en-us/download/details.aspx?id=40784
Logged
Follow me on twitter for the latest news on bitcoin and altcoins!
Vanity Accounts Sale :-)

starik69

  • Sr. Member
  • ****
  • Karma: +11/-17
  • Offline Offline
  • Posts: 301
    • View Profile
Re: NXTservices release v00, includes windows, mac, ubuntu
« Reply #18 on: May 10, 2014, 01:39:25 pm »



I made a version compiled for release instead of debug
http://209.126.71.170/NXTservices_v01.zip

let me know if that fixes it
Now it needs MSVCR120.dll!  ;D
I'l try to find it ::)

I think you need this:

http://www.microsoft.com/en-us/download/details.aspx?id=40784
Yes, and it is important to install x86 version ever on x64 Windows!  ::)
But now it says "LIBEAY32.dll missing"   :'(

EDIT1:
Oh, what a pain! >:(
After dealing with LIBEAY32.dll - openssl fixes it (http://slproweb.com/download/Win32OpenSSL_Light-1_0_1g.exe) it says MSVCR110.dll missing! :'( :'(
This time it is http://www.microsoft.com/ru-ru/download/details.aspx?id=30679  ::)

EDIT2:
You can see the acct number on the 127.0.0.1:7777 page.
Can not :'( Where is it? ???
« Last Edit: May 10, 2014, 02:57:00 pm by starik69 »
Logged
NXT-R2U6-22MC-LQL2-22222 (648774468) - NXT | All versions of NXT client and more - https://mega.co.nz/#F!J1xmgAyC!cnaqdxHALLMGiS0hTPrhAg

jl777

  • Hero Member
  • *****
  • Karma: +718/-123
  • Offline Offline
  • Posts: 6170
    • View Profile
Re: NXTservices release v00, includes windows, mac, ubuntu
« Reply #19 on: May 10, 2014, 11:52:02 pm »



I made a version compiled for release instead of debug
http://209.126.71.170/NXTservices_v01.zip

let me know if that fixes it
Now it needs MSVCR120.dll!  ;D
I'l try to find it ::)

I think you need this:

http://www.microsoft.com/en-us/download/details.aspx?id=40784
Yes, and it is important to install x86 version ever on x64 Windows!  ::)
But now it says "LIBEAY32.dll missing"   :'(

EDIT1:
Oh, what a pain! >:(
After dealing with LIBEAY32.dll - openssl fixes it (http://slproweb.com/download/Win32OpenSSL_Light-1_0_1g.exe) it says MSVCR110.dll missing! :'( :'(
This time it is http://www.microsoft.com/ru-ru/download/details.aspx?id=30679  ::)

EDIT2:
You can see the acct number on the 127.0.0.1:7777 page.
Can not :'( Where is it? ???
sorry about all the troubles...
As soon as someone posts a definite list of redistributable DLLs to include, I will put it into the release so it wont be such a headache.

Is there anything that appears in the 127.0.0.1:7777 page in the browser?
what appears in the command line window?

James
Logged
There are over 1000 people in SuperNET slack! http://slackinvite.supernet.org/ automatically sends you an invite

I am just a simple C programmer
Pages: [1] 2  All
 

elective-stereophonic
elective-stereophonic
assembly
assembly