Pages:
Author

Topic: [Nxt] API of Nxt - page 10. (Read 37370 times)

full member
Activity: 168
Merit: 100
IDEX - LIVE Real-time DEX
January 09, 2014, 07:45:12 AM

NRS = Nxt Reference Software, it's the whitepaper written in Java.
It has 2 parts - server (as a Java servlet) and client (as HTML-files).

What do you call the parts of the Servlet that support the HTML like getInitialData, unLockAccount, etc?

I see 3 parts really: NRS, Client Servlet, and Client HTML.
legendary
Activity: 2142
Merit: 1010
Newbie
January 09, 2014, 03:28:49 AM
I've noticed I am not sure about some terms:

What does NRS actually stand for?
Is NRS only the bundled web client or the complete nxt software?
What is the server part called?
Does the bundled web client have a name?

NRS = Nxt Reference Software, it's the whitepaper written in Java.
It has 2 parts - server (as a Java servlet) and client (as HTML-files).
full member
Activity: 224
Merit: 100
January 09, 2014, 02:59:31 AM
I've noticed I am not sure about some terms:

What does NRS actually stand for?
Is NRS only the bundled web client or the complete nxt software?
What is the server part called?
Does the bundled web client have a name?
newbie
Activity: 39
Merit: 0
January 08, 2014, 12:26:41 PM
It would be more easier if the "getBalance" responses with the balance which atleast got 10 confirmations. Mind implementing this asap Smiley ?

+ If theres a command to move nxt instantly btw two accounts within a client like the bitcoins "move" rpc command. It would be very good.

The above two commands help very much to develop online marketplaces and wallets for nxt.

-Thanks-
legendary
Activity: 2142
Merit: 1010
Newbie
January 08, 2014, 11:15:45 AM
Another question: is there a way to make a secure API send from a VPS?

If the API is being called from another VPS, I would need to send the secret in plan text between the 2 VPSs.

Use HTTPS
hero member
Activity: 750
Merit: 500
www.coinschedule.com
January 08, 2014, 11:09:55 AM
Another question: is there a way to make a secure API send from a VPS?

If the API is being called from another VPS, I would need to send the secret in plan text between the 2 VPSs.
legendary
Activity: 2142
Merit: 1010
Newbie
January 08, 2014, 10:55:25 AM
If multiple accounts are unlocked in the same server, will they all be forging?

Yes
hero member
Activity: 750
Merit: 500
www.coinschedule.com
January 08, 2014, 10:53:37 AM
-Can multiple accounts be unlocked against the same NXT server at the same time?

Yes.


-Further, can I distribute the nxt software with my client to achieve a hassle-free end user experience?

Yes.

If multiple accounts are unlocked in the same server, will they all be forging?
legendary
Activity: 2142
Merit: 1010
Newbie
January 07, 2014, 04:50:07 PM
Is the list of nodes returned by getPeers the complete lists of nodes in the network or are these just the nodes that my node knows about?

The latter.
full member
Activity: 224
Merit: 100
January 07, 2014, 04:46:53 PM
Is the list of nodes returned by getPeers the complete lists of nodes in the network or are these just the nodes that my node knows about?
full member
Activity: 224
Merit: 100
January 07, 2014, 09:13:43 AM
Are unconfirmed transactions as returned by getUnconfirmedTransactionIds also returned in getAccountTransactionIds (before they have confirmations)?

No.

Then this is a request... :-)

Right now, to also show unconfirmed transactions for an account in my client, I would need to constantly call getUnconfirmedTransactionIds, retrieve the transactions returned and check if the clients account number is in these transactions.
legendary
Activity: 2142
Merit: 1010
Newbie
January 07, 2014, 09:07:31 AM
Are unconfirmed transactions as returned by getUnconfirmedTransactionIds also returned in getAccountTransactionIds (before they have confirmations)?

No.
full member
Activity: 224
Merit: 100
January 07, 2014, 09:05:22 AM
Are unconfirmed transactions as returned by getUnconfirmedTransactionIds also returned in getAccountTransactionIds (before they have confirmations)?
full member
Activity: 143
Merit: 100
January 07, 2014, 05:09:16 AM
about the sendMoney API, there's a parameter "referencedTransaction",
the explanation in wiki is"REFTRANSACTION is an option reference to a previous Nxt transaction ID"
can I set it to the previous transaction-ID of the sender account?
Is it ok to left the parameter empty(since it is an option)?

U can leave it empty or set to any transaction id. Ur transaction won't be confirmed until the referenced transaction is.

I see, so the referencedTransaction  makes some dependence for the transaction,
if the  referencedTransaction failed, the sendMoney transaction will be canceled, right?
it's a good feature!
legendary
Activity: 2142
Merit: 1010
Newbie
January 07, 2014, 04:50:15 AM
about the sendMoney API, there's a parameter "referencedTransaction",
the explanation in wiki is"REFTRANSACTION is an option reference to a previous Nxt transaction ID"
can I set it to the previous transaction-ID of the sender account?
Is it ok to left the parameter empty(since it is an option)?

U can leave it empty or set to any transaction id. Ur transaction won't be confirmed until the referenced transaction is.
full member
Activity: 143
Merit: 100
January 07, 2014, 04:46:21 AM
about the sendMoney API, there's a parameter "referencedTransaction",
the explanation in wiki is"REFTRANSACTION is an option reference to a previous Nxt transaction ID"
can I set it to the previous transaction-ID of the sender account?
Is it ok to left the parameter empty(since it is an option)?
legendary
Activity: 2142
Merit: 1010
Newbie
January 06, 2014, 01:50:34 PM
Which balance is show in the NRS client? "Unconfirmed balance"?

Yes
full member
Activity: 224
Merit: 100
January 06, 2014, 01:27:50 PM
Which balance is show in the NRS client? "Unconfirmed balance"?
full member
Activity: 224
Merit: 100
January 06, 2014, 09:39:01 AM
what is type, subtype of transaction? possible values and explanations of them? thx

Look at the output of getConstants or look into source code.
sr. member
Activity: 308
Merit: 250
January 06, 2014, 09:36:42 AM
what is type, subtype of transaction? possible values and explanations of them? thx
Pages:
Jump to: