newcn
|
|
January 07, 2014, 09: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)?
|
BTC:1NzzfeHCgN8fF6mSG1UeBFCVd2cxKbGyHk NXT:13187911577562526278
|
|
|
Come-from-Beyond
Legendary
Offline
Activity: 2142
Merit: 1010
Newbie
|
|
January 07, 2014, 09: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.
|
|
|
|
newcn
|
|
January 07, 2014, 10:09:16 AM Last edit: January 07, 2014, 10:35:11 AM by newcn |
|
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!
|
BTC:1NzzfeHCgN8fF6mSG1UeBFCVd2cxKbGyHk NXT:13187911577562526278
|
|
|
marcus03
|
|
January 07, 2014, 02:05:22 PM |
|
Are unconfirmed transactions as returned by getUnconfirmedTransactionIds also returned in getAccountTransactionIds (before they have confirmations)?
|
|
|
|
Come-from-Beyond
Legendary
Offline
Activity: 2142
Merit: 1010
Newbie
|
|
January 07, 2014, 02:07:31 PM |
|
Are unconfirmed transactions as returned by getUnconfirmedTransactionIds also returned in getAccountTransactionIds (before they have confirmations)?
No.
|
|
|
|
marcus03
|
|
January 07, 2014, 02:13:43 PM |
|
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.
|
|
|
|
marcus03
|
|
January 07, 2014, 09: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?
|
|
|
|
Come-from-Beyond
Legendary
Offline
Activity: 2142
Merit: 1010
Newbie
|
|
January 07, 2014, 09: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.
|
|
|
|
abuelau
|
|
January 08, 2014, 03:53:37 PM |
|
-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?
|
|
|
|
Come-from-Beyond
Legendary
Offline
Activity: 2142
Merit: 1010
Newbie
|
|
January 08, 2014, 03:55:25 PM |
|
If multiple accounts are unlocked in the same server, will they all be forging?
Yes
|
|
|
|
abuelau
|
|
January 08, 2014, 04:09:55 PM |
|
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.
|
|
|
|
Come-from-Beyond
Legendary
Offline
Activity: 2142
Merit: 1010
Newbie
|
|
January 08, 2014, 04:15:45 PM |
|
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
|
|
|
|
bustingbuster
Newbie
Offline
Activity: 39
Merit: 0
|
|
January 08, 2014, 05:26:41 PM |
|
It would be more easier if the "getBalance" responses with the balance which atleast got 10 confirmations. Mind implementing this asap ? + 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-
|
|
|
|
marcus03
|
|
January 09, 2014, 07: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?
|
|
|
|
Come-from-Beyond
Legendary
Offline
Activity: 2142
Merit: 1010
Newbie
|
|
January 09, 2014, 08: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).
|
|
|
|
ferment
Full Member
Offline
Activity: 168
Merit: 100
IDEX - LIVE Real-time DEX
|
|
January 09, 2014, 12:45:12 PM |
|
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.
|
|
|
|
Come-from-Beyond
Legendary
Offline
Activity: 2142
Merit: 1010
Newbie
|
|
January 09, 2014, 12:48:37 PM |
|
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. Client HTTP requests.
|
|
|
|
ferment
Full Member
Offline
Activity: 168
Merit: 100
IDEX - LIVE Real-time DEX
|
|
January 09, 2014, 12:55:53 PM |
|
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. Client HTTP requests. Is there a plan for NRS APIs that handle these things? -remove a peer -handle block generation -generate tokens
|
|
|
|
Come-from-Beyond
Legendary
Offline
Activity: 2142
Merit: 1010
Newbie
|
|
January 09, 2014, 12:59:45 PM |
|
-remove a peer -handle block generation -generate tokens
We r planning to create other API. Old API will be called Legacy API and become obsolete. New API will be split to 2 parts - Low-level API and High-level API. If u r planning to write a client software u could start a thread to discuss what LL and HL API calls u need.
|
|
|
|
abuelau
|
|
January 09, 2014, 01:37:42 PM |
|
-remove a peer -handle block generation -generate tokens
We r planning to create other API. Old API will be called Legacy API and become obsolete. New API will be split to 2 parts - Low-level API and High-level API. If u r planning to write a client software u could start a thread to discuss what LL and HL API calls u need. What's the ETA for these new APIs?
|
|
|
|
|