Author

Topic: NXT :: descendant of Bitcoin - Updated Information - page 1771. (Read 2761645 times)

hero member
Activity: 840
Merit: 1002
Simcoin Developer
Account number 12956190138975700589 was incorrectly typed with an extra 1 at the end: 129561901389757005891. This is not a valid account number (it exceeds 2^64) and so resulted in overflow and was interpreted as 434692873790144579. I have added code that checks and prevents such overflows, so from now on this would return an "invalid recipient" error message. It is important to note that typo's that result in a different but valid account number will still not be caught, but in those cases it would be more obvious to the user that he has made a typo. So if the user enters the account as 12956190138975700588 for example, it will be accepted because this is a valid account number.

Most importantly, there is no evidence in the above case of a random, memory corruption type of bug, as some have feared. Adding checksums as a way to prevent user errors is a different issue, but there has been no memory corruption at play here.

Wow, I am ashamed. It indeed looks like my stupid mistake.

Still there is a small possibility that that last 1 was a result of a memory corruption, because I do not type anything, I use the mouse to copy/paste.

And even if that was my error, it doesn't mean that suddenly you can dismiss any possibility of memory corruption!

Your, guys, for some weird reason live in some illusory world, where your code runs on 3 parallel, avionics-grade computers, which then vote on the final result.

In reality your code will run on cheap Chinese memory chips, overheated CPUs and browsers with 24 toolbars installed.

There absolutely must be a way for other nodes to validate the address.
sr. member
Activity: 392
Merit: 250
We don't integrate some sort of CRC because of saving a tiny bit of memory in the core code and because sort-of-CRC could be done in a/the client, right?
No, because in the core and when sending across the network the transactions are already signed with the sender public key. Any corruption in the transaction content would automatically invalidate the signature.
sr. member
Activity: 392
Merit: 250
Just wondering if you guys are using unit tests now?

I don't use them, looks like a waste of time to me. I've seen a lot of projects that had a lot of specifications, testing and other voodoo magic things and still failed.
It is too early to add unit tests now. I am not a big fan of them, but they do have a value. But there is so much refactoring and re-writing needed now, that adding unit tests to it will only make it more difficult, more stuff to refactor and re-write.

Unit tests are not that useful in algorithm design and in cryptography. You cannot prove the validity of an algorithm using unit test, you can only prove that the test cases that you could think of worked. Just like you cannot prove a mathematical theorem by inspection.

I can write an encryption algorithm based on the assumption that all odd numbers are prime. If I test it for values of 1, 3, 5, 7, 11, 13, it will pass the unit tests with flying colors. Would you trust it though?
hero member
Activity: 910
Merit: 1000
We don't integrate some sort of CRC because of saving a tiny bit of memory in the core code and because sort-of-CRC could be done in a/the client, right?
full member
Activity: 224
Merit: 100
The 0.5.3 release has extra validation of recipient account numbers. While investigating this, I was able to prove that at least one of the reported incorrect transactions, so far unexplained, was due to an user error:

User account I was sending: 12956190138975700589
Erroneous account: 434692873790144579
Transaction ID: 4799337629054063359
Amount: 14'699

Account number 12956190138975700589 was incorrectly typed with an extra 1 at the end: 129561901389757005891. This is not a valid account number (it exceeds 2^64) and so resulted in overflow and was interpreted as 434692873790144579. I have added code that checks and prevents such overflows, so from now on this would return an "invalid recipient" error message. It is important to note that typo's that result in a different but valid account number will still not be caught, but in those cases it would be more obvious to the user that he has made a typo. So if the user enters the account as 12956190138975700588 for example, it will be accepted because this is a valid account number.

Most importantly, there is no evidence in the above case of a random, memory corruption type of bug, as some have feared. Adding checksums as a way to prevent user errors is a different issue, but there has been no memory corruption at play here.

Nice work! Grin
legendary
Activity: 1120
Merit: 1000
What is going on with coinmarketcap?
Where does it take the price from?

BTW NXT has one less competitor, MSC.
Bitshares is already history and know we will have 2 new entrants: XCP and eMunie!
eMunie is a joke, XCP is great but PoW based (soon to become extinct while Bitcoin is sinking)...

MSC and Bitshares out of the game? Why so?
hero member
Activity: 910
Merit: 1000

Why is that symbol still not changed shall I mail to change it to the coin created by hash?

Pin

Done Wink
sr. member
Activity: 392
Merit: 250
The 0.5.3 release has extra validation of recipient account numbers. While investigating this, I was able to prove that at least one of the reported incorrect transactions, so far unexplained, was due to an user error:

User account I was sending: 12956190138975700589
Erroneous account: 434692873790144579
Transaction ID: 4799337629054063359
Amount: 14'699

Account number 12956190138975700589 was incorrectly typed with an extra 1 at the end: 129561901389757005891. This is not a valid account number (it exceeds 2^64) and so resulted in overflow and was interpreted as 434692873790144579. I have added code that checks and prevents such overflows, so from now on this would return an "invalid recipient" error message. It is important to note that typo's that result in a different but valid account number will still not be caught, but in those cases it would be more obvious to the user that he has made a typo. So if the user enters the account as 12956190138975700588 for example, it will be accepted because this is a valid account number.

Most importantly, there is no evidence in the above case of a random, memory corruption type of bug, as some have feared. Adding checksums as a way to prevent user errors is a different issue, but there has been no memory corruption at play here.
legendary
Activity: 1498
Merit: 1000
Kudos to these guys - I invested there too.
Competition is good thing.
Too bad it is based on the slug PoW coin..

We could interface their system with Nxt... Decentralization2 is a good thing.
Wink Smiley
legendary
Activity: 1498
Merit: 1000
BTW I approached again zerocoin team with 1M NXT bounty to investigate whether NXT PoS is compatible with their protocol...

You could also contact Artos the dev of StableCoin, he just announced that beta testing of his mixing service will start soon.
I will investigate this option to thanks!
hero member
Activity: 589
Merit: 500

As the creator BCNext expected, Nxt will be the most decentralized crypto p2p currency, which is and will be always developed in a decentralized way. No other cryptocurrencies have so many different clients including java version, native client, android and iOS client like Nxt, and there are so many developers even at the early stage. In a p2p decentralized way, no client, no website, no exchange is official.
 
Be a long term investment, don't expect to be a millionaire over a night. Be patient. The present development state and the market is benificial to the wealth distribution. Don't just have an eye on those 73 accounts. Everyone has opportunity at any time.

Not only invest money, do invest your work. The work values. I don't have so many development skills, but I do catch up all the posts in several threads related to Nxt every day, and also I'm trying to work on something in my way.


legendary
Activity: 2142
Merit: 1010
Newbie
Kudos to these guys - I invested there too.
Competition is good thing.
Too bad it is based on the slug PoW coin..

We could interface their system with Nxt... Decentralization2 is a good thing.
legendary
Activity: 2142
Merit: 1010
Newbie
Forums.nxtcrypto.org is ex- nxtalk.org . You can use old domain name as a quicktype link.  
 Come-from-beyond, you already confirmed it was you who registered there (I sent you PM month ago).
 Actually, we wanted to disable "forgot password" option to educate people that with NXT they can never restore their passphrases. What is forgotten is forgotten forever. Probably, I'll create a poll asking community if they desire this option back.

Looks like u already disabled "forgot password". Still waiting for email with my forgotten password Smiley
hero member
Activity: 784
Merit: 500
Did something happen to MSC? Was stable for the longest time...
All kind of bad moves from Dacoin et al...

I hope to sell 3-6% of my total MSC holdings (5000-10000 MSC).

Wow... he owns/owned 30% of all MSC? 5000*(1/0.03)/563000 = ~29.6% Shocked

And NXT is unfair distributed Cheesy
legendary
Activity: 2142
Merit: 1010
Newbie
BTW I approached again zerocoin team with 1M NXT bounty to investigate whether NXT PoS is compatible with their protocol...

You could also contact Artos the dev of StableCoin, he just announced that beta testing of his mixing service will start soon.

Do they use decentralized approach? I tried to get how they do that, looks like someone hosts a special mixing server. Am I right?
full member
Activity: 224
Merit: 100
Did something happen to MSC? Was stable for the longest time...
All kind of bad moves from Dacoin et al...

I hope to sell 3-6% of my total MSC holdings (5000-10000 MSC).

Wow... he owns/owned 30% of all MSC? 5000*(1/0.03)/563000 = ~29.6% Shocked
full member
Activity: 179
Merit: 100
BTW I approached again zerocoin team with 1M NXT bounty to investigate whether NXT PoS is compatible with their protocol...

You could also contact Artos the dev of StableCoin, he just announced that beta testing of his mixing service will start soon.
hero member
Activity: 840
Merit: 1002
Simcoin Developer
Cheap NXT! Cheap NXT! Come get some Smiley

We're back at 0.02 levels...
sr. member
Activity: 308
Merit: 250
New NxtMac app version 0.20 available at http://nxtra.org/mac that fixes the issue with auto-updating. 0.5.3 included by default.

New option to view changelog associated with your installed version.
sr. member
Activity: 301
Merit: 250
What is going on with coinmarketcap?
Where does it take the price from?

BTW NXT has one less competitor, MSC.
Bitshares is already history and know we will have 2 new entrants: XCP and eMunie!
eMunie is a joke, XCP is great but PoW based (soon to become extinct while Bitcoin is sinking)...

XCP?
https://bitcointalk.org/index.php?topic=395761.0;topicseen

Kudos to these guys - I invested there too.
Competition is good thing.
Too bad it is based on the slug PoW coin..

OK
Jump to: