elective-stereophonic
elective-stereophonic
NRS v1.4.8  
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 ... 7  All

Author Topic: NRS v1.4.8  (Read 31613 times)

nxt SILVR

  • Jr. Member
  • **
  • Karma: +2/-0
  • Offline Offline
  • Posts: 33
    • View Profile
Re: NRS v1.4.8
« Reply #20 on: January 12, 2015, 10:53:45 am »

Thanks for your great Work JL!

I have a Problem with 1.4.8: Ican´t mint anymore.

It was a connection Problem to the Server:

2015-01-11 23:20:26 INFO: nxt.mint.isSubmitted = "true"
2015-01-11 23:20:27 INFO: nxt.maxRollback = "1440"
2015-01-11 23:20:27 INFO: nxt.isTestnet = "false"
2015-01-11 23:20:27 INFO: nxt.isOffline = "false"
2015-01-11 23:20:27 INFO: nxt.trimDerivedTables = "true"
2015-01-11 23:20:27 INFO: nxt.numberOfForkConfirmations = "5"
2015-01-11 23:20:27 INFO: nxt.disableGetMoreBlocksThread not defined, assuming false
2015-01-11 23:20:27 INFO: nxt.dbCacheKB = "0"
2015-01-11 23:20:27 INFO: nxt.dbUrl = "jdbc:h2:nxt_db/nxt;DB_CLOSE_ON_EXIT=FALSE;MVCC=TRUE"
2015-01-11 23:20:27 INFO: nxt.maxDbConnections = "30"
2015-01-11 23:20:27 INFO: nxt.dbLoginTimeout = "70"
2015-01-11 23:20:27 INFO: nxt.dbDefaultLockTimeout = "60"
2015-01-11 23:20:27 INFO: nxt.mint.serverAddress not defined
2015-01-11 23:20:27 INFO: nxt.mint.useHttps = "false"
2015-01-11 23:20:27 INFO: nxt.apiServerPort = "7876"
2015-01-11 23:20:27 FINE: Sending request to server: http://192.168.178.28:7876/nxt?code=SILVR&requestType=getCurrency
2015-01-11 23:20:27 INFO: Error connecting to server
java.net.ConnectException: Connection refused

...and some more not relevant I think.

any Idea?
With 1.4.7.1 everything worked fine, but it hangs up when I try to transfer MS Coins.
Logged

Riker

  • Core Dev
  • Hero Member
  • *****
  • Karma: +440/-42
  • Offline Offline
  • Posts: 1796
    • View Profile
Re: NRS v1.4.8
« Reply #21 on: January 12, 2015, 11:03:20 am »

any Idea?
With 1.4.7.1 everything worked fine, but it hangs up when I try to transfer MS Coins.

Are you sure your node http://192.168.178.28:7876/ is up and running and is accessible from your workstation (not blocked by a firewall for example) ?
What response do you get if you paste http://192.168.178.28:7876/nxt?code=SILVR&requestType=getCurrency into the browser address bar ?
Logged
NXT Core Dev
Account: NXT-HBFW-X8TE-WXPW-DZFAG
Public Key: D8311651 Key fingerprint: 0560 443B 035C EE08 0EC0  D2DD 275E 94A7 D831 1651

nxt SILVR

  • Jr. Member
  • **
  • Karma: +2/-0
  • Offline Offline
  • Posts: 33
    • View Profile
Re: NRS v1.4.8
« Reply #22 on: January 12, 2015, 11:08:30 am »

any Idea?
With 1.4.7.1 everything worked fine, but it hangs up when I try to transfer MS Coins.

Are you sure your node http://192.168.178.28:7876/ is up and running and is accessible from your workstation (not blocked by a firewall for example) ?
What response do you get if you paste http://192.168.178.28:7876/nxt?code=SILVR&requestType=getCurrency into the browser address bar ?

There`s no connection in the Browser.
nxt Server and mint Terminal are on the same MacbookPro, server started successfully.
It worked Properly without any Changes in 1.4.7.1
Router is forwarding ports 7874-7876, 192.168.178.28 is the MacBooks local IP.
Logged

Riker

  • Core Dev
  • Hero Member
  • *****
  • Karma: +440/-42
  • Offline Offline
  • Posts: 1796
    • View Profile
Re: NRS v1.4.8
« Reply #23 on: January 12, 2015, 11:17:09 am »

any Idea?
With 1.4.7.1 everything worked fine, but it hangs up when I try to transfer MS Coins.

Are you sure your node http://192.168.178.28:7876/ is up and running and is accessible from your workstation (not blocked by a firewall for example) ?
What response do you get if you paste http://192.168.178.28:7876/nxt?code=SILVR&requestType=getCurrency into the browser address bar ?

There`s no connection in the Browser.
nxt Server and mint Terminal are on the same MacbookPro, server started successfully.
It worked Properly without any Changes in 1.4.7.1
Router is forwarding ports 7874-7876, 192.168.178.28 is the MacBooks local IP.

Can't think of any change between 1.4.7.1 and 1.4.8 which can explain this. Why don't you use address localhost or 127.0.0.1 ?
Logged
NXT Core Dev
Account: NXT-HBFW-X8TE-WXPW-DZFAG
Public Key: D8311651 Key fingerprint: 0560 443B 035C EE08 0EC0  D2DD 275E 94A7 D831 1651

Riker

  • Core Dev
  • Hero Member
  • *****
  • Karma: +440/-42
  • Offline Offline
  • Posts: 1796
    • View Profile
Re: NRS v1.4.8
« Reply #24 on: January 12, 2015, 11:20:32 am »

"Next page" in My Currencies is still not functional.

I don't have a test case for this on the testnet, just from stepping into the code with debugger I don't see any obvious problem.
Do you mean that the "Next page" button appears but does nothing when clicked or it does not appear at all ?
Logged
NXT Core Dev
Account: NXT-HBFW-X8TE-WXPW-DZFAG
Public Key: D8311651 Key fingerprint: 0560 443B 035C EE08 0EC0  D2DD 275E 94A7 D831 1651

nxt SILVR

  • Jr. Member
  • **
  • Karma: +2/-0
  • Offline Offline
  • Posts: 33
    • View Profile
Re: NRS v1.4.8
« Reply #25 on: January 12, 2015, 11:23:05 am »

any Idea?
With 1.4.7.1 everything worked fine, but it hangs up when I try to transfer MS Coins.

Are you sure your node http://192.168.178.28:7876/ is up and running and is accessible from your workstation (not blocked by a firewall for example) ?
What response do you get if you paste http://192.168.178.28:7876/nxt?code=SILVR&requestType=getCurrency into the browser address bar ?

There`s no connection in the Browser.
nxt Server and mint Terminal are on the same MacbookPro, server started successfully.
It worked Properly without any Changes in 1.4.7.1
Router is forwarding ports 7874-7876, 192.168.178.28 is the MacBooks local IP.

Can't think of any change between 1.4.7.1 and 1.4.8 which can explain this. Why don't you use address localhost or 127.0.0.1 ?

Blame on me, I forgot to insert "localhost" in .conf File... :-\
Logged

egold

  • Full Member
  • ***
  • Karma: +20/-2
  • Offline Offline
  • Posts: 235
    • View Profile
Re: NRS v1.4.8
« Reply #26 on: January 12, 2015, 11:28:42 am »

"Next page" in My Currencies is still not functional.

I don't have a test case for this on the testnet, just from stepping into the code with debugger I don't see any obvious problem.
Do you mean that the "Next page" button appears but does nothing when clicked or it does not appear at all ?

When I click on Next page, the Previous page link appears, but I still see the first page filled with currencies, and the currency that didn't fit in the first page doesn't appear. This bug is only present in My Currencies, not in All Currencies.
Logged
EGOLD - first mintable ASIC resistant Keccak25 coin. Converting electric power to value!

egold

  • Full Member
  • ***
  • Karma: +20/-2
  • Offline Offline
  • Posts: 235
    • View Profile
Re: NRS v1.4.8
« Reply #27 on: January 12, 2015, 11:31:34 am »

Minter in 1.4.8 tries to connect to 127.0.1.1 instead of 127.0.0.1 even though nxt.mint.serverAddress= is left blank? nxt.mint.useHttps set to true.
Logged
EGOLD - first mintable ASIC resistant Keccak25 coin. Converting electric power to value!

Riker

  • Core Dev
  • Hero Member
  • *****
  • Karma: +440/-42
  • Offline Offline
  • Posts: 1796
    • View Profile
Re: NRS v1.4.8
« Reply #28 on: January 12, 2015, 11:39:41 am »

Minter in 1.4.8 tries to connect to 127.0.1.1 instead of 127.0.0.1 even though nxt.mint.serverAddress= is left blank? nxt.mint.useHttps set to true.

Here is the mint worker controlling the default server address:
       
Code: [Select]
String host = Convert.emptyToNull(Nxt.getStringProperty("nxt.mint.serverAddress"));
        if (host == null) {
            try {
                host = InetAddress.getLocalHost().getHostAddress();
            } catch (UnknownHostException e) {
                host = "localhost";
            }
        }

Perhaps you have a typo in your hosts file which makes 127.0.1.1 your localhost ?
Logged
NXT Core Dev
Account: NXT-HBFW-X8TE-WXPW-DZFAG
Public Key: D8311651 Key fingerprint: 0560 443B 035C EE08 0EC0  D2DD 275E 94A7 D831 1651

egold

  • Full Member
  • ***
  • Karma: +20/-2
  • Offline Offline
  • Posts: 235
    • View Profile
Re: NRS v1.4.8
« Reply #29 on: January 12, 2015, 11:45:30 am »

Minter in 1.4.8 tries to connect to 127.0.1.1 instead of 127.0.0.1 even though nxt.mint.serverAddress= is left blank? nxt.mint.useHttps set to true.

Here is the mint worker controlling the default server address:
       
Code: [Select]
String host = Convert.emptyToNull(Nxt.getStringProperty("nxt.mint.serverAddress"));
        if (host == null) {
            try {
                host = InetAddress.getLocalHost().getHostAddress();
            } catch (UnknownHostException e) {
                host = "localhost";
            }
        }

Perhaps you have a typo in your hosts file which makes 127.0.1.1 your localhost ?

You're right, sorry. I had a typo in the hosts file.
Logged
EGOLD - first mintable ASIC resistant Keccak25 coin. Converting electric power to value!

bidji29

  • Sr. Member
  • ****
  • Karma: +53/-11
  • Offline Offline
  • Posts: 250
    • View Profile
Re: NRS v1.4.8
« Reply #30 on: January 12, 2015, 12:35:07 pm »

when mining scrypt, i got an error when i found a block (ELEMS) :

Quote
FINE: pool-1-thread-31 found solution hash SCRYPT nonce -7124071804335481660 currencyId 7035962084481354251 units 250000 counter 5 accountId -5637390871643110496 hash [-7, 86, 83, 78, -104, 4, -6, 96, 76, -65, 115, -56, -81, -57, 71, -3, 98, -50, 38, -40, -58, -117, 118, 100, 42, -98, 112, 41, 9, 0, 0, 0] meets target [-98, -52, 63, -6, 38, 77, -125, -94, 121, 0, -117, -4, -6, 33, 54, 88, 56, 73, -13, -57, -76, 54, -115, -19, -75, -96, -9, -58, 16, 0, 0, 0]
2015-01-12 01:26:59 INFO: solution nonce -7124071804335481660 unitsNQT 250000 counter 5 computed hashes 110079806 time [sec] 5325.89 hash rate [KH/Sec] 20 actual time vs. expected 0.43 is submitted true
2015-01-12 01:26:59 INFO: nxt.mint.serverAddress = "localhost"
2015-01-12 01:26:59 INFO: nxt.mint.useHttps = "false"
2015-01-12 01:26:59 INFO: nxt.apiServerPort = "7876"
2015-01-12 01:26:59 FINE: Sending request to server: http://localhost:7876/nxt?nonce=-7124071804335481660&secretPhrase=hunter2&counter=5&requestType=currencyMint&feeNQT=100000000&deadline=120&units=250000&currency=7035962084481354251
2015-01-12 01:26:59 INFO: currency mint response:{"fullHash":"1acec09333e9eeee5266d62bb3f293fe9eba860f0b3435a1d26a0ee17233be34","requestProcessingTime":3,"transactionBytes":"0517a338210278002cb31f8c1f658877929eebc0e95ebd83be9a67ce770e5b785936d1feb46c4b104add89a5076a2218000000000000000000e1f505000000000000000000000000000000000000000000000000000000000000000000000000a0630a8aac816a7d1f3ba5e261572cdf5ccbfe3c8bb179769ffb408710854f042e2aa1e022faee6f0e0e14f2020ff747c3f504f06ebc1e1db0f64ed4bc9b2c2600000000860c05003f900731b01c836c01c41c355c7036229d0bcaa0da3cc2a46190d00300000000000500000000000000","signatureHash":"947fa6cd3e55633e5f69e00c56f59c89f9dca80fd602a89b82aaea2d773056ba","error":"Counter 5 has to be bigger than 5","transaction":"17216954833215475226"}

What's the problem?
Logged

egold

  • Full Member
  • ***
  • Karma: +20/-2
  • Offline Offline
  • Posts: 235
    • View Profile
Re: NRS v1.4.8
« Reply #31 on: January 12, 2015, 12:35:34 pm »

Minting with more than one machine/worker, when one of them makes a mint, does the other one receive a notification of this event in the blockchain and increment the counter? My guess is it is not notified, and produces this "error":"Counter 19 has to be bigger than 19". Is this a known issue?
Logged
EGOLD - first mintable ASIC resistant Keccak25 coin. Converting electric power to value!

Riker

  • Core Dev
  • Hero Member
  • *****
  • Karma: +440/-42
  • Offline Offline
  • Posts: 1796
    • View Profile
Re: NRS v1.4.8
« Reply #32 on: January 12, 2015, 12:41:49 pm »

Minting with more than one machine/worker, when one of them makes a mint, does the other one receive a notification of this event in the blockchain and increment the counter? My guess is it is not notified, and produces this "error":"Counter 19 has to be bigger than 19". Is this a known issue?

Yes, every mint transaction for currency/account needs to have a higher counter than all previous mints or otherwise you could just submit the same hash again and again.
If you are minting from two machines setup each machine to mint on a different account.
Logged
NXT Core Dev
Account: NXT-HBFW-X8TE-WXPW-DZFAG
Public Key: D8311651 Key fingerprint: 0560 443B 035C EE08 0EC0  D2DD 275E 94A7 D831 1651

bidji29

  • Sr. Member
  • ****
  • Karma: +53/-11
  • Offline Offline
  • Posts: 250
    • View Profile
Re: NRS v1.4.8
« Reply #33 on: January 12, 2015, 12:43:39 pm »

Minting with more than one machine/worker, when one of them makes a mint, does the other one receive a notification of this event in the blockchain and increment the counter? My guess is it is not notified, and produces this "error":"Counter 19 has to be bigger than 19". Is this a known issue?


Seems like it.
I minted an ELEMS on another machine on the same account when the worker was still searching
Logged

nxt SILVR

  • Jr. Member
  • **
  • Karma: +2/-0
  • Offline Offline
  • Posts: 33
    • View Profile
Re: NRS v1.4.8
« Reply #34 on: January 12, 2015, 12:58:11 pm »

I´m trying to transfer some SILVR to the MS Promotion Fund.
But always the transfer Window keeps open and nothing happens for at least 1 hour.
Any Idea what to do?
Logged

HolgerD77

  • Sr. Member
  • ****
  • Karma: +49/-0
  • Offline Offline
  • Posts: 299
    • View Profile
Re: NRS v1.4.8
« Reply #35 on: January 12, 2015, 01:18:40 pm »

If you want to help with NRS client translation for Monetary System:
https://nxtforum.org/nrs-client-development/nrs-client-translations-for-monetary-system/
Logged
NXT-AQ9F-JC4F-NCM2-4JSXZ

Jimmy2011

  • Sr. Member
  • ****
  • Karma: +24/-19
  • Offline Offline
  • Posts: 329
    • View Profile
Re: NRS v1.4.8
« Reply #36 on: January 12, 2015, 01:22:55 pm »


What does "counter" mean?

BTW, can I mine 2 coins at two computers with the same account? Each computer mine one coin.
Logged
NXT-LX5G-L63N-ST8S-9LVZY

bidji29

  • Sr. Member
  • ****
  • Karma: +53/-11
  • Offline Offline
  • Posts: 250
    • View Profile
Re: NRS v1.4.8
« Reply #37 on: January 12, 2015, 01:30:42 pm »

POW miner generally detect when a block is found and automatically search with the new hash


Is it possible to make the same  things for the minting? Having the same account for different machine is a lot easier to setup.

Is there any plan to improve the mint tool or you 'll let that for  3rd party?
Logged

shin

  • Sr. Member
  • ****
  • Karma: +47/-4
  • Offline Offline
  • Posts: 456
    • View Profile
Re: NRS v1.4.8
« Reply #38 on: January 12, 2015, 01:36:33 pm »


What does "counter" mean?

BTW, can I mine 2 coins at two computers with the same account? Each computer mine one coin.
Correct me if I'm wrong here, but I read it on the wiki that the mint restriction is that there can only be one mint transaction per account per currency per block while the amount of minted currency units is not exceeding the 1/10'000 limit.

Quote
Is there any plan to improve the mint tool or you 'll let that for  3rd party?
I am guessing that the development of improved minting tool is stressed to the 4rd party. Unless in case of urgent matter (such as bugs fixing or adding new essential features).
Logged
Wallet: NXT-ELEB-XT6G-L475-HXRFX • 18354136531262130569 • Twitter: Shin NXT

Riker

  • Core Dev
  • Hero Member
  • *****
  • Karma: +440/-42
  • Offline Offline
  • Posts: 1796
    • View Profile
Re: NRS v1.4.8
« Reply #39 on: January 12, 2015, 03:13:13 pm »


What does "counter" mean?

BTW, can I mine 2 coins at two computers with the same account? Each computer mine one coin.
Counter prevents you from submitting the same nonce multiple times its unique per currency/account and always increases

And for two currencies on two machines - yes you can
Logged
NXT Core Dev
Account: NXT-HBFW-X8TE-WXPW-DZFAG
Public Key: D8311651 Key fingerprint: 0560 443B 035C EE08 0EC0  D2DD 275E 94A7 D831 1651
Pages: 1 [2] 3 4 ... 7  All
 

elective-stereophonic
elective-stereophonic
assembly
assembly