alpha_one_x86
|
|
January 31, 2014, 01:11:58 PM |
|
But I have too: <param-value>127.0.0.1; localhost; 0:0:0:0:0:0:0:1;</param-value> Replace by * will work, but it's not correct. I use 127.0.0.1, and it's into the list And what about?:
|
|
|
|
Come-from-Beyond
Legendary
Offline
Activity: 2142
Merit: 1010
Newbie
|
|
January 31, 2014, 01:20:23 PM |
|
There is no unlockAccount API call. It's part of web interface.
|
|
|
|
alpha_one_x86
|
|
January 31, 2014, 01:32:39 PM |
|
But I have too: <param-value>127.0.0.1; localhost; 0:0:0:0:0:0:0:1;</param-value> Replace by * will work, but it's not correct. I use 127.0.0.1, and it's into the list
|
|
|
|
Come-from-Beyond
Legendary
Offline
Activity: 2142
Merit: 1010
Newbie
|
|
January 31, 2014, 01:38:52 PM |
|
But I have too: <param-value>127.0.0.1; localhost; 0:0:0:0:0:0:0:1;</param-value> Replace by * will work, but it's not correct. I use 127.0.0.1, and it's into the list
What is returned by http://yourserver:7874/nxt?requestType=getMyInfo ?
|
|
|
|
alpha_one_x86
|
|
January 31, 2014, 02:16:07 PM |
|
You are in right, it's what I need. My Ip is 127.X.X.X not 127.0.0.1. I can open on 2 client my account to forging? Because my computer have internet problem, but on my server I can forge.
|
|
|
|
Come-from-Beyond
Legendary
Offline
Activity: 2142
Merit: 1010
Newbie
|
|
January 31, 2014, 02:22:28 PM |
|
I can open on 2 client my account to forging? Because my computer have internet problem, but on my server I can forge.
U can.
|
|
|
|
opticalcarrier
|
|
January 31, 2014, 03:21:30 PM |
|
whoa....
where can I get more info on this '&requestType=unlockAccount' thing. I must have missed something. Where is this request type and all its options documented at?
|
|
|
|
GCInc.
|
|
February 01, 2014, 03:25:48 PM |
|
Are transactions rebroadcast automatically in regular intervals in the network once they're sent their way? Source account had insufficient funds while broadcasting last night, but 16 hours later as it was funded, the pending transaction left by itself right after without any interaction with the NXT client.
|
|
|
|
Come-from-Beyond
Legendary
Offline
Activity: 2142
Merit: 1010
Newbie
|
|
February 01, 2014, 04:14:15 PM |
|
Are transactions rebroadcast automatically in regular intervals in the network once they're sent their way? Source account had insufficient funds while broadcasting last night, but 16 hours later as it was funded, the pending transaction left by itself right after without any interaction with the NXT client.
Yes, now transactions r rebroadcasted.
|
|
|
|
opticalcarrier
|
|
February 03, 2014, 10:05:36 PM |
|
can we get explicit info on the getPeer API?
the downloadedVolume: is that figure the amount other peers have downloaded from the node returning the data, or is it the amount that peer has downloaded from other peers?
And is it bytes or packets or what?
|
|
|
|
Come-from-Beyond
Legendary
Offline
Activity: 2142
Merit: 1010
Newbie
|
|
February 03, 2014, 10:24:35 PM |
|
can we get explicit info on the getPeer API?
the downloadedVolume: is that figure the amount other peers have downloaded from the node returning the data, or is it the amount that peer has downloaded from other peers?
And is it bytes or packets or what?
It's bytes. Downloaded by the node from that one peer.
|
|
|
|
opticalcarrier
|
|
February 04, 2014, 01:30:43 AM |
|
on getState, can someone explain more detail of the following 3? The Wiki page is very basic.
cumulativeDifficulty: I dont understand cumulative difficulty in NXT at all (or in bitcoin; I should educate myself here) I expect what I need here is a very long explanation, so perhaps you could recommend a good site that can break it down from a beginner level?
numberOfPeers The Wiki says "NUMPEERS is the number of peers on the network" but is this the node's best guess of total number of all active peers across the entire network? Even including peers that are maybe 10 hops away?
totalEffectiveBalance Is this the total amount of NXT participating in the forging process?
|
|
|
|
btc2nxt
|
|
February 05, 2014, 07:44:45 AM Last edit: February 05, 2014, 08:26:00 AM by btc2nxt |
|
@ AE client devs:
Do u need any other API calls related to Asset Exchange?
Get current account order IDs Obtain current order IDs for bid or ask orders for a specific account, optionally filtered by an an assetID. Implemented in version 0.5.9. Request http://localhost:7874/nxt? requestType=GET_BID_OR_ASK& account=ACCOUNT& asset=ASSETID ------------- 1. can we get order by asssetid, need not contain account no, because i want to know who bid/ask my asset 2. there are only 12 assets now , if 10k or more, it is difficult find a asset, maybe a asset type, brand are needed when isssue them, for example: crypto coin, nxt;crypto,doge car,honda;computer, lenovo this is test picture. i only get a bid order, there is not any ask orders . i tried doing askorder but failed.
|
|
|
|
Come-from-Beyond
Legendary
Offline
Activity: 2142
Merit: 1010
Newbie
|
|
February 05, 2014, 11:34:16 AM |
|
@ AE client devs:
Do u need any other API calls related to Asset Exchange?
Get current account order IDs Obtain current order IDs for bid or ask orders for a specific account, optionally filtered by an an assetID. Implemented in version 0.5.9. Request http://localhost:7874/nxt? requestType=GET_BID_OR_ASK& account=ACCOUNT& asset=ASSETID ------------- 1. can we get order by asssetid, need not contain account no, because i want to know who bid/ask my asset 2. there are only 12 assets now , if 10k or more, it is difficult find a asset, maybe a asset type, brand are needed when isssue them, for example: crypto coin, nxt;crypto,doge car,honda;computer, lenovo this is test picture. i only get a bid order, there is not any ask orders . i tried doing askorder but failed. https://i.imgur.com/WLITgh2.jpgHave u taken a look at getAccountCurrentAskOrderIds and getAccountCurrentBidOrderIds?
|
|
|
|
btc2nxt
|
|
February 06, 2014, 07:58:19 AM |
|
1. http://holms.cloudapp.net:6874/nxt?requestType=getAccountCurrentBidOrderIds&asset=14269709746849295412{"errorCode":3,"errorDescription":"\"account\" not specified"} can't get order from getAccountCurrentBidOrderIds/ask api, with only assetid provided 2. wiki has a mistake in api Get order IDs http://localhost:7874/nxt? requestType=GET_BID_OR_ASK http://holms.cloudapp.net:6874/nxt?requestType=getAskOrderIds{"errorCode":3,"errorDescription":"\"asset\" not specified"} http://holms.cloudapp.net:6874/nxt?requestType=getAskOrderIds&asset=14269709746849295412 {"errorCode":3,"errorDescription":"\"timestamp\" not specified"} http://holms.cloudapp.net:6874/nxt?requestType=getAskOrderIds&asset=14269709746849295412×tamp=0{"askOrderIds":[]} http://holms.cloudapp.net:6874/nxt?requestType=getBidOrderIds&asset=14269709746849295412×tamp=0{"bidOrderIds":["17077867597681716581","16241672625542691626"]} corrett api is requestType=getBidOrderIds&asset=×tamp= from this api ,can get orderids by only asset, not including account btw, to cfb: how to answer the bid/ask order , then finish orders?
|
|
|
|
Come-from-Beyond
Legendary
Offline
Activity: 2142
Merit: 1010
Newbie
|
|
February 06, 2014, 08:56:54 AM |
|
This call returns orders of a particular account, u r supposed to provide account id. btw, to cfb: how to answer the bid/ask order , then finish orders?
Just place an opposite order, Nxt will match them automatically.
|
|
|
|
marcus03
|
|
February 09, 2014, 06:45:37 PM |
|
Quick question while getting familiar with AE API calls:
Besided showing orders, there is no way to get the actual trades that happened, right? Because I think we need a way to show the current price of an asset, don't we?
|
|
|
|
Come-from-Beyond
Legendary
Offline
Activity: 2142
Merit: 1010
Newbie
|
|
February 09, 2014, 06:56:01 PM |
|
Quick question while getting familiar with AE API calls:
Besided showing orders, there is no way to get the actual trades that happened, right? Because I think we need a way to show the current price of an asset, don't we?
Use getTrades
|
|
|
|
marcus03
|
|
February 09, 2014, 07:24:45 PM |
|
Quick question while getting familiar with AE API calls:
Besided showing orders, there is no way to get the actual trades that happened, right? Because I think we need a way to show the current price of an asset, don't we?
Use getTradesThat isn't in the Wiki. I'll peek into the decompiled source to get all calls. EDIT: Oh no... of course I can't... It's only in testnet, right? What other calls are in testnet that are not in production?
|
|
|
|
Come-from-Beyond
Legendary
Offline
Activity: 2142
Merit: 1010
Newbie
|
|
February 09, 2014, 07:26:45 PM |
|
Quick question while getting familiar with AE API calls:
Besided showing orders, there is no way to get the actual trades that happened, right? Because I think we need a way to show the current price of an asset, don't we?
Use getTradesThat isn't in the Wiki. I'll peek into the decompiled source to get all calls. Use asset, firstIndex and lastIndex parameters. Indices set range of trades in the history. If omitted 0 and 2^32-1 default values r used.
|
|
|
|
|