|
l8orre
Legendary
Offline
Activity: 1181
Merit: 1018
|
|
March 04, 2014, 09:47:39 AM |
|
possible bug: Asset 'UniGots' on the AE looks OK: http://localhost:6876/nxt?asset=16739598998421896224&requestType=getAssetquantity - 1347 account - 1738404304940813414 name - UniGots description - pink Unicorn Ingots BUT:When I use the 'getTrades' api call on UniGots http://localhost:6876/nxt?requestType=getTrades&asset=16739598998421896224&lastIndex=&firstIndex= caught reply back from api: {'error': 'java.lang.ArrayIndexOutOfBoundsException: 10', 'trades': [{'quantity': 5, 'askOrderId': '16804729641686889636', 'price': 13500, 'timestamp': 8021490, 'bidOrderId': '16894845653194739948'}, {'quantity': 1, 'askOrderId': '16804729641686889636', 'price': 13500, 'timestamp': 8025375, 'bidOrderId': '14455203640957777987'}, {'quantity': 7, 'askOrderId': '7839783522903260472', 'price': 13400, 'timestamp': 8026163, 'bidOrderId': '14467462901247063168'}, {'quantity': 4, 'askOrderId': '16048137907548087764', 'price': 100, 'timestamp': 8032357, 'bidOrderId': '15746707519176847489'}, {'quantity': 2, 'askOrderId': '16048137907548087764', 'price': 100, 'timestamp': 8033226, 'bidOrderId': '8319185166921374940'}, {'quantity': 3, 'askOrderId': '16048137907548087764', 'price': 100, 'timestamp': 8036442, 'bidOrderId': '6577882615661649354'}, {'quantity': 1, 'askOrderId': '16048137907548087764', 'price': 100, 'timestamp': 8036795, 'bidOrderId': '13788441733067440409'}, {'quantity': 2, 'askOrderId': '5931858299805989527', 'price': 100, 'timestamp': 8036795, 'bidOrderId': '13788441733067440409'}, {'quantity': 3, 'askOrderId': '5931858299805989527', 'price': 100, 'timestamp': 8053725, 'bidOrderId': '18116073350319174941'}, {'quantity': 5, 'askOrderId': '8019245057507275010', 'price': 2000, 'timestamp': 8053725, 'bidOrderId': '18116073350319174941'}]} The results look good, but the NRS adds a java complaint - can anyone reproduce this ??
|
|
|
|
l8orre
Legendary
Offline
Activity: 1181
Merit: 1018
|
|
March 04, 2014, 09:49:32 AM |
|
Can someone who has a test server enable API cors and api access? (two settings in nxt-default.properties)
And tell me the server name so I can use that. The bug.airdns.org doesn't accept API access...
So that my online nxt client will work again.
Not sure I got all the settings right, here is the nxt.log output Server IP is 209.126.73.160 James [2014-03-04 03:37:37.244] Debug logging disabled [2014-03-04 03:37:37.244] Exception stack traces enabled [2014-03-04 03:37:37.244] nxt.isTestnet = "true" [2014-03-04 03:37:37.247] logging enabled [2014-03-04 03:37:37.248] nxt.debugJetty = "false" [2014-03-04 03:37:37.249] nxt.dbCacheKB = "0" [2014-03-04 03:37:37.249] nxt.testDbUrl = "jdbc:h2:nxt_test_db/nxt;DB_CLOSE_ON_EXIT=FALSE" [2014-03-04 03:37:37.277] nxt.maxDbConnections = "10" [2014-03-04 03:37:37.278] nxt.dbLoginTimeout = "70" [2014-03-04 03:37:37.969] Database is at level 15 [2014-03-04 03:37:37.973] Updated database is at level 15 [2014-03-04 03:37:38.007] nxt.myPlatform = "PC" [2014-03-04 03:37:38.008] nxt.myAddress not defined, assuming null [2014-03-04 03:37:38.008] nxt.peerServerPort = "7874" [2014-03-04 03:37:38.008] nxt.shareMyAddress = "true" [2014-03-04 03:37:38.008] nxt.myHallmark not defined, assuming null [2014-03-04 03:37:38.009] nxt.testnetPeers = "bug.airdns.org" [2014-03-04 03:37:38.009] nxt.knownBlacklistedPeers not defined, assuming null [2014-03-04 03:37:38.010] nxt.maxNumberOfConnectedPublicPeers = "20" [2014-03-04 03:37:38.010] nxt.connectTimeout = "2000" [2014-03-04 03:37:38.010] nxt.readTimeout = "5000" [2014-03-04 03:37:38.010] nxt.enableHallmarkProtection = "true" [2014-03-04 03:37:38.010] nxt.pushThreshold = "0" [2014-03-04 03:37:38.011] nxt.pullThreshold = "0" [2014-03-04 03:37:38.011] nxt.blacklistingPeriod = "300000" [2014-03-04 03:37:38.011] nxt.communicationLoggingMask = "0" [2014-03-04 03:37:38.011] nxt.sendToPeersLimit = "10" [2014-03-04 03:37:38.157] nxt.peerServerHost = "0.0.0.0" [2014-03-04 03:37:38.157] nxt.peerServerIdleTimeout = "5000" [2014-03-04 03:37:38.290] nxt.enablePeerServerDoSFilter = "true" [2014-03-04 03:37:38.299] nxt.peerServerDoSFilter.maxRequestsPerSec = "30" [2014-03-04 03:37:38.299] nxt.peerServerDoSFilter.delayMs = "1000" [2014-03-04 03:37:38.300] nxt.peerServerDoSFilter.maxRequestMs = "300000" [2014-03-04 03:37:38.303] nxt.allowedBotHosts = "127.0.0.1; localhost; 0:0:0:0:0:0:0:1;" [2014-03-04 03:37:38.304] nxt.enableAPIServer = "true" [2014-03-04 03:37:38.304] nxt.apiServerHost = "127.0.0.1" [2014-03-04 03:37:38.304] nxt.apiSSL = "false" [2014-03-04 03:37:38.305] nxt.apiServerIdleTimeout = "30000" [2014-03-04 03:37:38.307] nxt.apiResourceBase = "html/tools" [2014-03-04 03:37:38.343] nxt.javadocResourceBase = "html/doc" [2014-03-04 03:37:38.354] nxt.apiServerCORS = "true" [2014-03-04 03:37:38.367] nxt.allowedUserHosts = "127.0.0.1; localhost; 0:0:0:0:0:0:0:1;" [2014-03-04 03:37:38.367] nxt.enableUIServer = "true" [2014-03-04 03:37:38.367] nxt.uiServerHost = "127.0.0.1" [2014-03-04 03:37:38.367] nxt.uiSSL = "false" [2014-03-04 03:37:38.368] nxt.uiServerIdleTimeout = "30000" [2014-03-04 03:37:38.368] nxt.uiResourceBase = "html/nrs" [2014-03-04 03:37:38.369] nxt.javadocResourceBase = "html/doc" [2014-03-04 03:37:38.370] nxt.uiServerCORS = "false" [2014-03-04 03:37:38.394] Genesis block already in database [2014-03-04 03:37:38.394] Scanning blockchain...
it should eventually confirm for TESTNET, shouldn't it ?? azo@box:~/workbench/nxt_084e$ ./run.sh Initializing Nxt server version 0.8.4e [2014-03-04 09:32:17.681] nxt.debug = "false" [2014-03-04 09:32:17.682] nxt.enableStackTraces = "true" [2014-03-04 09:32:17.682] nxt.log = "nxt.log" [2014-03-04 09:32:17.683] Debug logging disabled [2014-03-04 09:32:17.683] Exception stack traces enabled [2014-03-04 09:32:17.683] nxt.isTestnet = "true" [2014-03-04 09:32:17.685] logging enabled [2014-03-04 09:32:17.685] nxt.debugJetty = "false" [2014-03-04 09:32:17.686] nxt.dbCacheKB = "0" [2014-03-04 09:32:17.686] nxt.testDbUrl = "jdbc:h2:nxt_test_db/nxt;DB_CLOSE_ON_EXIT=FALSE" [2014-03-04 09:32:17.703] nxt.maxDbConnections = "10" [2014-03-04 09:32:17.703] nxt.dbLoginTimeout = "70" [2014-03-04 09:32:18.234] Database is at level 15 [2014-03-04 09:32:18.237] Updated database is at level 15 [2014-03-04 09:32:18.264] nxt.myPlatform = "LINUX" [2014-03-04 09:32:18.264] nxt.myAddress not defined, assuming null [2014-03-04 09:32:18.264] nxt.peerServerPort = "7874" [2014-03-04 09:32:18.264] nxt.shareMyAddress = "true" [2014-03-04 09:32:18.264] nxt.myHallmark not defined, assuming null [2014-03-04 09:32:18.265] nxt.testnetPeers = "bug.airdns.org" [2014-03-04 09:32:18.265] nxt.knownBlacklistedPeers not defined, assuming null [2014-03-04 09:32:18.266] nxt.maxNumberOfConnectedPublicPeers = "20" [2014-03-04 09:32:18.266] nxt.connectTimeout = "2000" [2014-03-04 09:32:18.266] nxt.readTimeout = "5000" [2014-03-04 09:32:18.266] nxt.enableHallmarkProtection = "true" [2014-03-04 09:32:18.266] nxt.pushThreshold = "0" [2014-03-04 09:32:18.266] nxt.pullThreshold = "0" [2014-03-04 09:32:18.267] nxt.blacklistingPeriod = "300000" [2014-03-04 09:32:18.267] nxt.communicationLoggingMask = "0" [2014-03-04 09:32:18.267] nxt.sendToPeersLimit = "10" [2014-03-04 09:32:18.373] nxt.peerServerHost = "0.0.0.0" [2014-03-04 09:32:18.373] nxt.peerServerIdleTimeout = "5000" [2014-03-04 09:32:18.394] nxt.enablePeerServerDoSFilter = "true" [2014-03-04 09:32:18.418] nxt.peerServerDoSFilter.maxRequestsPerSec = "30" [2014-03-04 09:32:18.418] nxt.peerServerDoSFilter.delayMs = "1000" [2014-03-04 09:32:18.418] nxt.peerServerDoSFilter.maxRequestMs = "300000" [2014-03-04 09:32:18.420] nxt.allowedBotHosts = "127.0.0.1; localhost; 0:0:0:0:0:0:0:1;" [2014-03-04 09:32:18.420] nxt.enableAPIServer = "true" [2014-03-04 09:32:18.421] nxt.apiServerHost = "127.0.0.1" [2014-03-04 09:32:18.421] nxt.apiSSL = "false" [2014-03-04 09:32:18.421] nxt.apiServerIdleTimeout = "30000" [2014-03-04 09:32:18.422] nxt.apiResourceBase = "html/tools" [2014-03-04 09:32:18.441] nxt.javadocResourceBase = "html/doc" [2014-03-04 09:32:18.448] nxt.apiServerCORS = "true" [2014-03-04 09:32:18.456] nxt.allowedUserHosts = "127.0.0.1; localhost; 0:0:0:0:0:0:0:1;" [2014-03-04 09:32:18.457] nxt.enableUIServer = "true" [2014-03-04 09:32:18.457] nxt.uiServerHost = "127.0.0.1" [2014-03-04 09:32:18.457] nxt.uiSSL = "false" [2014-03-04 09:32:18.458] nxt.uiServerIdleTimeout = "30000" [2014-03-04 09:32:18.458] nxt.uiResourceBase = "html/nrs" [2014-03-04 09:32:18.458] nxt.javadocResourceBase = "html/doc" [2014-03-04 09:32:18.459] nxt.uiServerCORS = "false" [2014-03-04 09:32:18.473] Genesis block already in database [2014-03-04 09:32:18.473] Scanning blockchain... [2014-03-04 09:32:33.569] ...done [2014-03-04 09:32:33.614] Started peer networking server at 0.0.0.0:6874 [2014-03-04 09:32:33.621] Started API server at 127.0.0.1:6876 [2014-03-04 09:32:33.671] Started user interface server at 127.0.0.1:6875 [2014-03-04 09:32:33.676] Nxt server 0.8.4e started successfully. [2014-03-04 09:32:33.676] RUNNING ON TESTNET - DO NOT USE REAL ACCOUNTS! [2014-03-04 09:36:28.260] nxt.apiServerEnforcePOST = "true"
|
|
|
|
Meizirkki
|
|
March 04, 2014, 09:50:19 AM |
|
It is NOT SAFE to send any transactions with real accounts on test net, Because Those transactions can be replayed on the real blockchain. Does this mean that if I send 25k testnxt from a test account to another, I could put the same transaction into the main net without actually having the coins?
|
|
|
|
NxtMinnow
Member
Offline
Activity: 84
Merit: 10
|
|
March 04, 2014, 09:50:31 AM |
|
|
|
|
|
Jean-Luc
|
|
March 04, 2014, 09:51:56 AM |
|
Can someone who has a test server enable API cors and api access? (two settings in nxt-default.properties)
And tell me the server name so I can use that. The bug.airdns.org doesn't accept API access...
So that my online nxt client will work again.
Not sure I got all the settings right, here is the nxt.log output Server IP is 209.126.73.160 James [2014-03-04 03:37:37.244] Debug logging disabled [2014-03-04 03:37:37.244] Exception stack traces enabled [2014-03-04 03:37:37.244] nxt.isTestnet = "true" [2014-03-04 03:37:37.247] logging enabled [2014-03-04 03:37:37.248] nxt.debugJetty = "false" [2014-03-04 03:37:37.249] nxt.dbCacheKB = "0" [2014-03-04 03:37:37.249] nxt.testDbUrl = "jdbc:h2:nxt_test_db/nxt;DB_CLOSE_ON_EXIT=FALSE" [2014-03-04 03:37:37.277] nxt.maxDbConnections = "10" [2014-03-04 03:37:37.278] nxt.dbLoginTimeout = "70" [2014-03-04 03:37:37.969] Database is at level 15 [2014-03-04 03:37:37.973] Updated database is at level 15 [2014-03-04 03:37:38.007] nxt.myPlatform = "PC" [2014-03-04 03:37:38.008] nxt.myAddress not defined, assuming null [2014-03-04 03:37:38.008] nxt.peerServerPort = "7874" [2014-03-04 03:37:38.008] nxt.shareMyAddress = "true" [2014-03-04 03:37:38.008] nxt.myHallmark not defined, assuming null [2014-03-04 03:37:38.009] nxt.testnetPeers = "bug.airdns.org" [2014-03-04 03:37:38.009] nxt.knownBlacklistedPeers not defined, assuming null [2014-03-04 03:37:38.010] nxt.maxNumberOfConnectedPublicPeers = "20" [2014-03-04 03:37:38.010] nxt.connectTimeout = "2000" [2014-03-04 03:37:38.010] nxt.readTimeout = "5000" [2014-03-04 03:37:38.010] nxt.enableHallmarkProtection = "true" [2014-03-04 03:37:38.010] nxt.pushThreshold = "0" [2014-03-04 03:37:38.011] nxt.pullThreshold = "0" [2014-03-04 03:37:38.011] nxt.blacklistingPeriod = "300000" [2014-03-04 03:37:38.011] nxt.communicationLoggingMask = "0" [2014-03-04 03:37:38.011] nxt.sendToPeersLimit = "10" [2014-03-04 03:37:38.157] nxt.peerServerHost = "0.0.0.0" [2014-03-04 03:37:38.157] nxt.peerServerIdleTimeout = "5000" [2014-03-04 03:37:38.290] nxt.enablePeerServerDoSFilter = "true" [2014-03-04 03:37:38.299] nxt.peerServerDoSFilter.maxRequestsPerSec = "30" [2014-03-04 03:37:38.299] nxt.peerServerDoSFilter.delayMs = "1000" [2014-03-04 03:37:38.300] nxt.peerServerDoSFilter.maxRequestMs = "300000" [2014-03-04 03:37:38.303] nxt.allowedBotHosts = "127.0.0.1; localhost; 0:0:0:0:0:0:0:1;" [2014-03-04 03:37:38.304] nxt.enableAPIServer = "true" [2014-03-04 03:37:38.304] nxt.apiServerHost = "127.0.0.1" [2014-03-04 03:37:38.304] nxt.apiSSL = "false" [2014-03-04 03:37:38.305] nxt.apiServerIdleTimeout = "30000" [2014-03-04 03:37:38.307] nxt.apiResourceBase = "html/tools" [2014-03-04 03:37:38.343] nxt.javadocResourceBase = "html/doc" [2014-03-04 03:37:38.354] nxt.apiServerCORS = "true" [2014-03-04 03:37:38.367] nxt.allowedUserHosts = "127.0.0.1; localhost; 0:0:0:0:0:0:0:1;" [2014-03-04 03:37:38.367] nxt.enableUIServer = "true" [2014-03-04 03:37:38.367] nxt.uiServerHost = "127.0.0.1" [2014-03-04 03:37:38.367] nxt.uiSSL = "false" [2014-03-04 03:37:38.368] nxt.uiServerIdleTimeout = "30000" [2014-03-04 03:37:38.368] nxt.uiResourceBase = "html/nrs" [2014-03-04 03:37:38.369] nxt.javadocResourceBase = "html/doc" [2014-03-04 03:37:38.370] nxt.uiServerCORS = "false" [2014-03-04 03:37:38.394] Genesis block already in database [2014-03-04 03:37:38.394] Scanning blockchain...
To make API accessible from outside, you also need to set: nxt.apiServerHost=0.0.0.0 nxt.allowedBotHosts=*
|
|
|
|
Damelon
Legendary
Offline
Activity: 1092
Merit: 1010
|
|
March 04, 2014, 09:52:39 AM |
|
They seem to be right there When I looked an hour ago we were at 2% and now we are at 18%, and second place Keep voting!
|
|
|
|
jl777
Legendary
Offline
Activity: 1176
Merit: 1134
|
|
March 04, 2014, 09:57:11 AM |
|
To make API accessible from outside, you also need to set: nxt.apiServerHost=0.0.0.0 nxt.allowedBotHosts=*
OK, did that and restarted I still cant invoke the local API... How do I use curl to talk to it? James [2014-03-04 03:54:22.438] Debug logging disabled [2014-03-04 03:54:22.438] Exception stack traces enabled [2014-03-04 03:54:22.438] nxt.isTestnet = "true" [2014-03-04 03:54:22.441] logging enabled [2014-03-04 03:54:22.442] nxt.debugJetty = "false" [2014-03-04 03:54:22.443] nxt.dbCacheKB = "0" [2014-03-04 03:54:22.443] nxt.testDbUrl = "jdbc:h2:nxt_test_db/nxt;DB_CLOSE_ON_EXIT=FALSE" [2014-03-04 03:54:22.471] nxt.maxDbConnections = "10" [2014-03-04 03:54:22.471] nxt.dbLoginTimeout = "70" [2014-03-04 03:54:23.157] Database is at level 15 [2014-03-04 03:54:23.162] Updated database is at level 15 [2014-03-04 03:54:23.196] nxt.myPlatform = "PC" [2014-03-04 03:54:23.196] nxt.myAddress not defined, assuming null [2014-03-04 03:54:23.197] nxt.peerServerPort = "7874" [2014-03-04 03:54:23.197] nxt.shareMyAddress = "true" [2014-03-04 03:54:23.197] nxt.myHallmark not defined, assuming null [2014-03-04 03:54:23.198] nxt.testnetPeers = "bug.airdns.org" [2014-03-04 03:54:23.198] nxt.knownBlacklistedPeers not defined, assuming null [2014-03-04 03:54:23.198] nxt.maxNumberOfConnectedPublicPeers = "20" [2014-03-04 03:54:23.199] nxt.connectTimeout = "2000" [2014-03-04 03:54:23.199] nxt.readTimeout = "5000" [2014-03-04 03:54:23.199] nxt.enableHallmarkProtection = "true" [2014-03-04 03:54:23.199] nxt.pushThreshold = "0" [2014-03-04 03:54:23.199] nxt.pullThreshold = "0" [2014-03-04 03:54:23.200] nxt.blacklistingPeriod = "300000" [2014-03-04 03:54:23.200] nxt.communicationLoggingMask = "0" [2014-03-04 03:54:23.200] nxt.sendToPeersLimit = "10" [2014-03-04 03:54:23.339] nxt.peerServerHost = "0.0.0.0" [2014-03-04 03:54:23.339] nxt.peerServerIdleTimeout = "5000" [2014-03-04 03:54:23.373] nxt.enablePeerServerDoSFilter = "true" [2014-03-04 03:54:23.382] nxt.peerServerDoSFilter.maxRequestsPerSec = "30" [2014-03-04 03:54:23.382] nxt.peerServerDoSFilter.delayMs = "1000" [2014-03-04 03:54:23.383] nxt.peerServerDoSFilter.maxRequestMs = "300000" [2014-03-04 03:54:23.468] nxt.allowedBotHosts = "*" [2014-03-04 03:54:23.468] nxt.enableAPIServer = "true" [2014-03-04 03:54:23.468] nxt.apiServerHost = "0.0.0.0" [2014-03-04 03:54:23.468] nxt.apiSSL = "false" [2014-03-04 03:54:23.469] nxt.apiServerIdleTimeout = "30000" [2014-03-04 03:54:23.472] nxt.apiResourceBase = "html/tools" [2014-03-04 03:54:23.507] nxt.javadocResourceBase = "html/doc" [2014-03-04 03:54:23.519] nxt.apiServerCORS = "true" [2014-03-04 03:54:23.531] nxt.allowedUserHosts = "127.0.0.1; localhost; 0:0:0:0:0:0:0:1;" [2014-03-04 03:54:23.532] nxt.enableUIServer = "true" [2014-03-04 03:54:23.532] nxt.uiServerHost = "127.0.0.1" [2014-03-04 03:54:23.532] nxt.uiSSL = "false" [2014-03-04 03:54:23.533] nxt.uiServerIdleTimeout = "30000" [2014-03-04 03:54:23.533] nxt.uiResourceBase = "html/nrs" [2014-03-04 03:54:23.533] nxt.javadocResourceBase = "html/doc" [2014-03-04 03:54:23.535] nxt.uiServerCORS = "false" [2014-03-04 03:54:23.558] Genesis block already in database [2014-03-04 03:54:23.558] Scanning blockchain... [2014-03-04 03:54:48.640] ...done [2014-03-04 03:54:48.746] Started peer networking server at 0.0.0.0:6874 [2014-03-04 03:54:48.838] Started API server at 0.0.0.0:6876 [2014-03-04 03:54:49.020] Started user interface server at 127.0.0.1:6875 [2014-03-04 03:54:49.154] Nxt server 0.8.4e started successfully. [2014-03-04 03:54:49.154] RUNNING ON TESTNET - DO NOT USE REAL ACCOUNTS!
|
|
|
|
w4llace
Newbie
Offline
Activity: 42
Merit: 0
|
|
March 04, 2014, 09:57:15 AM |
|
|
|
|
|
starik69
Legendary
Offline
Activity: 1367
Merit: 1000
|
|
March 04, 2014, 09:57:24 AM |
|
Added run.bat script for Windows users.
Not working. Never unlock your real accounts on testnet! Use separate accounts for testing only. Why not? What are the risks if it is only locally? Please start forging, as the blockchain is days behind.
Again, what is the risk of forging locally with a "genesis" account?
|
|
|
|
cryptolawyer
Newbie
Offline
Activity: 34
Merit: 0
|
|
March 04, 2014, 09:59:22 AM |
|
CfB Could you add a "comment" field to requestType=transferAsset This would really help track things for the gateway [i am assuming that after a block confirms that I can trust the values in all the fields]
James
AGREE! A comment field would be of great help, and probably not difficult to implement! A bit more difficult but immensely valuable is to be able to optionally set the denomination in terms of units of another asset. I know the NXTcore cant handle fractions very well now, but maybe while we are changing API, we can put it in there with the understanding that it wont work until NXTcore supports fractions. I hope it can support fractions for assets too! James It's hard to overstate how powerful this functionality would be, both for James' use case and for many others.
|
|
|
|
wesleyh
|
|
March 04, 2014, 10:02:03 AM |
|
Is anyone interested in building a decentralized storefront? This was planned by BCNext but cancelled for unknown reasons... Now that the source is available, someone could build it.. I think it would be of great value to have this. Think decentralized ebay...
Now I don't know java, which is why I'm posting this idea here.
|
|
|
|
jl777
Legendary
Offline
Activity: 1176
Merit: 1134
|
|
March 04, 2014, 10:02:18 AM |
|
I was asked how I setup testnodes: The first part is just to get the clock right, probably dont need to do it every time After logging into Ubuntu: ******** date sudo service ntp stop sleep 5 sudo ntpdate ntp.ubuntu.com sudo service ntp start date sudo aptitude install openjdk-7-jre wget http://download.nxtcrypto.org/nxt-client-0.8.4e.zipunzip nxt-client-0.8.4e.zip cd nxt/conf # edit file and change two lines nxt.testnetPeers=bug.airdns.org nxt.isTestnet=true cd .. nohup ./run.sh & # to stop NXT server safely: pkill -15 java **** James
|
|
|
|
farl4web
Legendary
Offline
Activity: 1205
Merit: 1000
|
|
March 04, 2014, 10:02:46 AM |
|
|
|
|
|
wesleyh
|
|
March 04, 2014, 10:03:02 AM |
|
Can someone who has a test server enable API cors and api access? (two settings in nxt-default.properties)
And tell me the server name so I can use that. The bug.airdns.org doesn't accept API access...
So that my online nxt client will work again.
Not sure I got all the settings right, here is the nxt.log output Server IP is 209.126.73.160 James I can't even connect to that ip (without even using api)
|
|
|
|
Jean-Luc
|
|
March 04, 2014, 10:03:31 AM |
|
0.8.4e still has bugs in unconfirmed balance handling. Wait until I release a fix.
|
|
|
|
jl777
Legendary
Offline
Activity: 1176
Merit: 1134
|
|
March 04, 2014, 10:05:16 AM |
|
Can someone who has a test server enable API cors and api access? (two settings in nxt-default.properties)
And tell me the server name so I can use that. The bug.airdns.org doesn't accept API access...
So that my online nxt client will work again.
Not sure I got all the settings right, here is the nxt.log output Server IP is 209.126.73.160 James I can't even connect to that ip (without even using api) Hmmm... Maybe I need to be running apache on it? I dont think it has a webserver can you ping the server? James
|
|
|
|
EmoneyRu
|
|
March 04, 2014, 10:07:40 AM |
|
OK... 0.8.3 & 0.8.4e work like champs... but why do they crash if left unattended... is there some type of timeout setting we need to change when we are away from our workstations for several hours? Solution for Linux.
|
|
|
|
l8orre
Legendary
Offline
Activity: 1181
Merit: 1018
|
|
March 04, 2014, 10:08:11 AM |
|
To make API accessible from outside, you also need to set: nxt.apiServerHost=0.0.0.0 nxt.allowedBotHosts=*
yeeh! thanks JL, that little detail had been missing for my raspi also. I habe only been able to access on localhost
|
|
|
|
bitcoinpaul
|
|
March 04, 2014, 10:11:47 AM |
|
Is anyone interested in building a decentralized storefront? This was planned by BCNext but cancelled for unknown reasons... Now that the source is available, someone could build it.. I think it would be of great value to have this. Think decentralized ebay...
Now I don't know java, which is why I'm posting this idea here.
That's right. He talked about decentralized shop for different goods. His idea was to solve this with AM and reputation system, i think. That way, our AE wouldn't get bloated with every crazy shit people imagine (like issuing assets for selling two comic books ), maybe. Reputation system - should we discuss it?
|
|
|
|
|