brooklynbtc
Sr. Member
Offline
Activity: 336
Merit: 250
AKA jefdiesel
|
|
February 17, 2014, 05:38:46 PM |
|
CFb The versione of the client '' Test@0.7.6" doesn't send the Nxt .. why ? can you resolve ? Thanks Relaunched, try again. Could someone start forging on the testnet? I start forging on the testnet im forging as well but not seeing any countdown clock , only have 899 testnxt at 15265031083387211287 Sent 5K TestNxt . that showed up. restart helped i guess thanks
|
|
|
|
brooklynbtc
Sr. Member
Offline
Activity: 336
Merit: 250
AKA jefdiesel
|
|
February 17, 2014, 05:43:33 PM |
|
I guess its the blocks far apart that are keeping transactions from posting in the testnet?
|
|
|
|
l8orre
Legendary
Offline
Activity: 1181
Merit: 1018
|
|
February 17, 2014, 05:45:59 PM |
|
CFb The versione of the client '' Test@0.7.6" doesn't send the Nxt .. why ? can you resolve ? Thanks Relaunched, try again. Could someone start forging on the testnet? I start forging on the testnet im forging as well but not seeing any countdown clock , only have 899 testnxt at 15265031083387211287 Sent 5K TestNxt . I just tried on the realNet with a 5nxt account and it works there: unconfirmedBalance - 500 effectiveBalance - 500 balance - 500 publicKey - d95b5431be767e63d140232cbf94f2642db5257b430ccdbf1d2368dfdeb4592c Can someone send me some testNXT to this acct on the tesnet again please?!?! redsn0w or CfB ? Thanks! 1738404304940813414
|
|
|
|
Mistafreeze
|
|
February 17, 2014, 05:46:07 PM |
|
Dear supporters, I want to talk with you about the future of Nxt.org. I'm working with Passion_ltc together to make this website the center for the whole Nxt ecosystem. We have many great ideas for the website, but before we start we need to talk about something inconvenient: the money. I paid 157,000 NXT and 6 BTC for the domain. A few guys maybe are thinking that this is far too much, but I don't think so. With Nxt.org we finally have a quality domain for a quality product, and if we consider that Nxt will be the future of money then the money was well spent! 2Kool4Skewl asked on nextcoin.org about acquiring the domain. And I'm pretty sure that someone said there was a bounty for this domain. So I want to ask you if someone knows more about the bounty. Maybe I could get a nice sum of the money back though this? Thank you very much! Greetings, BitVenturer Just give the community the domain for 157,000 NXT and 6 BTC. Maybe a little premium on top. But that's it. The community didn't appreciate the fact that I got the name, my effort and resources... You think that the name doesn't cost 1.8M ? "Community" != "Customer" If I would get a bounty , I would start a new thread : "development of NXT.oRG" community would decide who and what to develop on it... but what did I get ? "nada" , what would I get after finishing the development? as just keeping the domain? nada ? and the stake holders would be happily watching ? look here http://87.230.14.1/nxt/nxt.cgi?action=34 and tell me , to they give a f$%& about the community ? is 1.8M , 30k for each account too much from them ? Did I risked more then each one of them ? mmm... The installer I have built and maintained that has arguably made getting into Nxt for the Average Joe magnitudes easier has netted me about 4,000 Nxt total. You shouldn't be doing it for you, you should be doing it for the community. Different strokes, I guess.
|
|
|
|
l8orre
Legendary
Offline
Activity: 1181
Merit: 1018
|
|
February 17, 2014, 05:48:38 PM |
|
CFb The versione of the client '' Test@0.7.6" doesn't send the Nxt .. why ? can you resolve ? Thanks Relaunched, try again. Could someone start forging on the testnet? I start forging on the testnet im forging as well but not seeing any countdown clock , only have 899 testnxt at 15265031083387211287 Yes, that account shows a bal for me also!!!!! balance - 489900 effectiveBalance - 0 <----------- even the part with no forging power unconfirmedBalance - 479800
|
|
|
|
abctc
Legendary
Offline
Activity: 1806
Merit: 1038
|
|
February 17, 2014, 05:52:26 PM |
|
Can someone send me some testNXT to this acct on the tesnet again please?!?! 1738404304940813414
- 4k testNXT sent.
|
██████████████████████████████████████████████████ ████████████████████████████████████████████████████ ██████████████████████████████████████████████████████ ████████████████████████████████████████████████████████ ████████████████████████████████████████████████████████ ████████████████████████████████████████████████████████████████████ ████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████ ████████████████████████████████████████████████████████████████ ██████████████████████████████████████████████████████████████████ ████████████████████████████████████████████████████████████████████ | , the Next platform. Magis quam Moneta (More than a Coin) |
|
|
|
l8orre
Legendary
Offline
Activity: 1181
Merit: 1018
|
|
February 17, 2014, 05:53:39 PM |
|
BLESSED BE THE NOBLE GIVER OF testNXT
8819507277968891433
deadline - 1440 sender - 14386024746077933238 subtype - 0 referencedTransaction - 0 recipient - 1738404304940813414 type - 0 timestamp - 7365076 signature - 7558c49318122f7e3bc7c33b6f2153cae368ef4a4d3c6569e3fd12bd6708d8063edbce83d7c6856 cd804eb38091a447d5c422363b426e51bb77849bef6c86097 confirmations - 3 amount - 4095 fee - 4 block - 8011044524122557507 senderPublicKey - dc7b03d7dd03fe316bb3321c65683c7e528dbed6bdedd67d5aeae2e3dd170126
|
|
|
|
opticalcarrier
|
|
February 17, 2014, 05:55:09 PM |
|
and if the community feels like its the way to go, i dont think we'd have any problem at all with migrating www/wiki/info/download/forums .nxtcrypto.org sites to be on .nxt.org at least I would hope that the people involved in those sites would not have a problem.
if thats they way the community wants to go.
|
|
|
|
ZeroTheGreat
|
|
February 17, 2014, 05:59:31 PM |
|
well i tried forging solo but that got me absolutely nowhere lol
With what goal did u forge? With current state I suggest to every potential forger focus on protecting system, just do it, stake doesn't matter. Profits come later with some possibility, but unsafe (relative to context of cryptoworld, ofc) system can't succeed in long term - that's for sure. but does forging not require massive download limits.. im not sure what the limit is on my wifi.. shared house and some one else does all that.. its 50meg fiber power but dont no if theres a limit.. dont want the bill sky high! i was forging for no reason until i herd that purely to help secure the network.. but im not doin it for a huge wifi bill lol And u'd not hurt yourself for anything. Calculate everything and decide.
|
|
|
|
jl777
Legendary
Offline
Activity: 1176
Merit: 1134
|
|
February 17, 2014, 06:01:54 PM |
|
Here is simple C library for some of the NXT API calls. Just change the NXTACCT #define. Only a few API calls are here for now and none of them require account secret At some point I will figure out how to create new project on github James #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <string.h> #include <math.h> #include <stdarg.h> #include <ctype.h> #include <curl/curl.h> #include <curl/easy.h>
#define NXTACCT 10154506025773104943LL #define NXTSERVER "http://localhost:7874/nxt?requestType"
struct MemoryStruct { char *memory; size_t size; };
static size_t WriteMemoryCallback(void *ptr, size_t size, size_t nmemb, void *data) { size_t realsize = size * nmemb; struct MemoryStruct *mem = (struct MemoryStruct *)data; mem->memory = realloc(mem->memory, mem->size + realsize + 1); if (mem->memory) { memcpy(&(mem->memory[mem->size]), ptr, realsize); mem->size += realsize; mem->memory[mem->size] = 0; } return realsize; }
char *issue_curl(char *arg) { CURL *curl_handle; CURLcode res; // from http://curl.haxx.se/libcurl/c/getinmemory.html struct MemoryStruct chunk; chunk.memory = malloc(1); // will be grown as needed by the realloc above chunk.size = 0; // no data at this point curl_global_init(CURL_GLOBAL_ALL); //init the curl session curl_handle = curl_easy_init(); curl_easy_setopt(curl_handle, CURLOPT_URL, arg); // specify URL to get curl_easy_setopt(curl_handle, CURLOPT_WRITEFUNCTION, WriteMemoryCallback); // send all data to this function curl_easy_setopt(curl_handle, CURLOPT_WRITEDATA, (void *)&chunk); // we pass our 'chunk' struct to the callback function curl_easy_setopt(curl_handle, CURLOPT_USERAGENT, "libcurl-agent/1.0"); // some servers don't like requests that are made without a user-agent field, so we provide one res = curl_easy_perform(curl_handle); if ( res != CURLE_OK ) fprintf(stderr, "curl_easy_perform() failed: %s\n",curl_easy_strerror(res)); else { // printf("%lu bytes retrieved [%s]\n", (long)chunk.size,chunk.memory); } curl_easy_cleanup(curl_handle); return(chunk.memory); }
char *issue_getAccountBlockIds(int64_t acctid,int timestamp) { char cmd[512],*jsonstr; sprintf(cmd,"%s=getAccountBlockIds&account=%llu×tamp=%d",NXTSERVER,acctid,timestamp); jsonstr = issue_curl(cmd); if ( jsonstr != 0 ) { printf("getAccountBlockIds.%llu %s\n",acctid,jsonstr); free(jsonstr); } return(0); }
char *issue_getAccountPublicKey(int64_t acctid) { char cmd[512],*jsonstr; sprintf(cmd,"%s=getAccountPublicKey&account=%llu",NXTSERVER,acctid); jsonstr = issue_curl(cmd); if ( jsonstr != 0 ) { printf("getAccountPublicKey.%llu %s\n",acctid,jsonstr); free(jsonstr); } return(0); }
char *issue_getAccountTransactionIds(int64_t acctid,int timestamp) { char cmd[512],*jsonstr; sprintf(cmd,"%s=getAccountTransactionIds&account=%llu×tamp=%d",NXTSERVER,acctid,timestamp); jsonstr = issue_curl(cmd); if ( jsonstr != 0 ) { printf("getAccountTransactionIds.%llu %s\n",acctid,jsonstr); free(jsonstr); } return(0); }
char *issue_getBalance(int64_t acctid) { char cmd[512],*jsonstr; sprintf(cmd,"%s=getBalance&account=%llu",NXTSERVER,acctid); jsonstr = issue_curl(cmd); if ( jsonstr != 0 ) { printf("getBalance.%llu %s\n",acctid,jsonstr); free(jsonstr); } return(0); }
char *issue_getGuaranteedBalance(int64_t acctid,int numconfs) { char cmd[512],*jsonstr; sprintf(cmd,"%s=getGuaranteedBalance&account=%llu&numberOfConfirmations=%d",NXTSERVER,acctid,numconfs); jsonstr = issue_curl(cmd); if ( jsonstr != 0 ) { printf("getAccountTransactionIds.%llu %s\n",acctid,jsonstr); free(jsonstr); } return(0); }
char *issue_getAliasId(char *alias) { char cmd[512],*jsonstr; sprintf(cmd,"%s=getAliasId&alias=%s",NXTSERVER,alias); jsonstr = issue_curl(cmd); if ( jsonstr != 0 ) { printf("getAliasId.%s = %s\n",alias,jsonstr); free(jsonstr); } return(0); }
char *issue_getAliasIds(int64_t acctid,int timestamp) { char cmd[512],*jsonstr; sprintf(cmd,"%s=getAliasIds&account=%llu×tamp=%d",NXTSERVER,acctid,timestamp); jsonstr = issue_curl(cmd); if ( jsonstr != 0 ) { printf("getAliasIds.%llu %s\n",acctid,jsonstr); free(jsonstr); } return(0); }
char *issue_getAliasURI(char *alias) { char cmd[512],*jsonstr; sprintf(cmd,"%s=getAliasURI&alias=%s",NXTSERVER,alias); jsonstr = issue_curl(cmd); if ( jsonstr != 0 ) { printf("getAliasURI.%s = %s\n",alias,jsonstr); free(jsonstr); } return(0); }
char *issue_listAccountAliases(int64_t acctid) { char cmd[512],*jsonstr; sprintf(cmd,"%s=listAccountAliases&account=%llu",NXTSERVER,acctid); jsonstr = issue_curl(cmd); if ( jsonstr != 0 ) { printf("listAccountAliases.%llu %s\n",acctid,jsonstr); free(jsonstr); } return(0); }
int test_NXTAPI(int64_t acctid) { printf("test_NXTAPI(acctid: %llx %llu)\n",acctid,acctid); issue_getAccountBlockIds(acctid,0); issue_getAccountPublicKey(acctid); issue_getAccountTransactionIds(acctid,0); issue_getBalance(acctid); issue_getGuaranteedBalance(acctid,15); issue_getAliasId("NXTcommunityfund"); //issue_getAliasIds(acctid,0); issue_getAliasURI("NXTcommunityfund"); issue_listAccountAliases(acctid); return(0); }
int main(int argc, const char * argv[]) { test_NXTAPI(NXTACCT); curl_global_cleanup(); }
|
|
|
|
redsn0w
Legendary
Offline
Activity: 1778
Merit: 1043
#Free market
|
|
February 17, 2014, 06:02:07 PM |
|
I just tried on the realNet with a 5nxt account and it works there:
unconfirmedBalance - 500 effectiveBalance - 500 balance - 500
publicKey - d95b5431be767e63d140232cbf94f2642db5257b430ccdbf1d2368dfdeb4592c
Can someone send me some testNXT to this acct on the tesnet again please?!?! redsn0w or CfB ? Thanks!
1738404304940813414
Sent 2929 TestNxt
|
|
|
|
|
jl777
Legendary
Offline
Activity: 1176
Merit: 1134
|
|
February 17, 2014, 06:11:08 PM |
|
CfB,
Would it be possible to add the forging status to the getState API call? Or maybe it is possible to figure out if a node is forging from the existing returned fields?
|
|
|
|
Come-from-Beyond
Legendary
Offline
Activity: 2142
Merit: 1010
Newbie
|
|
February 17, 2014, 06:15:24 PM |
|
CfB,
Would it be possible to add the forging status to the getState API call? Or maybe it is possible to figure out if a node is forging from the existing returned fields?
Give me an example of returned status.
|
|
|
|
redsn0w
Legendary
Offline
Activity: 1778
Merit: 1043
#Free market
|
|
February 17, 2014, 06:15:56 PM |
|
CFb When i finished to generate a block , the time stop and doesn't restart , why ?
|
|
|
|
Come-from-Beyond
Legendary
Offline
Activity: 2142
Merit: 1010
Newbie
|
|
February 17, 2014, 06:17:03 PM |
|
CFb When i finished to generate a block , the time stop and doesn't restart , why ? F5
|
|
|
|
jl777
Legendary
Offline
Activity: 1176
Merit: 1134
|
|
February 17, 2014, 06:18:47 PM |
|
CfB,
Would it be possible to add the forging status to the getState API call? Or maybe it is possible to figure out if a node is forging from the existing returned fields?
Give me an example of returned status. getState {"lastBlock":"5011124499599066825","numberOfAliases":59821,"lastBlockchainFeeder":"46.19.137.116","numberOfBlocks":68742,"numberOfPeers":387,"totalMemory":930611200,"numberOfUnlockedAccounts":1,"freeMemory":343185648,"maxMemory":3817865216,"numberOfTransactions":127039,"numberOfUsers":1,"version":"0.7.5","numberOfOrders":0,"totalEffectiveBalance":99095153100,"time":7366623,"availableProcessors":8,"numberOfAssets":0,"cumulativeDifficulty":"2093846835399494","numberOfAccounts":24183} I think it is just numberOfUnlockedAccounts > 0 -> isForging
|
|
|
|
Come-from-Beyond
Legendary
Offline
Activity: 2142
Merit: 1010
Newbie
|
|
February 17, 2014, 06:20:07 PM |
|
CfB,
Would it be possible to add the forging status to the getState API call? Or maybe it is possible to figure out if a node is forging from the existing returned fields?
Give me an example of returned status. getState {"lastBlock":"5011124499599066825","numberOfAliases":59821,"lastBlockchainFeeder":"46.19.137.116","numberOfBlocks":68742,"numberOfPeers":387,"totalMemory":930611200,"numberOfUnlockedAccounts":1,"freeMemory":343185648,"maxMemory":3817865216,"numberOfTransactions":127039,"numberOfUsers":1,"version":"0.7.5","numberOfOrders":0,"totalEffectiveBalance":99095153100,"time":7366623,"availableProcessors":8,"numberOfAssets":0,"cumulativeDifficulty":"2093846835399494","numberOfAccounts":24183} I think it is just numberOfUnlockedAccounts > 0 -> isForging U already have it. Right?
|
|
|
|
jl777
Legendary
Offline
Activity: 1176
Merit: 1134
|
|
February 17, 2014, 06:20:34 PM |
|
CfB,
Would it be possible to add the forging status to the getState API call? Or maybe it is possible to figure out if a node is forging from the existing returned fields?
Give me an example of returned status. getState {"lastBlock":"5011124499599066825","numberOfAliases":59821,"lastBlockchainFeeder":"46.19.137.116","numberOfBlocks":68742,"numberOfPeers":387,"totalMemory":930611200,"numberOfUnlockedAccounts":1,"freeMemory":343185648,"maxMemory":3817865216,"numberOfTransactions":127039,"numberOfUsers":1,"version":"0.7.5","numberOfOrders":0,"totalEffectiveBalance":99095153100,"time":7366623,"availableProcessors":8,"numberOfAssets":0,"cumulativeDifficulty":"2093846835399494","numberOfAccounts":24183} I think it is just numberOfUnlockedAccounts > 0 -> isForging U already have it. Right? yes, got it
|
|
|
|
l8orre
Legendary
Offline
Activity: 1181
Merit: 1018
|
|
February 17, 2014, 06:23:01 PM |
|
Hey salsacz - please let us include something about the nxtFreeRider! It is not in a very usable state yet, but that may change quite soon. I think it is important to include it, because it is a valuable complement to the other clients: It is a powertool for developers and powerusers, with focus on the AE! Wait a bit pls, I'll get you a screenshot of the api access window!!
|
|
|
|
|