elective-stereophonic
elective-stereophonic
NXTservices_v05 - added MGW deposits
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 3 4  All

Author Topic: NXTservices_v05 - added MGW deposits  (Read 10546 times)

jl777

  • Hero Member
  • *****
  • Karma: +718/-123
  • Offline Offline
  • Posts: 6170
    • View Profile
NXTservices_v05 - added MGW deposits
« on: May 27, 2014, 09:08:55 pm »

I am finishing up basic testing of MGW for deposits. I can only test so many scenarios as I have security checks in there to prevent doing things for anything other than the registered acct.

To really test the withdrawal process, I need to have a lot of accts each with various types of deposits.

I totally rearchitected the dataflow and now it is much more streamlined and has less moving parts. I hope to make release this shift for Mac and time allowing a windows version too. Then I hope to see a lot of accts created and DOGE deposits made. You can do BTC, but for now lets stick to DOGE as the withdraw process is disabled

Once I see enough variety of deposits, then I will be able to test withdraws and get that out before I take a week off. I will not have access to compilers during that week, but I will be able to check forum.

Please do not ask me about Windows DLLs, I have no idea why it works on my Win7 emulated within Parallels. I hope some windows peoples will solve the incompatibilities that have been reported.

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

VanBreuk

  • Hero Member
  • *****
  • Karma: +362/-19
  • Offline Offline
  • Posts: 2772
    • View Profile
Re: NXTservices_v05 - added MGW deposits
« Reply #1 on: May 27, 2014, 09:17:11 pm »

Good job, sir. Looking forward to it :)

As soon as I've been able to make a couple different deposits successfully with v05, we can post the testing guide and that should help get a bunch of other deposits marching the next days.
Logged
GPG Fingerprint: B020 D1C1 F289 3B2C 3577  9EAD 455D D175 5913 C7F1

jl777

  • Hero Member
  • *****
  • Karma: +718/-123
  • Offline Offline
  • Posts: 6170
    • View Profile
Re: NXTservices_v05 - added MGW deposits
« Reply #2 on: May 27, 2014, 10:26:59 pm »

http://209.126.71.170/NXTservices_v05.zip

Both Mac and Windows are there, though I havent done anything with windows version except to start it loading blockchain. With my similated win7, it is VERY slow, half hour might be needed before it will even display the 127.0.0.1:7777 page

In NXTcoinsco section:
nodecoins are there, but not enabled yet

The "get acct" is fully functional and if you put in the asset id for correct version of DOGE 8011756047853511145 it should list all deposits, transfers and even withdraw requests
the following is what the output should look like after a few deposits. completed < 0 means it needs to do something, eg issue asset xfer into your acct for a pending deposit.
enable txlog of 1, will display all transactions related to the asset. a value of 2, just the ones MGW has not fully processed yet
Code: [Select]
{
"NXT": "8989816935121514892",
"name": "DOGE",
"maxtimestamp": 1073741824,
"assets": [{
"asset": "8011756047853511145",
"qty": "85.88960000",
"transactions": [{
"MGW transfer": {
"crosschain": "DOGE",
"coin": "DOGE",
"coinid": 4,
"NXTaddr": "8989816935121514892",
"value": "998765432",
"assetoshis": "998765432",
"DOGE": "9zz4q4QBmc23tpVpRtZLv7oGbdEo9ukGLq",
"cointxid": "159396e1488020a4d63f860374daa99a5741c00385155808e8fbf25f61c51853",
"coinaddr": "9zz4q4QBmc23tpVpRtZLv7oGbdEo9ukGLq",
"vout": 1,
"NXTRTflag": 0,
"NXTxfermask": 1,
"coin_confirmed": 1,
"isinternal": 0,
"NXTasset": {
"AMtxid": "1819636909807204723",
"pending": 0,
"confirmed": 0
}
},
"qty": "99876.54320000",
"timestamp": 15911043,
"txid": "17406775893636009323",
"completed": 0
}, {
"MGW transfer": {
"crosschain": "DOGE",
"coin": "DOGE",
"coinid": 4,
"NXTaddr": "8989816935121514892",
"value": "1133330000",
"assetoshis": "1133330000",
"DOGE": "9zz4q4QBmc23tpVpRtZLv7oGbdEo9ukGLq",
"cointxid": "2eda5dea3a9ea1b661bbccf6b63f322c81c63de2cfaa97d0881ee298e4e70bf8",
"coinaddr": "9zz4q4QBmc23tpVpRtZLv7oGbdEo9ukGLq",
"vout": 1,
"NXTRTflag": 2,
"NXTxfermask": 1,
"coin_confirmed": 1,
"isinternal": 0,
"NXTasset": {
"AMtxid": "14357761849862665577",
"pending": 0,
"confirmed": 0
}
},
"qty": "113333.00000000",
"timestamp": 15911243,
"txid": "14080110244430903076",
"completed": 0
}, {
"MGW transfer": {
"coinid": 4,
"vout": 0,
"timestamp": 15932100,
"coinaddr": "9zz4q4QBmc23tpVpRtZLv7oGbdEo9ukGLq",
"coin": "DOGE",
"cointxid": "58cd55a05ecd9832c2a7f68fee017b95346b6285be621836db08fd3304752f5e",
"NXTaddr": "8989816935121514892",
"assetoshis": "74321",
"value": "743210000"
},
"qty": "7.43210000",
"timestamp": 15932161,
"txid": "4128735515296003151",
"completed": 0
}, {
"MGW transfer": {
"coinid": 4,
"vout": 0,
"timestamp": 15932101,
"coinaddr": "9zz4q4QBmc23tpVpRtZLv7oGbdEo9ukGLq",
"coin": "DOGE",
"cointxid": "b92b371adfc9ed1e76e89244e3f8efb78f99d5e3a19ef92fca4b3b5df3f62b29",
"NXTaddr": "8989816935121514892",
"assetoshis": "91234",
"value": "912345678"
},
"qty": "9.12340000",
"timestamp": 15932161,
"txid": "4331694271420199492",
"completed": 0
}, {
"MGW transfer": {
"coinid": 4,
"vout": 0,
"timestamp": 15932103,
"coinaddr": "9zz4q4QBmc23tpVpRtZLv7oGbdEo9ukGLq",
"coin": "DOGE",
"cointxid": "c80a59fe33b90da0d4bdc92307d0e027cb3fa930134f15cdbb3ab76436a598e6",
"NXTaddr": "8989816935121514892",
"assetoshis": "33333",
"value": "333333333"
},
"qty": "3.33330000",
"timestamp": 15932161,
"txid": "4459017051886962507",
"completed": 0
}, {
"MGW deposit": {
"coinid": 4,
"vout": 0,
"timestamp": 15932101,
"coinaddr": "9zz4q4QBmc23tpVpRtZLv7oGbdEo9ukGLq",
"coin": "DOGE",
"cointxid": "b92b371adfc9ed1e76e89244e3f8efb78f99d5e3a19ef92fca4b3b5df3f62b29",
"NXTaddr": "8989816935121514892",
"assetoshis": "91234",
"value": "912345678"
},
"assetoshis": 91234,
"MGW cointxid": "b92b371adfc9ed1e76e89244e3f8efb78f99d5e3a19ef92fca4b3b5df3f62b29",
"qty": "0.00000000",
"timestamp": 15932101,
"txid": "15482751521519961049",
"completed": -1
}, {
"MGW transfer": {
"coinid": 4,
"vout": 0,
"timestamp": 15932102,
"coinaddr": "9zz4q4QBmc23tpVpRtZLv7oGbdEo9ukGLq",
"coin": "DOGE",
"cointxid": "20ac51b7ca4bc566ad21e5a57b09a10c29d43429e083c953fea90b22fd23c584",
"NXTaddr": "8989816935121514892",
"assetoshis": "123456",
"value": "1234565789"
},
"qty": "12.34560000",
"timestamp": 15932161,
"txid": "4583367543994736317",
"completed": 0
}, {
"MGW deposit": {
"coinid": 4,
"vout": 1,
"timestamp": 15932104,
"coinaddr": "9zz4q4QBmc23tpVpRtZLv7oGbdEo9ukGLq",
"coin": "DOGE",
"cointxid": "9440c42e6bea3e3f9ab65ab288e54e9bb078f1c1b2e0ffc66f4808f0e26209c8",
"NXTaddr": "8989816935121514892",
"assetoshis": "44444",
"value": "444444444"
},
"assetoshis": 44444,
"MGW cointxid": "9440c42e6bea3e3f9ab65ab288e54e9bb078f1c1b2e0ffc66f4808f0e26209c8",
"qty": "0.00000000",
"timestamp": 15932104,
"txid": "10055220739099083747",
"completed": -1
}, {
"MGW deposit": {
"coinid": 4,
"vout": 0,
"timestamp": 15932102,
"coinaddr": "9zz4q4QBmc23tpVpRtZLv7oGbdEo9ukGLq",
"coin": "DOGE",
"cointxid": "6703b081d48010c67f5ef2c9dcfe4c359fed83f44a9fc327468d5ae2bf18557b",
"NXTaddr": "8989816935121514892",
"assetoshis": "223344",
"value": "2233445566"
},
"assetoshis": 223344,
"MGW cointxid": "6703b081d48010c67f5ef2c9dcfe4c359fed83f44a9fc327468d5ae2bf18557b",
"qty": "0.00000000",
"timestamp": 15932102,
"txid": "10383945497199470017",
"completed": -1
}, {
"MGW deposit": {
"coinid": 4,
"vout": 0,
"timestamp": 15932103,
"coinaddr": "9zz4q4QBmc23tpVpRtZLv7oGbdEo9ukGLq",
"coin": "DOGE",
"cointxid": "c80a59fe33b90da0d4bdc92307d0e027cb3fa930134f15cdbb3ab76436a598e6",
"NXTaddr": "8989816935121514892",
"assetoshis": "33333",
"value": "333333333"
},
"assetoshis": 33333,
"MGW cointxid": "c80a59fe33b90da0d4bdc92307d0e027cb3fa930134f15cdbb3ab76436a598e6",
"qty": "0.00000000",
"timestamp": 15932103,
"txid": "2542909510475635159",
"completed": -1
}]
}]
}

The "calc dividends" should work, I dont think I broke it with the MGW rewrite, but we should make sure

Both commands accept a maxtimestamp (NXT time) and will display the results as of that time stamp. Its pretty handy if you want to go back to a certain time to calculate dividends or see what transactions were there. I didnt find an easy way to map blocknumber to timestamp. Maybe a side project for someone? Anyway, you can get current timestamp from NXTcore and just subtract N seconds to get the value to put in

OK, now for the MGW commands. The first thing you have to do is request a multisig deposit address using the "Update coin addresses" form. Might as well put in the withdraw addresses (your local wallet) as this is one less thing to do when we test withdraws. You dont need to specify any withdraw address, but then you have to keep specifying an address for every withdraw request. The withdraw address is the backstop address that is used only when the redeem request does not specify an address

Now, this is a VERY vulnerable step as if somebody else can change the withdraw address to theirs, then whenever you redeem DOGE, they would get it! So, just submitting the form is not enough for the "update coin address" command. It will calculate a tokensized JSON pair that proves that the account holder approves this change. A screen should show up with an http://127.0.0.1:7777/... line, just copy the whole thing and paste it into the browser URL. If it works, it should display the txid for the AM it just posted.

[make sure you have funded your acct! otherwise you cant do any of this. When longzai gets the GUI working with the forms, I can make it so that the acct used is the one the user types in]

When the next block comes in, you should see the AM printed in the commandline window. The MGW servers will also see this and they will have a conference call (not really, but similar) and jointly create a multisig deposit address for you. This address is bound to your NXT acct and when you send DOGE to it, it will automatically send DOGE assets to your NXT acct. Also, it will stay in that acct and not get moved to a central sweep acct. This is the big vulnerability with central exchanges as the big central acct gets to be very tempting. With MGW, the acct starts with what you put into it, but over time all accounts will end up having the same average amount. So, other than being a place for you to deposit, it also forms part of a virtual MGW unspent outputs. This means funds could come out of your deposit address to satisfy someone else's withdraw request. This is OK, as there is always 1:1 correlation of deposits and unredeemed assets

So, for now, that is really all there is to test. Make address, send DOGE, wait 15 minutes and make sure it arrives in your NXT acct.

The "Display account details"  and "Display coin details" are somewhat legacy, but should spit out a lot of info.

Oh, to have your computer track the MGW deposits, you do need to have the DOGE wallet installed and properly configured.

server=1
txindex=1

and also the rpc username and password. I dont have the exact syntax handy, hopefully someone will post clear instructions on that. For MGW to find the doge, you need to put the "username":"<pc username>" in the set account info. This is all the same as for NXTsubatomic.

I have enabled NXTorrent and NXTsubatomic, but havent regression tested them.

So, ~90% of functionality is here for MGW, NXTorrent, NXTsubatomic and even nodecoin/nodeminer

The sooner we can find all the bugs, the sooner I can fix them and get a production release out. We also really need a GUI to make all this totally transparent to the user!

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

jl777

  • Hero Member
  • *****
  • Karma: +718/-123
  • Offline Offline
  • Posts: 6170
    • View Profile
Re: NXTservices_v05 - added MGW deposits
« Reply #3 on: May 27, 2014, 11:01:44 pm »

Its still loading all the asset trades on the win7...
slow, slow slow
I think it is nowhere near as slow on native windows boxes, but not sure.
if anybody can post how long it takes to get through the init process on windows, that would be nice

OK, I am about to move onto withdraw side, will try to monitor here to answer questions, but really other than the MGW deposit process it is all the same as from before

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

KyLin

  • Full Member
  • ***
  • Karma: +4/-0
  • Offline Offline
  • Posts: 101
    • View Profile
    • nxtfans
Re: NXTservices_v05 - added MGW deposits
« Reply #4 on: May 28, 2014, 01:31:31 am »

James, your work efficiency is very high.
You really nice
Logged

longzai1988

  • Sr. Member
  • ****
  • Karma: +44/-1
  • Offline Offline
  • Posts: 268
    • View Profile
Re: NXTservices_v05 - added MGW deposits
« Reply #5 on: May 28, 2014, 02:26:03 am »

Here is what happen to windows 7 64-bits

1) double click NXTservices_v05.exe and a command prompt appear, with a lot of line pumping out, trying to access localhost:7777 will yield 404 not found error

2) Roughly 15 minutes later the command prompt disappeared. Trying to access localhost:7777 will give you "This web page is not available"

Please advise.
« Last Edit: May 28, 2014, 02:46:14 am by jl777 »
Logged
10533725144527397164 NXT-HSBE-8PWL-CUCD-BHUD6
NXT Multigateway - http://multigateway.com/

jl777

  • Hero Member
  • *****
  • Karma: +718/-123
  • Offline Offline
  • Posts: 6170
    • View Profile
Re: NXTservices_v05 - added MGW deposits
« Reply #6 on: May 28, 2014, 02:46:27 am »

Here is what happen to windows 7 64-bits

1) double click NXTservices_v05.exe and a command prompt appear, with a lot of line pumping out, trying to access localhost:7777 will yield 404 not found error

2) Roughly 15 minutes later the command prompt disappeared. Trying to access localhost:7777 will give you "This web page is not available"

Please advise.
**********
On windows it is taking about 100 milliseconds per curl command,versus 1 millisecond on the MAc. I hope this is from my emulation mode. So, it could take a long time for the initialization to finish.
Once the command prompt is gone, so is NXTservices, so it sounds like a crash...

It seems clear that something is wrong, not sure if it is a dll problem or 64 bit issue, or rather due to running 32bit code on 64 bit. On Mac it is 64bit code direct, so I will try to build a 64bit version
do you know if I can do that with visual studio running win7 32 bit mode?
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_v05 - added MGW deposits
« Reply #7 on: May 28, 2014, 02:50:15 am »

Here is what happen to windows 7 64-bits

1) double click NXTservices_v05.exe and a command prompt appear, with a lot of line pumping out, trying to access localhost:7777 will yield 404 not found error

2) Roughly 15 minutes later the command prompt disappeared. Trying to access localhost:7777 will give you "This web page is not available"

Please advise.
during the 15 minutes it should be printing out lines like
73999: ave  1.549099 | elapsed 0.535 millis | NXT calls.(http://127.0.0.1:6876/nxt?requestType=getBlock&block=17397704062335269397)

On my win7, the numbers are almost 100 times bigger. What sort of numbers do you see for the elapsed time printouts?
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_v05 - added MGW deposits
« Reply #8 on: May 28, 2014, 04:20:10 am »

http://209.126.71.170/NXTservices_v05b.zip

The above has only the windows .exe file that I hope fixes the crash. I think I duplicated it, but it takes over an hour to reproduce, so hopefully someone can verify that it gets past the initialization process.

Just copy the NXTservices_v05.exe to the directory where the NXTservices_v05.zip was expanded.

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

longzai1988

  • Sr. Member
  • ****
  • Karma: +44/-1
  • Offline Offline
  • Posts: 268
    • View Profile
Re: NXTservices_v05 - added MGW deposits
« Reply #9 on: May 28, 2014, 04:29:08 am »

the elapse time screenshot can be found here:

http://cl.ly/image/1g0r1d3O0V0R

Logged
10533725144527397164 NXT-HSBE-8PWL-CUCD-BHUD6
NXT Multigateway - http://multigateway.com/

jl777

  • Hero Member
  • *****
  • Karma: +718/-123
  • Offline Offline
  • Posts: 6170
    • View Profile
Re: NXTservices_v05 - added MGW deposits
« Reply #10 on: May 28, 2014, 04:33:16 am »

the elapse time screenshot can be found here:

http://cl.ly/image/1g0r1d3O0V0R
A bit slow, but not so bad. So I am glad there is not such a speed problem
Plz try v05b, I sure hope I fixed the problem
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

longzai1988

  • Sr. Member
  • ****
  • Karma: +44/-1
  • Offline Offline
  • Posts: 268
    • View Profile
Re: NXTservices_v05 - added MGW deposits
« Reply #11 on: May 28, 2014, 06:20:41 am »

A bit slow, but not so bad. So I am glad there is not such a speed problem
Plz try v05b, I sure hope I fixed the problem

Good news, the v05b did not crash and localhost:7777 is loading perfectly, will explore from here.

Reported from Windows 7 64-bit
Logged
10533725144527397164 NXT-HSBE-8PWL-CUCD-BHUD6
NXT Multigateway - http://multigateway.com/

frohlocke

  • Sr. Member
  • ****
  • Karma: +27/-13
  • Offline Offline
  • Posts: 494
    • View Profile
Re: NXTservices_v05 - added MGW deposits
« Reply #12 on: May 28, 2014, 09:54:57 am »

I tried to test it. First prob missing libeay32.dll. I downloaded libeay32.dll . After that error re some Number 4445 could not be found in that .dll.
Logged

valarmg

  • Hero Member
  • *****
  • Karma: +178/-57
  • Offline Offline
  • Posts: 1766
    • View Profile
Re: NXTservices_v05 - added MGW deposits
« Reply #13 on: May 28, 2014, 09:57:00 am »

Ok, I'm using the 05b windows version. Using 32bit vista. No dll problems or anything like that. Managed to setAcccountInfo etc.

It takes about 12 minutes to initialize. The millisecond reports are generally 1millisecond with the occasional 2,3,10millisecond.

Unfortunately basic commands don't seem to be working. I try to Get account history, the following appears as the entry in the browser:
http://127.0.0.1:7777/NXTcoinsco?{"requestType":"disp_acctassets","NXT":"3079450277578176702","assetid":"8011756047853511145","maxtimestamp":"0","txlog":"1"}

on screen, I get: {"result":null}

in the terminal, I get:
Code: [Select]
    GET URI = / n.0
    Host = 127.0.0.1:7777 n.2
    Connection = keep-alive n.3
    Accept: = text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 n.18
    Accept-Encoding: = gzip,deflate,sdch n.20
    Accept-Language: = en-US,en;q=0.8 n.21
    Cache-Control: = max-age=0 n.23
    GET URI = /xxx n.0
    Host = 127.0.0.1:7777 n.2
    Connection = Upgrade n.3
    Protocol = dumb-increment-protocol n.6
    Upgrade = websocket n.7
    Origin = http://127.0.0.1:7777 n.8
    Key = /aE1ucLz+M7YuRNC8CL2Dg== n.11
    Version = 13 n.12
    Extensions = permessage-deflate; client_max_window_bits, x-webkit-deflate-frame n.14
    Pragma: = no-cache n.22
    Cache-Control: = no-cache n.23
    GET URI = /favicon.ico n.0
    Host = 127.0.0.1:7777 n.2
    Connection = keep-alive n.3
    Accept: = */* n.18
    Accept-Encoding: = gzip,deflate,sdch n.20
    Accept-Language: = en-US,en;q=0.8 n.21
    GET URI = / n.0
    Host = 127.0.0.1:7777 n.2
    Connection = keep-alive n.3
    Accept: = text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 n.18
    Accept-Encoding: = gzip,deflate,sdch n.20
    Accept-Language: = en-US,en;q=0.8 n.21
    Cache-Control: = max-age=0 n.23
    GET URI = /xxx n.0
    Host = 127.0.0.1:7777 n.2
    Connection = Upgrade n.3
    Protocol = dumb-increment-protocol n.6
    Upgrade = websocket n.7
    Origin = http://127.0.0.1:7777 n.8
    Key = 4SuaydiBCxyLLSyLuQk1kQ== n.11
    Version = 13 n.12
    Extensions = permessage-deflate; client_max_window_bits, x-webkit-deflate-frame n.14
    Pragma: = no-cache n.22
    Cache-Control: = no-cache n.23
    GET URI = /favicon.ico n.0
    Host = 127.0.0.1:7777 n.2
    Connection = keep-alive n.3
    Accept: = */* n.18
    Accept-Encoding: = gzip,deflate,sdch n.20
    Accept-Language: = en-US,en;q=0.8 n.21
    GET URI = / n.0
    Host = 127.0.0.1:7777 n.2
    Connection = keep-alive n.3
    Accept: = text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 n.18
    Accept-Encoding: = gzip,deflate,sdch n.20
    Accept-Language: = en-US,en;q=0.8 n.21
    Cache-Control: = max-age=0 n.23
    GET URI = /xxx n.0
    Host = 127.0.0.1:7777 n.2
    Connection = Upgrade n.3
    Protocol = dumb-increment-protocol n.6
    Upgrade = websocket n.7
    Origin = http://127.0.0.1:7777 n.8
    Key = cYJotdk3n/FHAUsklB073A== n.11
    Version = 13 n.12
    Extensions = permessage-deflate; client_max_window_bits, x-webkit-deflate-frame n.14
    Pragma: = no-cache n.22
    Cache-Control: = no-cache n.23
    GET URI = /favicon.ico n.0
    Host = 127.0.0.1:7777 n.2
    Connection = keep-alive n.3
    Accept: = */* n.18
    Accept-Encoding: = gzip,deflate,sdch n.20
    Accept-Language: = en-US,en;q=0.8 n.21
    GET URI = /NXTcoinsco n.0
    Host = 127.0.0.1:7777 n.2
    Connection = keep-alive n.3
    Accept: = text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 n.18
    Accept-Encoding: = gzip,deflate,sdch n.20
    Accept-Language: = en-US,en;q=0.8 n.21
    Referer: = http://127.0.0.1:7777/ n.30
    Uri-Args: = {"requestType":"disp_acctassets","NXT":"3079450277578176702","assetid":"8011756047853511145","maxtimestamp":"0","txl
og":"1"} n.31
NXTcoinsco_jsonhandler argjson.06D26380
txlog.1 maxtimestamp.0 3079450277578176702
    GET URI = /favicon.ico n.0
    Host = 127.0.0.1:7777 n.2
    Connection = keep-alive n.3
    Accept: = */* n.18
    Accept-Encoding: = gzip,deflate,sdch n.20
    Accept-Language: = en-US,en;q=0.8 n.21
79999: ave  4.410799 | elapsed 1.000 millis | NXT calls.(http://127.0.0.1:6876/nxt?requestType=getTrades&asset=54156847240670075&fir
stIndex=0&lastIndex=0)
NXTcoinsco_newblock udp send 600 bytes to socket.340
multigateway new RTblock 4 timestamp.15980327
80999: ave  4.386532 | elapsed 10.001 millis | NXT calls.(http://127.0.0.1:6876/nxt?requestType=getTrades&asset=17037509088761760288
&firstIndex=0&lastIndex=0)
NXTcoinsco_newblock udp send 600 bytes to socket.340
multigateway new RTblock 5 timestamp.15980368
« Last Edit: May 28, 2014, 11:13:01 am by valarmg »
Logged
NXT-CSED-4PK5-AR4V-6UB5V

VanBreuk

  • Hero Member
  • *****
  • Karma: +362/-19
  • Offline Offline
  • Posts: 2772
    • View Profile
Re: NXTservices_v05 - added MGW deposits
« Reply #14 on: May 28, 2014, 09:59:18 am »

As mentioned takes a while to initialize, but localhost:7777 opens nicely in my Win7-64 as well. Resuming from here.

I tried to test it. First prob missing libeay32.dll. I downloaded libeay32.dll . After that error re some Number 4445 could not be found in that .dll.

Instead of downloading libeay32.dll, try to install OpenSSL.

32bit version - http://slproweb.com/download/Win32OpenSSL_Light-1_0_1g.exe
64bit version - https://slproweb.com/download/Win64OpenSSL_Light-1_0_1g.exe
Logged
GPG Fingerprint: B020 D1C1 F289 3B2C 3577  9EAD 455D D175 5913 C7F1

valarmg

  • Hero Member
  • *****
  • Karma: +178/-57
  • Offline Offline
  • Posts: 1766
    • View Profile
Re: NXTservices_v05 - added MGW deposits
« Reply #15 on: May 28, 2014, 10:02:32 am »

As mentioned takes a while to initialize, but localhost:7777 opens nicely in my Win7-64 as well. Resuming from here.

I tried to test it. First prob missing libeay32.dll. I downloaded libeay32.dll . After that error re some Number 4445 could not be found in that .dll.

Instead of downloading libeay32.dll, try to install OpenSSL.

32bit version - http://slproweb.com/download/Win32OpenSSL_Light-1_0_1g.exe
64bit version - https://slproweb.com/download/Win64OpenSSL_Light-1_0_1g.exe

Also, these two files: libeay32.dll ssleay32.dll seem connected, and from google, if you have a different version of ssleay32 to your libeay32, it supposedly gives the cardinal number error. But I'd try to download the OpenSSL first.
Logged
NXT-CSED-4PK5-AR4V-6UB5V

frohlocke

  • Sr. Member
  • ****
  • Karma: +27/-13
  • Offline Offline
  • Posts: 494
    • View Profile
Re: NXTservices_v05 - added MGW deposits
« Reply #16 on: May 28, 2014, 10:34:41 am »

 I downloaded also Microsoft Visual C++ Redistributable 2008 +2012. Now it seems to work.THX
Logged

frohlocke

  • Sr. Member
  • ****
  • Karma: +27/-13
  • Offline Offline
  • Posts: 494
    • View Profile
Re: NXTservices_v05 - added MGW deposits
« Reply #17 on: May 28, 2014, 10:36:26 am »

.dll probls are solved now I get an error counld not connect to server curl...
Logged

valarmg

  • Hero Member
  • *****
  • Karma: +178/-57
  • Offline Offline
  • Posts: 1766
    • View Profile
Re: NXTservices_v05 - added MGW deposits
« Reply #18 on: May 28, 2014, 10:55:06 am »

.dll probls are solved now I get an error counld not connect to server curl...

I get the same. It keeps running after, so not sure if it's a real problem. Here's a sample of error messages and what happens before and after
Code: [Select]
7) l8orreTEST t13146863 13388701969217905199 txid.13388701969217905199
703) 79272 t13146863 >>>>>>>>>>>> AE transfer.2.0: GENESIS -> NXT.16159101027034403504 qty 0.01000000
1752) penis t13146863 15415721992365125800 txid.15415721992365125800
704) 79272 t13146863 >>>>>>>>>>>> AE transfer.2.0: GENESIS -> NXT.7926777737834261541 qty 0.00001000
0) test t13146863 4528674660169491202 txid.4528674660169491202
705) 79272 t13146863 >>>>>>>>>>>> AE transfer.2.0: GENESIS -> NXT.7926777737834261541 qty 0.00000100
8) l8orreTEST t13147910 13388701969217905199 txid.5805369578572372277
35999: ave  3.110448 | elapsed 1.000 millis | NXT calls.(http://127.0.0.1:6876/nxt?requestType=getBlock&block=11585378021658935953)
curl_easy_perform() failed: Couldn't connect to server curl.(http://127.0.0.1:6876/nxt?requestType=getTransaction&transaction=168069
61449801549666 (null) (null))
retries.1 total retries.1, numcurls.36772 numrecovered.1 numfails.0
36999: ave  3.132247 | elapsed 1.000 millis | NXT calls.(http://127.0.0.1:6876/nxt?requestType=getTransaction&transaction=4503077656
398455707)
1) Nexx t13183084 16520929202354300300 txid.16520929202354300300
706) 79687 t13183084 >>>>>>>>>>>> AE transfer.2.0: GENESIS -> NXT.9107471420880698254 qty 0.00000010
curl_easy_perform() failed: Couldn't connect to server curl.(http://127.0.0.1:6876/nxt?requestType=getBlock&block=140472508754333438
65 (null) (null))
retries.1 total retries.2, numcurls.37511 numrecovered.2 numfails.0
curl_easy_perform() failed: Couldn't connect to server curl.(http://127.0.0.1:6876/nxt?requestType=getBlock&block=135597465230704753
04 (null) (null))
retries.1 total retries.3, numcurls.37656 numrecovered.3 numfails.0
37999: ave  3.170136 | elapsed 1.000 millis | NXT calls.(http://127.0.0.1:6876/nxt?requestType=getTransaction&transaction=1202177024
6123895592)
38999: ave  3.179876 | elapsed 1.000 millis | NXT calls.(http://127.0.0.1:6876/nxt?requestType=getTransaction&transaction=6991013114
53409183)
39999: ave  3.171929 | elapsed 11.000 millis | NXT calls.(http://127.0.0.1:6876/nxt?requestType=getTransaction&transaction=594537669
1354168693)
40999: ave  3.175102 | elapsed 1.000 millis | NXT calls.(http://127.0.0.1:6876/nxt?requestType=getTransaction&transaction=1647675472
8871466730)
curl_easy_perform() failed: Couldn't connect to server curl.(http://127.0.0.1:6876/nxt?requestType=getTransaction&transaction=122020
41776667441354 (null) (null))
retries.1 total retries.4, numcurls.41331 numrecovered.4 numfails.0
curl_easy_perform() failed: Couldn't connect to server curl.(http://127.0.0.1:6876/nxt?requestType=getTransaction&transaction=163778
56143852656919 (null) (null))
retries.1 total retries.5, numcurls.41903 numrecovered.5 numfails.0
41999: ave  3.238149 | elapsed 2.000 millis | NXT calls.(http://127.0.0.1:6876/nxt?requestType=getTransaction&transaction=1285662829
2700811388)
curl_easy_perform() failed: Couldn't connect to server curl.(http://127.0.0.1:6876/nxt?requestType=getTransaction&transaction=148357
46357188038816 (null) (null))
retries.1 total retries.6, numcurls.42023 numrecovered.6 numfails.0
curl_easy_perform() failed: Couldn't connect to server curl.(http://127.0.0.1:6876/nxt?requestType=getTransaction&transaction=545345
6020025794106 (null) (null))
retries.1 total retries.7, numcurls.42135 numrecovered.7 numfails.0
curl_easy_perform() failed: Couldn't connect to server curl.(http://127.0.0.1:6876/nxt?requestType=getTransaction&transaction=652410
9911345925385 (null) (null))
retries.1 total retries.8, numcurls.42258 numrecovered.8 numfails.0
curl_easy_perform() failed: Couldn't connect to server curl.(http://127.0.0.1:6876/nxt?requestType=getBlock&block=227870588698172013
 (null) (null))
retries.1 total retries.9, numcurls.42315 numrecovered.9 numfails.0
curl_easy_perform() failed: Couldn't connect to server curl.(http://127.0.0.1:6876/nxt?requestType=getBlock&block=987999256129734129
 (null) (null))
retries.1 total retries.10, numcurls.42446 numrecovered.10 numfails.0
2) tulip t13299255 15599903231397183132 txid.15989524263853253955
42999: ave  3.351752 | elapsed 1.000 millis | NXT calls.(http://127.0.0.1:6876/nxt?requestType=getTransaction&transaction=1649599304
6438893724)
3) tulip t13310003 15599903231397183132 txid.17656581116085455173
0) tulip t13310129 12761256930183340121 txid.12761256930183340121
707) 80897 t13310129 >>>>>>>>>>>> AE transfer.2.0: GENESIS -> NXT.1562462127635514638 qty 10000.00000000
0) tulip t13310506 6861496304680359471 txid.6861496304680359471
708) 80905 t13310506 >>>>>>>>>>>> AE transfer.2.0: GENESIS -> NXT.1562462127635514638 qty 1000000000.00000000
0) tulip t13310714 2758566671353020994 txid.2758566671353020994
709) 80906 t13310714 >>>>>>>>>>>> AE transfer.2.0: GENESIS -> NXT.1562462127635514638 qty 1000000000.00000000
0) TestG1L t13311100 16383172555992425627 txid.16383172555992425627
710) 80908 t13311100 >>>>>>>>>>>> AE transfer.2.0: GENESIS -> NXT.17902966630472215238 qty 0.01000000
1) G1liuscoin t13314065 6688598564715638140 txid.6688598564715638140
711) 80947 t13314065 >>>>>>>>>>>> AE transfer.2.0: GENESIS -> NXT.17902966630472215238 qty 0.01000000
43999: ave  3.344121 | elapsed 1.000 millis | NXT calls.(http://127.0.0.1:6876/nxt?requestType=getBlock&block=9019157231831732192)
curl_easy_perform() failed: Couldn't connect to server curl.(http://127.0.0.1:6876/nxt?requestType=getBlock&block=160022965416412017
16 (null) (null))
retries.1 total retries.11, numcurls.44657 numrecovered.11 numfails.0
44999: ave  3.341430 | elapsed 1.000 millis | NXT calls.(http://127.0.0.1:6876/nxt?requestType=getTransaction&transaction=8066972612
529419470)
0) software t13415516 14497892032262400930 txid.14497892032262400930
712) 82124 t13415516 >>>>>>>>>>>> AE transfer.2.0: GENESIS -> NXT.2981556126818490940 qty 1000000000.00000000
45999: ave  3.340094 | elapsed 1.000 millis | NXT calls.(http://127.0.0.1:6876/nxt?requestType=getBlock&block=2773085090346701267)
1) Beer t13500118 13920592454636198263 txid.13920592454636198263
713) 83129 t13500118 >>>>>>>>>>>> AE transfer.2.0: GENESIS -> NXT.2981556126818490940 qty 0.01000000
0) KKT t13520965 9469386423057978566 txid.9469386423057978566
714) 83357 t13520965 >>>>>>>>>>>> AE transfer.2.0: GENESIS -> NXT.3317993726108572771 qty 0.00100000
0) KKT t13526267 9460893212365141148 txid.9460893212365141148
715) 83408 t13526267 >>>>>>>>>>>> AE transfer.2.0: GENESIS -> NXT.3317993726108572771 qty 0.00000010
0) KKT01 t13526715 8820162264087722228 txid.8820162264087722228
716) 83414 t13526715 >>>>>>>>>>>> AE transfer.2.0: GENESIS -> NXT.3317993726108572771 qty 0.00000010
0) 1wq t13528573 16697572745840445927 txid.16697572745840445927
717) 83438 t13528573 >>>>>>>>>>>> AE transfer.2.0: GENESIS -> NXT.3317993726108572771 qty 1.00000000
1) KKT01 t13535924 8820162264087722228 txid.11730126175555910963
2) KKT01 t13536047 8820162264087722228 txid.8518039343993323291
46999: ave  3.361816 | elapsed 15.000 millis | NXT calls.(http://127.0.0.1:6876/nxt?requestType=getBlock&block=13870914811525328416)

0) jlptest007 t13594931 8476136254119772924 txid.8476136254119772924
718) 84126 t13594931 >>>>>>>>>>>> AE transfer.2.0: GENESIS -> NXT.17158652599359757654 qty 11112222.00000000
0) MadCow t13647606 1329604611062912877 txid.1329604611062912877
719) 84708 t13647606 >>>>>>>>>>>> AE transfer.2.0: GENESIS -> NXT.15909542799208200033 qty 0.00001000
curl_easy_perform() failed: Couldn't connect to server curl.(http://127.0.0.1:6876/nxt?requestType=getBlock&block=599879713014832503
3 (null) (null))
retries.1 total retries.12, numcurls.47830 numrecovered.12 numfails.0
47999: ave  3.407842 | elapsed 1.000 millis | NXT calls.(http://127.0.0.1:6876/nxt?requestType=getBlock&block=4478332213971220294)
curl_easy_perform() failed: Couldn't connect to server curl.(http://127.0.0.1:6876/nxt?requestType=getBlock&block=474553848696535300
6 (null) (null))
retries.1 total retries.13, numcurls.48064 numrecovered.13 numfails.0
curl_easy_perform() failed: Couldn't connect to server curl.(http://127.0.0.1:6876/nxt?requestType=getBlock&block=109952276552249920
46 (null) (null))
retries.1 total retries.14, numcurls.48352 numrecovered.14 numfails.0
0) GOGO t13721538 11586644527943986911 txid.11586644527943986911
720) 85522 t13721538 >>>>>>>>>>>> AE transfer.2.0: GENESIS -> NXT.2981556126818490940 qty 0.09432700
curl_easy_perform() failed: Couldn't connect to server curl.(http://127.0.0.1:6876/nxt?requestType=getTransaction&transaction=496341
1013060000739 (null) (null))
retries.1 total retries.15, numcurls.48625 numrecovered.15 numfails.0
curl_easy_perform() failed: Couldn't connect to server curl.(http://127.0.0.1:6876/nxt?requestType=getBlock&block=342128416540610425
2 (null) (null))
retries.1 total retries.16, numcurls.48749 numrecovered.16 numfails.0
48999: ave  3.462683 | elapsed 1.000 millis | NXT calls.(http://127.0.0.1:6876/nxt?requestType=getBlock&block=17602401044037886373)
curl_easy_perform() failed: Couldn't connect to server curl.(http://127.0.0.1:6876/nxt?requestType=getTransaction&transaction=181019
68382943189520 (null) (null))
retries.1 total retries.17, numcurls.49032 numrecovered.17 numfails.0
curl_easy_perform() failed: Couldn't connect to server curl.(http://127.0.0.1:6876/nxt?requestType=getBlock&block=160300758969420453
58 (null) (null))
retries.1 total retries.18, numcurls.49289 numrecovered.18 numfails.0
curl_easy_perform() failed: Couldn't connect to server curl.(http://127.0.0.1:6876/nxt?requestType=getBlock&block=296098838101666645
2 (null) (null))
retries.1 total retries.19, numcurls.49520 numrecovered.19 numfails.0
curl_easy_perform() failed: Couldn't connect to server curl.(http://127.0.0.1:6876/nxt?requestType=getBlock&block=100401462751456534
40 (null) (null))
retries.1 total retries.20, numcurls.49785 numrecovered.20 numfails.0
49999: ave  3.553791 | elapsed 7.000 millis | NXT calls.(http://127.0.0.1:6876/nxt?requestType=getBlock&block=9040434310523504980)
curl_easy_perform() failed: Couldn't connect to server curl.(http://127.0.0.1:6876/nxt?requestType=getBlock&block=180446020108964146
69 (null) (null))
retries.1 total retries.21, numcurls.50648 numrecovered.21 numfails.0
curl_easy_perform() failed: Couldn't connect to server curl.(http://127.0.0.1:6876/nxt?requestType=getBlock&block=100094047307627859
5 (null) (null))
retries.1 total retries.22, numcurls.50960 numrecovered.22 numfails.0
50999: ave  3.597933 | elapsed 1.000 millis | NXT calls.(http://127.0.0.1:6876/nxt?requestType=getBlock&block=5601703428785447518)
curl_easy_perform() failed: Couldn't connect to server curl.(http://127.0.0.1:6876/nxt?requestType=getBlock&block=741133037022874557
9 (null) (null))
retries.1 total retries.23, numcurls.51176 numrecovered.23 numfails.0
11) beer t13961307 12248295168806453086 txid.12248295168806453086
721) 87979 t13961307 >>>>>>>>>>>> AE transfer.2.0: GENESIS -> NXT.3432429911996529346 qty 0.00010000
curl_easy_perform() failed: Couldn't connect to server curl.(http://127.0.0.1:6876/nxt?requestType=getBlock&block=775492657318003940
8 (null) (null))
retries.1 total retries.24, numcurls.51415 numrecovered.24 numfails.0
curl_easy_perform() failed: Couldn't connect to server curl.(http://127.0.0.1:6876/nxt?requestType=getBlock&block=148840157653693207
5 (null) (null))
retries.1 total retries.25, numcurls.51540 numrecovered.25 numfails.0
0) Mycoin t13992532 3067649737425082996 txid.3067649737425082996
722) 88328 t13992532 >>>>>>>>>>>> AE transfer.2.0: GENESIS -> NXT.7765268329502954599 qty 0.00001000
curl_easy_perform() failed: Couldn't connect to server curl.(http://127.0.0.1:6876/nxt?requestType=getBlock&block=147427217846712838
35 (null) (null))
retries.1 total retries.26, numcurls.51786 numrecovered.26 numfails.0
1) beergood t14022060 6086938743854621170 txid.6086938743854621170
723) 88645 t14022060 >>>>>>>>>>>> AE transfer.2.0: GENESIS -> NXT.7148246655513798937 qty 0.00005000
51999: ave  3.648359 | elapsed 11.000 millis | NXT calls.(http://127.0.0.1:6876/nxt?requestType=getTransaction&transaction=168777411
47461964472)
curl_easy_perform() failed: Couldn't connect to server curl.(http://127.0.0.1:6876/nxt?requestType=getBlock&block=253396058988006989
 (null) (null))
retries.1 total retries.27, numcurls.52014 numrecovered.27 numfails.0
process_NXTorrent_AM got jsontxt.({
        "seller":       "8989816935121514892",
        "listingid":    "2987944098757996244",
        "title":        "test",
        "price":        "1.01000000",
        "status":       "inactive listing",
        "listedtime":   14031049,
        "expiration":   14074249,
        "duration":     "12.00000000",
        "category1":    "cat1",
        "category2":    "cat2",
        "category3":    "cat3",
        "tag1": "tag1",
        "tag2": "tag2",
        "tag3": "tag3",
        "URI":  "www.google.com",
        "description":  "this is a description"
}) 307489792565041855
Logged
NXT-CSED-4PK5-AR4V-6UB5V

frohlocke

  • Sr. Member
  • ****
  • Karma: +27/-13
  • Offline Offline
  • Posts: 494
    • View Profile
Re: NXTservices_v05 - added MGW deposits
« Reply #19 on: May 28, 2014, 11:21:34 am »

I am not a technican just a simple economist. request type get time seems not work due to this connection problems.
Logged
Pages: [1] 2 3 4  All
 

elective-stereophonic
elective-stereophonic
assembly
assembly