Pizpie (OP)
Legendary
Offline
Activity: 971
Merit: 1000
|
|
July 21, 2015, 06:08:39 AM |
|
Hi. I was wondering if we could see some of the HZ assets listed on coinmarketcap.com? I think that would be a great step. I notice that coinmarketcap uses https://trade.secureae.com for it's data on NXT assets, is there an equivalent data source for HZ? Thanks for all the great efforts with HZ lately Right now it is the asset issuers responsibility to contact coinmarketcap to have their asset listed on there.
|
I'm on Twitter: @mBTCPizpie
|
|
|
|
|
|
|
|
If you see garbage posts (off-topic, trolling, spam, no point, etc.), use the "report to moderator" links. All reports are investigated, though you will rarely be contacted about your reports.
|
|
|
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
|
|
mike34
Member
Offline
Activity: 80
Merit: 10
|
|
July 21, 2015, 10:27:40 AM |
|
there is some problem with downloading blocks from scratch in 3.9.2. Nhz server started successfully but stuck in block downloading. Please fix it.
worked fine for me did hang for a little while i just left it on overnight and it was done in the morning go over to the horizon forum and ask around or maybe someone here might know more.
|
BITCORE ADDRESS 19X6CoqWzCYp3frFsbpxmrGczyftenart1 BITCOIN ADDRESS 183hTfQW6xuSi3yMiJuH3NvPFRHE5U5oSS
ETHEREUM CLASSIC ADDRESS 0xfb915070495154a395aa4d9851658d8505fa1418 ETHEREUM ADDRESS 0xedc25d2dfb72c9c65564a91b7cde2f334159b100
|
|
|
Emerger
|
|
July 21, 2015, 10:38:08 AM |
|
there is some problem with downloading blocks from scratch in 3.9.2. Nhz server started successfully but stuck in block downloading. Please fix it.
You could also check if you have no peers, as was my problem since I was reusing an old nhz-default.properties file (if that's the case, see above in recent posts).
|
|
|
|
duncan_idaho
|
|
July 21, 2015, 12:26:48 PM |
|
Yes i update peer list and everything is ok now.
|
|
|
|
altsheets
Legendary
Offline
Activity: 902
Merit: 1001
Free trial of #AltFolio = save time, react faster
|
|
July 21, 2015, 10:53:46 PM |
|
Hi. I was wondering if we could see some of the HZ assets listed on coinmarketcap.com? I think that would be a great step. I notice that coinmarketcap uses https://trade.secureae.com for it's data on NXT assets, is there an equivalent data source for HZ? Thanks for all the great efforts with HZ lately cryptoassetcharts.info is listing them all (even though the spheres picture is not uptodate, just told him). And with a dedicated page for each asset, e.g.: AAssetHZ
|
|
|
|
Nxtblg
Legendary
Offline
Activity: 924
Merit: 1000
|
|
July 23, 2015, 11:32:57 AM Last edit: July 23, 2015, 01:18:36 PM by Nxtblg |
|
EDIT: It turns out I was barking up the wrong tree; the POST method I have does work. My call just got hung up because of a silly mistake I made due to my ignorance of how Java regex works. After I caught it, my POST requests have now gone through successfully. Note To Would-Be Programmers (Like Me): Sometimes, just asking for help frees up your mind enough to think outside the rut you're spinning your wheels in.
|
|
|
|
MaWo
|
|
July 23, 2015, 12:32:54 PM |
|
To anyone here who's got a snippet of Java code that successfully uses the API to place/cancel an order: could you share the code that you used to make a successful POST request? I've been writing a bot that accesses the API info via GET requests with no trouble, but I've been stymied with the POST requests. The Java code I'm using shoots me back this API error code: {"errorDescription":"Incorrect request","errorCode":1} And this is the method code that produces the above error. (A Java whiz will recognize it as ripped-off code to POST to a form page, which is what it is ): private static String HTTPPost(String ApiChoice, String params) { String output; int responseCode; String urlString; URL url; URLConnection urlconnection; HttpURLConnection connection; DataOutputStream out; BufferedReader in; String whoops; int i;
output = "Wrong crypto parameter!"; if(ApiChoice.equals("nxt")) { urlString = NxtApiLoc + "/nxt"; } else if(ApiChoice.equals("nhz")) { urlString = HZApiLoc + "/nhz"; } else return output;
// Might need to add an ? after /nxt and /nhz.
output = "";
try{ url = new URL(urlString); urlconnection = url.openConnection(); connection = (HttpURLConnection)urlconnection; connection.setRequestMethod("POST"); connection.setRequestProperty("charset", "utf-8"); connection.setRequestProperty("Content-Type", "application/x-www-form-urlencoded"); connection.setRequestProperty("Content-Language", "en-US"); connection.setUseCaches (false); connection.setDoInput(true); connection.setDoOutput(true);
out = new DataOutputStream(connection.getOutputStream()); out.writeBytes(params); out.flush(); out.close();
responseCode = connection.getResponseCode(); in = new BufferedReader(new InputStreamReader(connection.getInputStream())); output = in.readLine();
/* Might want to try this approach:
StringBuffer fetcher = new StringBuffer(); while ((output = in.readLine()) != null) { fetcher.append(inputLine); } in.close(); output = fetcher.toString();
*/
} catch(IOException ex) { output = "Failed"; }; return output; }
Anyhoo, I'm not trying to turn this thread into Stack Exchange: I just clipboarded this code to show you what I'm trying to do. If there's anyone here that has a method that successfully makes a POST request to the API, I'd be grateful if you could share how you did it. Thanks! The NFD NSC Asset transfer tool used post requests: https://bitbucket.org/NFDcoin/nfdcoin/src/98e60e67f1df0e073862c787fda7312f3eba85b1/src/java/nfd/util/NSCAssets/APIRequest.java?at=NFD-1.2.9#APIRequest.java-54Example to use the sendRequest method. https://bitbucket.org/NFDcoin/nfdcoin/src/98e60e67f1df0e073862c787fda7312f3eba85b1/src/java/nfd/util/NSCAssets/NSCAssetTransfer.java?at=NFD-1.2.9#NSCAssetTransfer.java-149StringBuffer url = new StringBuffer(); url.append((isHttpsConnection ? "https" : "http")); url.append("://localhost:"); url.append((isTestnet ? "9876" : Nxt.getIntProperty("nxt.apiServerPort"))); url.append("/nxt?requestType=transferAsset"); url.append("&secretPhrase=" + secret); url.append("&comment=" + transferMessage.getMessage()); url.append("&recipient=" + Convert.toUnsignedLong(generatorAccount.getAccountId())); url.append("&asset=" + NSC_ASSET_ID); url.append("&quantityQNT=" + transferMessage.getQuantity()); url.append("&feeNQT=100000000&deadline=100");
StringBuffer buffer; if (!isDryRun) { buffer = APIRequest.sendRequest(url.toString()); } else { buffer = new StringBuffer("mode --dry-run: sending of transactions is disabled"); }
|
|
|
|
Nxtblg
Legendary
Offline
Activity: 924
Merit: 1000
|
|
July 23, 2015, 01:20:04 PM |
|
Thanks a lot for your quick answer, MaWo.
|
|
|
|
|
xchrix
|
|
July 24, 2015, 09:39:01 AM |
|
thx for linkin my website! unfortunately there are a lot of bugs on it and i dont have any free time left.. its really annoying. please dont rely on the info there... hopefully i will have some spare time in the next week to fix some bugs.. Hi. I was wondering if we could see some of the HZ assets listed on coinmarketcap.com? I think that would be a great step. I notice that coinmarketcap uses https://trade.secureae.com for it's data on NXT assets, is there an equivalent data source for HZ? Thanks for all the great efforts with HZ lately cryptoassetcharts.info is listing them all (even though the spheres picture is not uptodate, just told him). And with a dedicated page for each asset, e.g.: AAssetHZ
|
|
|
|
altsheets
Legendary
Offline
Activity: 902
Merit: 1001
Free trial of #AltFolio = save time, react faster
|
|
July 27, 2015, 12:43:26 PM Last edit: July 27, 2015, 12:54:53 PM by altsheets |
|
... to do this post was still on my TODO list ... finally finding the time to react ... HZ block explorerFor a long time I wanted to link to an official page about my asset - but there was none. Everyone agreed it would be nice to have one page per asset in the block explorer, but there was not enough time in the HZ team to build such an extension. I had suggested " just send me an example page, and I code that for you" - but I did not have a clear concept what that would mean in the end: Tons of challenges, studying a huge amount of code, and actually learning a new programming language - this time in 3 hours *lol*. Trying to code without debugging - impossible. I need a running system. When thankfully, pharesim opened the sourcecode, I installed it from github, solved all problems, wrote a manual how to ... and then I let the backend run. Which took more than a day to finish! But now I have a working system to code extensions! --> HZ B.E.E.f.A = HZ Block Explorer Extension for AssetsAll in all ~35 hours of work later, I successfully finished coding & debugging - my first time ever in PHP! You can read my proud announcement ( 4 consecutive postings), my happiness about the tips I received, and -YIEHAH- pharesims announcement, that it got merged into the official version now (github pull request). My elaborate documentation of the whole endeavour is in this github README. (Actually, why I was on it anyways, I could also fix an old bug in the block explorer, zero balance when RS.) You can discuss my suggestion, an "asset warnings" function - in this horizon forum thread. Now that it is merged, this is how it looks- a dedicated page for each of the 149 assets: (click for larger) Thanks for merging my code. I am intrigued that you could already realize my "from the future" idea showing the "Number of Transfers" (see my sourcecode lines 117-123). I had not expected that it would work already, because the current HZ API does not tell us the number of transfers. But the B.E. knows more :-) TL;DR: My block explorer extension is online! A page like this one exists for all assets now! Try it out, perhaps by using that page to tell us about your favorite HZ asset?
|
|
|
|
Nxtblg
Legendary
Offline
Activity: 924
Merit: 1000
|
|
July 27, 2015, 05:10:08 PM |
|
... to do this post was still on my TODO list ... finally finding the time to react ...
HZ block explorer
WOW!! You've really put in a lot of work!
|
|
|
|
bit1
Legendary
Offline
Activity: 938
Merit: 1000
|
|
July 27, 2015, 10:07:05 PM |
|
... to do this post was still on my TODO list ... finally finding the time to react ...
HZ block explorer
WOW!! You've really put in a lot of work! Yeah! Altsheets is doing very good work, And he is really a very active member. I really don´t know if he joined how part of team or he is a collaborator of Horizon Team.
|
|
|
|
JPred
Sr. Member
Offline
Activity: 392
Merit: 250
my magic is growing strong[er]
|
|
July 29, 2015, 03:58:57 AM |
|
I am giving away some FREEDOM fo free to community members. This action will help with the distribution with FREEDOM since I don't operate from a web address or have a massive promotional campaign either. I will at some point create a topic involving FREEDOM and have a little feedback from community on this. As a precursor this current action sets the stage as such. If you are interested in receiving some of the tokens all you have to do is send a message to me (link to follow) on HZ platform where you describe what freedom means to you, or how do you see yourself involved with freedom. Freedom is very broadly defined so it does not need to be economic freedom as such - whatever you feel like conveying in the message is up to you - you can freely choose, even if it is just some quote that really means a lot to you. If you want to keep the message private then encrypt it, if you want it to be public then leave out the encryption. After receiving and reading the messages concerning freedom I will send some freedom to your account. Here is the link to my account. https://explorer.horizonplatform.io/?page=asset&id=1918076501414611727Here is my account NHZ-KGPH-8FZU-W843-EQPA2 Happy messaging
|
FREEDOM
|
|
|
BTCat
Legendary
Offline
Activity: 1960
Merit: 1010
|
|
July 29, 2015, 09:00:43 AM |
|
An Interview with Mayor of London candidate, George Galloway JR: What are your priorities and major policies that you would enact if elected as Mayor London? GG: I’ll give you the latest one which is attracting a lot of attention, and that’s the Mayor Chain that I have proposed. I’m going to put the entire £17 billion budget online in real time in block chain and this will allow the public in to see exactly what’s coming in and exactly what’s going out, and where it’s going to, and make representation about it. http://felixonline.co.uk/politics/5648/an-interview-with-mayor-of-london-candidate-george-galloway/
|
|
|
|
Pizpie (OP)
Legendary
Offline
Activity: 971
Merit: 1000
|
|
July 29, 2015, 05:31:34 PM |
|
An Interview with Mayor of London candidate, George Galloway JR: What are your priorities and major policies that you would enact if elected as Mayor London? GG: I’ll give you the latest one which is attracting a lot of attention, and that’s the Mayor Chain that I have proposed. I’m going to put the entire £17 billion budget online in real time in block chain and this will allow the public in to see exactly what’s coming in and exactly what’s going out, and where it’s going to, and make representation about it. http://felixonline.co.uk/politics/5648/an-interview-with-mayor-of-london-candidate-george-galloway/Perfect use of the technology. Great use case for the future...
|
I'm on Twitter: @mBTCPizpie
|
|
|
svider
Newbie
Offline
Activity: 54
Merit: 0
|
|
July 30, 2015, 08:01:08 AM |
|
Any update? When 4.0 wallet will be released?
|
|
|
|
MaWo
|
|
July 30, 2015, 11:23:07 AM |
|
Any update? When 4.0 wallet will be released?
Most likely today evening.
|
|
|
|
GoldenEye
|
|
July 30, 2015, 12:07:07 PM |
|
Good news: I found my password. Hi, I'm the node bounty developer. When the detailed node message (with node IPs and amount per node) will be back?
This will take a few days as the local weather is just too hot to do any thinking. I'll have it done this week, I promise. Almost 4 weeks later, I would like to ask the question again.
|
|
|
|
cbkr
Newbie
Offline
Activity: 56
Merit: 0
|
|
July 30, 2015, 07:08:01 PM |
|
Almost 4 weeks later, I would like to ask the question again.
Sorry for the wait, it's done now. The test script worked fine on testnet, fingers crossed for the payout tonight. I squished the data with zlib but I'm sure that's no problem for you.
|
|
|
|
|