|
antanst
|
 |
March 13, 2014, 05:52:40 PM |
|
Yes, you still need to implement curve, but don't need to construct whatever you need to send yourself and you can still rely on the error messages sent back from the server. I don't believe there is any other way?
That's right. Previously, you needed to construct the raw transaction bytes and sign them. As of 0.8.9 you request the raw bytes from NRS, sign them and send them back.
|
|
|
|
Come-from-Beyond
Legendary

Activity: 2142
Merit: 1010
Newbie
|
 |
March 13, 2014, 05:53:11 PM |
|
Don't get me wrong, it's one thing talking about unit tests and another thing actually writing them. I'm also not particularly fond of them, but I acknowledge their usefulness.
Unfortunatelly, most of guys know that "unit tests should be used", but they don't use sanity checks of this statement. In our project (when we don't have spare Java coders) unit tests would hurt the development. So, guys, stop talking about unit tests made in a perfect world, come back to the reality. /endOfDiscussion.
|
|
|
|
|
|
Jean-Luc
|
 |
March 13, 2014, 05:54:08 PM |
|
Would probably need an api for that, availableBalance / effectiveBalance in getAccount assets list. CFB - any comments?
You need to use Account.getUnconfirmedAssetBalance(). Of course I just noticed it is not returned in the http API, sorry. I will add it. The whole http API needs some critical review and improvement.
|
|
|
|
|
swartzfeger
|
 |
March 13, 2014, 05:55:54 PM |
|
Wesley, updated the mac wallet to 0.8.9 and no longer greeted with the login but with this:  (resized the window to keep the screenshot small) After the update, it defaults back to test net, so I switched to main, restarted... same thing.
|
|
|
|
|
|
wesleyh
|
 |
March 13, 2014, 05:56:17 PM |
|
Would probably need an api for that, availableBalance / effectiveBalance in getAccount assets list. CFB - any comments?
You need to use Account.getUnconfirmedAssetBalance(). Of course I just noticed it is not returned in the http API, sorry. I will add it. The whole http API needs some critical review and improvement. critical review and improvement: can you comment on what that means?
|
|
|
|
|
|
wesleyh
|
 |
March 13, 2014, 05:56:54 PM |
|
Wesley, updated the mac wallet to 0.8.9 and no longer greeted with the login but with this:  (resized the window to keep the screenshot small) After the update, it defaults back to test net, so I switched to main, restarted... same thing. Yup, shouldn't have updated  My client is not yet included it seems.
|
|
|
|
|
|
swartzfeger
|
 |
March 13, 2014, 06:01:40 PM |
|
Yup, shouldn't have updated  My client is not yet included it seems. Ack!  Do you have the url handy for the wallet.zip? I don't think it's listed on extra.org yet...
|
|
|
|
|
|
Jean-Luc
|
 |
March 13, 2014, 06:02:33 PM |
|
WIll there be a similar update for the 0.7.x train? Or it is obsoleted? The reason I ask is that all of a sudden, with 0.8.x train I get isolated on my own fork very frequently, causing restart of java with old blockchain. I went to 0.7.7 and problem went away.
No more 0.7 releases. I don't have the time to maintain two branches, and asset exchange features and bugfixes are not in 0.7. I haven't had such problems with forks on 0.8, I saw a few rescans today but now it has recovered without need for restart.
|
|
|
|
|
antanst
|
 |
March 13, 2014, 06:04:46 PM |
|
Unfortunatelly, most of guys know that "unit tests should be used", but they don't use sanity checks of this statement. In our project (when we don't have spare Java coders) unit tests would hurt the development. So, guys, stop talking about unit tests made in a perfect world, come back to the reality. /endOfDiscussion.
I'm not saying you should unit test, it's your baby after all. I'm saying that unit tests aren't useless per se.
|
|
|
|
|
wesleyh
|
 |
March 13, 2014, 06:06:16 PM |
|
Yup, shouldn't have updated  My client is not yet included it seems. Ack!  Do you have the url handy for the wallet.zip? I don't think it's listed on extra.org yet... http://nxtra.org/mac/NxtWallet.zipWill update with new version tomorrow!
|
|
|
|
|
redsn0w
Legendary

Activity: 1778
Merit: 1043
#Free market
|
 |
March 13, 2014, 06:09:14 PM |
|
Yup, shouldn't have updated  My client is not yet included it seems. Ack!  Do you have the url handy for the wallet.zip? I don't think it's listed on extra.org yet... http://nxtra.org/mac/NxtWallet.zipWill update with new version tomorrow! +1 
|
|
|
|
|
|
|
|
Jean-Luc
|
 |
March 13, 2014, 06:10:11 PM |
|
Would probably need an api for that, availableBalance / effectiveBalance in getAccount assets list. CFB - any comments?
You need to use Account.getUnconfirmedAssetBalance(). Of course I just noticed it is not returned in the http API, sorry. I will add it. The whole http API needs some critical review and improvement. critical review and improvement: can you comment on what that means? Well, just things like the above, I never realized the unconfirmed asset balance was not available in the API. There are also calls that are not efficient, requiring multiple requests first to get some object ids, then to get the objects themselves one by one. Then there are calls that are partially redundant or duplicate, like getBalance, getAccount, getAccountPublicKey. getAccount already returns balance and public key, why do you need the other two? Fine, getting the assets for an account is more expensive and should not be done if not needed, but for getting the balance and public key the work is the same. Looks like those were added one by one on as-needed basis.
|
|
|
|
|
swartzfeger
|
 |
March 13, 2014, 06:20:58 PM |
|
Yup, shouldn't have updated  My client is not yet included it seems. Ack!  Do you have the url handy for the wallet.zip? I don't think it's listed on extra.org yet... http://nxtra.org/mac/NxtWallet.zipWill update with new version tomorrow! You are a machine-beast, Wesley. Donation sent -- your work is appreciated!
|
|
|
|
|
nadrimajstor
Newbie

Activity: 30
Merit: 0
|
 |
March 13, 2014, 06:26:03 PM |
|
Uncle Bob says: Manual testing is immoral. Not only is it high stress, tedious, and error prone; it’s just wrong to turn humans into machines.
|
|
|
|
|
|
Tobo
|
 |
March 13, 2014, 06:27:12 PM |
|
|
|
|
|
|
|
Jean-Luc
|
 |
March 13, 2014, 06:28:13 PM |
|
Is anything on NXT unit tested? EVER?
Dunno. Unit tests r not a panacea, more likely a modern trend between people who used to code for outsourcing. Good thing for u is that Jean-Luc decides how to test, not me. I don't use unit tests now. Those are not substitute for functional testing and QA, and I share the view that for new features unit tests are not that useful. I prefer testing the whole system, in conditions as close to production as possible, and this is why I worked on making the test net easy to participate in for everyone.
|
|
|
|
albefero
Newbie

Activity: 4
Merit: 0
|
 |
March 13, 2014, 06:30:05 PM |
|
Hi,
I would like to test the AE, can i get some testnxt?
8262800206954725703
Thanks in advance!
|
|
|
|
|
|
rdanneskjoldr
|
 |
March 13, 2014, 06:30:56 PM |
|
Hi,
I would like to test the AE, can i get some testnxt?
8262800206954725703
Thanks in advance!
10k sent
|
|
|
|
|
|
salsacz
|
 |
March 13, 2014, 06:32:07 PM |
|
- Start a Reddit Marketing Campaign. The funds weren't allocate to someone of us.
ehm TwinWinNerD is probably our new reddit guy after passions leaving, so here is passion's project that should be fullfilled: salsacz, when nexerns client is published for a few days and we filled the subreddit /r/Nxt with many quality links, I want to start a reddit ad campaign. http://de.reddit.com/wiki/selfservehttp://www.reddit.com/ad_inqI will create pictures, other users can create pictures as well. We get 1000 views for 0,75$. We can target specific subreddits like /r/Bitcoin with 100k user or /r/litecoin with 18k user. But we can also target the whole frontpage. For only 75$ or 1000 NXT we could create 100k views. From interested persons or from every person world wide. I think it would be nice if we can get a minimum of 24.000 NXT for this. I would use 250 NXT per week to generate about 20000 views each week. In the beginning only on cryptocurrency subreddits. Later I would rotate it, so the "normal" ppl see the ad also. This campaign I would run for 2 years. What do you guys think? TwinWinNerD has got 5k Nxt for this now, so it should bring 500k views, if passions numbers were correct. http://87.230.14.1/nxt/nxt.cgi?action=3000&acc=13190601918595664606thanks, I sent a little "reminder" to TwinWinNerD reddit was funded weeks ago, problem is with activity of current organisator. The only active Nxt reddit mod is Damelon and only thanks to his summaries. Have we got any other reddits experts? If not, I can learn it too, I just learned how to deal with wiki.org 
|
|
|
|
|
|