Bitcoin Forum
January 19, 2026, 07:15:39 PM *
News: Latest Bitcoin Core release: 30.2 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 [1996] 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 ... 2548 »
  Print  
Author Topic: NXT :: descendant of Bitcoin - Updated Information  (Read 2761756 times)
allwelder
Legendary
*
Offline Offline

Activity: 1512
Merit: 1004



View Profile
March 04, 2014, 09:36:15 AM
 #39901

BTCChina added LTC.

 
                                . ██████████.
                              .████████████████.
                           .██████████████████████.
                        -█████████████████████████████
                     .██████████████████████████████████.
                  -█████████████████████████████████████████
               -███████████████████████████████████████████████
           .-█████████████████████████████████████████████████████.
        .████████████████████████████████████████████████████████████
       .██████████████████████████████████████████████████████████████.
       .██████████████████████████████████████████████████████████████.
       ..████████████████████████████████████████████████████████████..
       .   .██████████████████████████████████████████████████████.
       .      .████████████████████████████████████████████████.

       .       .██████████████████████████████████████████████
       .    ██████████████████████████████████████████████████████
       .█████████████████████████████████████████████████████████████.
        .███████████████████████████████████████████████████████████
           .█████████████████████████████████████████████████████
              .████████████████████████████████████████████████
                   ████████████████████████████████████████
                      ██████████████████████████████████
                          ██████████████████████████
                             ████████████████████
                               ████████████████
                                   █████████
.CryptoTalk.org.|.MAKE POSTS AND EARN BTC!.🏆
schnidl
Full Member
***
Offline Offline

Activity: 164
Merit: 100

POS killed the POW-star


View Profile
March 04, 2014, 09:36:32 AM
 #39902


Done.
jl777
Legendary
*
Offline Offline

Activity: 1176
Merit: 1134


View Profile WWW
March 04, 2014, 09:39:51 AM
 #39903

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

Code:
[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...

http://www.digitalcatallaxy.com/report2015.html
100+ page annual report for SuperNET
allwelder
Legendary
*
Offline Offline

Activity: 1512
Merit: 1004



View Profile
March 04, 2014, 09:43:31 AM
 #39904

voted.

 
                                . ██████████.
                              .████████████████.
                           .██████████████████████.
                        -█████████████████████████████
                     .██████████████████████████████████.
                  -█████████████████████████████████████████
               -███████████████████████████████████████████████
           .-█████████████████████████████████████████████████████.
        .████████████████████████████████████████████████████████████
       .██████████████████████████████████████████████████████████████.
       .██████████████████████████████████████████████████████████████.
       ..████████████████████████████████████████████████████████████..
       .   .██████████████████████████████████████████████████████.
       .      .████████████████████████████████████████████████.

       .       .██████████████████████████████████████████████
       .    ██████████████████████████████████████████████████████
       .█████████████████████████████████████████████████████████████.
        .███████████████████████████████████████████████████████████
           .█████████████████████████████████████████████████████
              .████████████████████████████████████████████████
                   ████████████████████████████████████████
                      ██████████████████████████████████
                          ██████████████████████████
                             ████████████████████
                               ████████████████
                                   █████████
.CryptoTalk.org.|.MAKE POSTS AND EARN BTC!.🏆
bitcoinpaul
Hero Member
*****
Offline Offline

Activity: 910
Merit: 1000



View Profile
March 04, 2014, 09:46:38 AM
 #39905


Where is our swarm!
l8orre
Legendary
*
Offline Offline

Activity: 1187
Merit: 1019


View Profile
March 04, 2014, 09:47:39 AM
 #39906

possible bug:

Asset 'UniGots' on the AE looks OK:


http://localhost:6876/nxt?asset=16739598998421896224&requestType=getAsset

quantity - 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 Offline

Activity: 1187
Merit: 1019


View Profile
March 04, 2014, 09:49:32 AM
 #39907

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

Code:
[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 ??

Code:

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
Hero Member
*****
Offline Offline

Activity: 616
Merit: 500



View Profile
March 04, 2014, 09:50:19 AM
 #39908

Quote
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 Offline

Activity: 84
Merit: 10


View Profile
March 04, 2014, 09:50:31 AM
 #39909


voted
Jean-Luc
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250



View Profile WWW
March 04, 2014, 09:51:56 AM
 #39910

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

Code:
[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=*


lead Nxt developer, gpg key id: 0x811D6940E1E4240C
Nxt blockchain platform | Ardor blockchain platform | Ignis ICO
Damelon
Legendary
*
Offline Offline

Activity: 1092
Merit: 1010



View Profile
March 04, 2014, 09:52:39 AM
 #39911


They seem to be right there Smiley

When I looked an hour ago we were at 2% and now we are at 18%, and second place  Grin

Keep voting!

Member of the Nxt Foundation | Donations: NXT-D6K7-MLY6-98FM-FLL5T
Join Nxt Slack! https://nxtchat.herokuapp.com/
Founder of Blockchain Workspace | Personal Site & Blog
jl777
Legendary
*
Offline Offline

Activity: 1176
Merit: 1134


View Profile WWW
March 04, 2014, 09:57:11 AM
 #39912

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

Code:
[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!

http://www.digitalcatallaxy.com/report2015.html
100+ page annual report for SuperNET
w4llace
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
March 04, 2014, 09:57:15 AM
 #39913


Done
starik69
Legendary
*
Offline Offline

Activity: 1367
Merit: 1000


View Profile
March 04, 2014, 09:57:24 AM
 #39914

Added run.bat script for Windows users.
Not working.  Sad
Quote
Never unlock your real accounts on testnet! Use separate accounts for testing only.
Why not? What are the risks if it is only locally? Huh
Please start forging, as the blockchain is days behind.
Again, what is the risk of forging locally with a "genesis" account?
cryptolawyer
Newbie
*
Offline Offline

Activity: 34
Merit: 0


View Profile
March 04, 2014, 09:59:22 AM
 #39915

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
Sr. Member
****
Offline Offline

Activity: 308
Merit: 250


View Profile
March 04, 2014, 10:02:03 AM
 #39916

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 Offline

Activity: 1176
Merit: 1134


View Profile WWW
March 04, 2014, 10:02:18 AM
 #39917

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.zip
unzip 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

http://www.digitalcatallaxy.com/report2015.html
100+ page annual report for SuperNET
farl4web
Legendary
*
Offline Offline

Activity: 1205
Merit: 1000



View Profile
March 04, 2014, 10:02:46 AM
 #39918

I love swarming!!

https://nextcoin.org/index.php/topic,4292.msg40032.html
wesleyh
Sr. Member
****
Offline Offline

Activity: 308
Merit: 250


View Profile
March 04, 2014, 10:03:02 AM
 #39919

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
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250



View Profile WWW
March 04, 2014, 10:03:31 AM
 #39920

0.8.4e still has bugs in unconfirmed balance handling. Wait until I release a fix.

lead Nxt developer, gpg key id: 0x811D6940E1E4240C
Nxt blockchain platform | Ardor blockchain platform | Ignis ICO
Pages: « 1 ... 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 [1996] 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 ... 2548 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!