Author

Topic: NXT :: descendant of Bitcoin - Updated Information - page 760. (Read 2761642 times)

legendary
Activity: 1890
Merit: 1086
Ian Knowles - CIYAM Lead Developer
Would you be so kind as to educate me on how using double precision is being cavalier?

Start here: http://en.wikipedia.org/wiki/Floating_point#Accuracy_problems
hero member
Activity: 1162
Merit: 568
Hi,all,
I read a paper an article about crypto protocol:

Focus: Information Exchange for the Mistrustful

http://physics.aps.org/articles/v6/119

Will this help cryptocurrency ?
sr. member
Activity: 490
Merit: 250
I don't really come from outer space.
Speak the Devil's name and he shall appear.
sr. member
Activity: 294
Merit: 260
Donation Fundraiser for the Guy who proofread the Reddit-Tip-Bot

The code is now tested and I will also request the payout for the creator of the bot.
Here is a quote of the tester:

Quote
from pkulak sent 1 hour ago

Okay, I'm ready to sign off on this. I got it running in a VM (under my own account to avoid low-karma issues) and everything tests out as working. I didn't do an audit of every line, but I did look at all the lines that were modified/added from the original altcointip project it was forked from:

https://dl.dropboxusercontent.com/u/241970/audit/file_changes.txt https://dl.dropboxusercontent.com/u/241970/audit/diffs.diff

It all looks good. It's good code. No security issues or backdoors, from what I can tell (as of 77d830d3ff0e79d73e798360f2594bcc8021ca8c). The database is not encrypted, which maybe you'd want since it includes all the private keys, but that probably doesn't buy you too much over just really locking your server down properly. Bit of a challenging project too, due to NXT's lack of resemblance to the altcoins that altcointip was built to work with.

His NXT address is: 13791631395073296157
He only received 500 NXT until now from LiQio.

Author of the bot here. Donated 500. Thanks for proofreading the code!
hero member
Activity: 597
Merit: 500
Why is blockchain only show 4 confirmation on an transaction made yesterday?

what if exchange only use blockchain info?

please explain

Got a link?

transaction id: 17232427939066065628

I think the blockchain explorer doesn't show the correct number of confirmations. see here, looks more accurate:
http://www.mynxt.info/blockexplorer/details.php?action=tx&tx=17232427939066065628

Ok I understand, but...

what if bter uses info from the "official" blockchain explorer let us say manualy, cant we just fix the issue with that blockchain explorer.

exchanges using thier own instance to verify transactions for sure. blockexplorer is currently polling the NRS api and buffers the result
into a local database, therefore the very quick query and response times you see when using the explorer. the new NRS supports now direct
database access, which means blockexplorer can query all data in realtime soon. since the buffering can be skipped, the confirmations
will be always realtime too. atm you see a snapshot from that moment the old api was polled and therefore the confirmation gap but
this doesn't mean the data is not acurate. the confirmation gap is currently filled by an additional cron job refreshing the snapshot from time
to time. if you check this specific transaction later you will see the confirmation increased.

ps: the blockexplorer is special built to run on minimal hardware to handle even millions of records without any greater latency by query.
this means even if the nxt blockchain grows extremly the response time will remain the same. compared to other tools (e.g. php/mysql)
blockexplorer won't break later due to heavy load or terrabyte dbs.
full member
Activity: 266
Merit: 100
NXT is the future
Ok I understand, but...

what if bter uses info from the "official" blockchain explorer let us say manualy, cant we just fix the issue with that blockchain explorer.

I'm not privy to nexern's code, but I gather that parts of the block explorer database are updated by a cron job that only runs perhaps once per day or so.  If that's the case then it will always lag behind real-time unless a different update scheme is devised.



thank you for your input!
legendary
Activity: 1176
Merit: 1134
Is double precision floating point really so unreliable?

This is peoples *money* you are dealing with James so I think you should not be so cavalier and actually understand how things work (or pay someone else to do the job *properly*).

If you take such shortcuts then your code will just end up as "junk" down the track.

I am sure there is some equivalent C code around and the code I wrote there could be reduced (as a lot of functionality it has you wouldn't need).

Would you be so kind as to educate me on how using double precision is being cavalier? I have used floating point a lot, even for iterative computations. For a gateway, all user facing operations have a very short length, eg. one maybe two operations. How will errors in the 14th decimal place matter when 1 satoshi is 12 decimal place even for 1000 deposit.

I am all for super precision, so once I understand the actual problem I will do what it takes to make it precise.

Please help me understand the issue. I read https://bitcointalksearch.org/topic/stop-using-floating-point-13837 and nothing in here convinces me that doing a single subtract will change the value of any deposit or withdrawal, down to 1 satoshi.

Also, the gateway code will be run in controlled environments and I will specify compiler, options, etc.

Again, please provide a specific example of precision problem that a gateway doing deposits and withdrawals will run into. What if I used 128bit floating point?

James
sr. member
Activity: 490
Merit: 250
I don't really come from outer space.
Ok I understand, but...

what if bter uses info from the "official" blockchain explorer let us say manualy, cant we just fix the issue with that blockchain explorer.

I'm not privy to nexern's code, but I gather that parts of the block explorer database are updated by a cron job that only runs perhaps once per day or so.  If that's the case then it will always lag behind real-time unless a different update scheme is devised.

full member
Activity: 266
Merit: 100
NXT is the future

This has to be solved anyway, two blockchain explorers, with different results.

http://www.mynxt.info/blockexplorer/details.php?action=tx&tx=17232427939066065628

Nexern please what is the issue with your blockchain explorer?

http://87.230.14.1/nxt/nxt.cgi?action=2000&tra=17232427939066065628

thank you

full member
Activity: 266
Merit: 100
NXT is the future
Why is blockchain only show 4 confirmation on an transaction made yesterday?

what if exchange only use blockchain info?

please explain

Are you having trouble with Bter?  If so, have you tried to go to http://bter.com/myaccount/myfunds and hitting the "sync" option for your NXT account?

yes I did with no result, as I understand bter is working manualy
sr. member
Activity: 490
Merit: 250
I don't really come from outer space.
Why is blockchain only show 4 confirmation on an transaction made yesterday?

what if exchange only use blockchain info?

please explain

Are you having trouble with Bter?  If so, have you tried to go to http://bter.com/myaccount/myfunds and hitting the "sync" option for your NXT account?
full member
Activity: 266
Merit: 100
NXT is the future
Why is blockchain only show 4 confirmation on an transaction made yesterday?

what if exchange only use blockchain info?

please explain

Got a link?

transaction id: 17232427939066065628

I think the blockchain explorer doesn't show the correct number of confirmations. see here, looks more accurate:
http://www.mynxt.info/blockexplorer/details.php?action=tx&tx=17232427939066065628

Ok I understand, but...

what if bter uses info from the "official" blockchain explorer let us say manualy, cant we just fix the issue with that blockchain explorer.
hero member
Activity: 644
Merit: 500
Why is blockchain only show 4 confirmation on an transaction made yesterday?

what if exchange only use blockchain info?

please explain

Got a link?

transaction id: 17232427939066065628

I think the blockchain explorer doesn't show the correct number of confirmations. see here, looks more accurate:
http://www.mynxt.info/blockexplorer/details.php?action=tx&tx=17232427939066065628

Yeah, he should contact them and get it resolved.  The money isn't lost. It's in 2984466092683267437



I wonder what will happen if he sends 5 Nxt to that account?

Maybe he will get all of it credited (the previous one) too
hero member
Activity: 644
Merit: 500
Why is blockchain only show 4 confirmation on an transaction made yesterday?

what if exchange only use blockchain info?

please explain

Got a link?

transaction id: 17232427939066065628

I think the blockchain explorer doesn't show the correct number of confirmations. see here, looks more accurate:
http://www.mynxt.info/blockexplorer/details.php?action=tx&tx=17232427939066065628

Yeah, he should contact them and get it resolved.  The money isn't lost. It's in 2984466092683267437

full member
Activity: 164
Merit: 100
Why is blockchain only show 4 confirmation on an transaction made yesterday?

what if exchange only use blockchain info?

please explain

Got a link?

transaction id: 17232427939066065628

I think the blockchain explorer doesn't show the correct number of confirmations. see here, looks more accurate:
http://www.mynxt.info/blockexplorer/details.php?action=tx&tx=17232427939066065628
sr. member
Activity: 490
Merit: 250
I don't really come from outer space.
Why is blockchain only show 4 confirmation on an transaction made yesterday?

what if exchange only use blockchain info?

please explain

Got a link?

transaction id: 17232427939066065628

An exchange shouldn't rely on a 3rd-party for confirmations.  The third-party can lie.

http://localhost:7874/nxt?requestType=getTransaction&transaction=17232427939066065628

full member
Activity: 266
Merit: 100
NXT is the future
Why is blockchain only show 4 confirmation on an transaction made yesterday?

what if exchange only use blockchain info?

please explain

Got a link?

transaction id: 17232427939066065628
hero member
Activity: 644
Merit: 500
Why is blockchain only show 4 confirmation on an transaction made yesterday?

what if exchange only use blockchain info?

please explain

Got a link?
hero member
Activity: 644
Merit: 500


My NXT is dancing the Limbo again between my account and bter Grin




Has anybody had any luck with bter NXT deposits the last 24 hours?


Is this crypto world?

5000 EURO lost due MTgox

87000 NXT lost due transaction to bter


Is the transaction in the blockchain?

Try contacting them. They have resolved such issues before
full member
Activity: 266
Merit: 100
NXT is the future
Why is blockchain only show 4 confirmation on an transaction made yesterday?

what if exchange only use blockchain info?

please explain
Jump to: