Bitcoin Forum
May 09, 2024, 05:26:26 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1] 2 3 4 5 6 7 »
1  Bitcoin / Development & Technical Discussion / Re: Consistent Estimater of Transaction Times - Block Timestamp? on: March 17, 2014, 09:07:55 PM

bitcoind getblockhash 291050
bitcoind getblock 00000000000000004642ed8eb619f2f84aaf201dbf0ba5fc87c425d040455d5a


Whoa!! Thanks!!


The only problem with this is that bitcoind is not in the standard Mac download.
2  Bitcoin / Development & Technical Discussion / Re: Consistent Estimater of Transaction Times - Block Timestamp? on: March 17, 2014, 08:54:22 PM

bitcoind getblockhash 291050
bitcoind getblock 00000000000000004642ed8eb619f2f84aaf201dbf0ba5fc87c425d040455d5a


Whoa!! Thanks!!
3  Bitcoin / Development & Technical Discussion / Re: Consistent Estimater of Transaction Times - Block Timestamp? on: March 17, 2014, 08:22:26 PM
why dont you just forget the time concept altogether and simply rely on blockheight?
eg instead og balance at time x you say balance at block x

Because human beings need date/time, not block height. And the algorithm I'm working on needs actual days, hours, mins.

4  Bitcoin / Development & Technical Discussion / Re: Consistent Estimater of Transaction Times - Block Timestamp? on: March 17, 2014, 08:12:18 PM

The closest that you can get meaningfully, is the timestamp of the block.  The timestamp in the block is usually very close* to the actual time that block was found, and is absolutely sure to be within the fuzzy window that the network defines for validity.

* And by "very close", I mean within the "reasonable accuracy of a few minutes" that you are asking for.

Interesting... I've been looking at just that solution. But the problem is that the address-transaction function only gives you the block height, and unless I'm mistaken, blockchain.info doesn't have a function for getting the block from it's block height. <sigh> My bitcoin-qt client doesn't give me all the blocks in the block chain, either. What's a poor coder to do?  Smiley
5  Bitcoin / Development & Technical Discussion / Re: Consistent Estimater of Transaction Times - Block Timestamp? on: March 17, 2014, 07:12:31 PM
I'm working on some code to generate a balance history of an address. That is, I want to be able to determine at any point within an address's lifetime, what the balance was at that point. This means I need to determine on what dates inputs and outputs occurred.

Yes, yes, I know this is not the wallet balance. I really am interested in the address balance. And also, I'm interested in the balance, not the sum of outputs to that address. Balance at any point in time is sum(outputs to the address) at time T - sum(inputs drawn from address) at time T of the address.

I'm using blockchain.info's address history api function and I'm finding some bogus transaction/block times in the output. Specifically, one transaction has a time stamp of 2005.12.24. Right Christmas Eve, 2005. Now... you KNOW that's not correct!  Cheesy

After reading this thread and a couple others, I surmise that the miner that generated the block didn't have the time set correctly on the machine. This tells me that these timestamps aren't reliable. So, how do I determine, within a reasonable accuracy of a few minutes, when a transaction actually made it into a block? Is there some independent source of accurate data on this?

I was thinking I could apply some heuristics to the times and then if I find a bad one, simply interpolate between the times of the neighboring blocks. That's probably close enough for my purposes.

Any ideas gratefully accepted!
6  Bitcoin / Bitcoin Discussion / Re: Bitcoin-Qt / bitcoind version 0.8.6 released on: December 09, 2013, 06:43:33 PM
Seems to run fine on OSX Snow Leopard. Took a while to sync as I hadn't run old version in a few days, and really burned up the CPU for a good hour doing it. Otherwise all good and shut down without incident as well.
7  Bitcoin / Bitcoin Discussion / Re: Bitcoin-Qt / bitcoind version 0.8.6 released on: December 09, 2013, 05:03:44 PM
Definitely looking for feedback -- good or bad -- from OSX users in particular.  You may have to -reindex to fix the prior corruption issues that impacted earlier versions.

For anyone downloading a fresh copy of the blockchain from scratch, please consider downloading the Bitcoin blockchain torrent.


Just downloaded on OSX Snow Leopard. Still doing block verification. Stay tuned.
Does this version expose any of the new Identity work?
8  Economy / Trading Discussion / Re: bitcoinity.org/markets - live bitcoin price charts on: December 04, 2013, 10:36:03 PM
Thanks for fixing the https endpoint. Working fine again.
9  Bitcoin / Bitcoin Technical Support / Re: Why is bitcoin-qt doing uploads to the network? on: December 04, 2013, 09:05:26 PM
Thanks for the replies. Well, I always thought that the miners served out the blockchain not the clients. And my client is behind a firewall, with no port forwarding, so how are other clients attaching to it?
Bitcoin-Qt establishes 8 outgoing connections to peer nodes when it starts up.  It then listens for incoming connections and will accept connections until the maxconnections limit is reached.  By default, Bitcoin-Qt will use uPnP to open the 8333 port on your router if it is supported.  You can specify listen=0 if you do not want to accept incoming connections.

I use NetLimiter to limit the upload bandwidth used by Bitcoin-Qt and I specify maxconnections to limit the total number of connections to something that is manageable.


Thanks for all the replies. This has been very informative. I checked the Preferences on bitcoin-qt and found that it uses uPnp, which has the ability to open ports on routers that have it enabled. So I am trying, just as an experiment, shutting off uPNP on my router and see if anything else breaks.

The other interesting thing I discovered was that my supposition was correct about UDP. UPnP uses a UDP variant of http called httpu. You can do some pretty cool things with UDP because it doesn't require establishing a heavyweight connection like TCP.
10  Bitcoin / Bitcoin Technical Support / Re: Why is bitcoin-qt doing uploads to the network? on: December 04, 2013, 08:14:10 PM
You had to give permission when you installed it, right? Everytime I download a different wallet, Windows asks me...

No permissions were requested, plus the firewall is on my wi-fi router, and I know damned well it has no ports forwarded.

My guess is that they're using some sort of server polling handshake or maybe UDP punch-through?

11  Bitcoin / Bitcoin Technical Support / Re: Why is bitcoin-qt doing uploads to the network? on: December 04, 2013, 08:00:43 PM
peer to peer.

When you are "downloading" the blockchain where do you think it is being "uploaded" from?  The central Bitcoin, Inc server farm?  Smiley

That being said the QT client is pretty horrible about bandwidth management.  Since devs seem to have no interest in putting in speed caps you may want to look into a third party tool which will cap the speed.

Thanks for the replies. Well, I always thought that the miners served out the blockchain not the clients. And my client is behind a firewall, with no port forwarding, so how are other clients attaching to it?

12  Bitcoin / Bitcoin Technical Support / Why is bitcoin-qt doing uploads to the network? on: December 04, 2013, 07:51:45 PM
I recently downloaded the newest version (0.8.5) of bitcoin-qt to my MacBook. I'd been using 0.8.0.
Today, I just happened to notice that my internet performance was sluggish so I took a look at the Activity Monitor and saw something was uploading to the internet at max speed. It was rolling along at 600+Kbytes/sec, which maxes out my Comcast cable upload capacity.

By process of elimination, I determined it was bitcoin-qt. Now I can understand it having to download the blockchain, but what on earth is it uploading?

Thanks
13  Economy / Trading Discussion / Re: bitcoinity.org/markets - live bitcoin price charts on: December 04, 2013, 03:46:03 AM
Is comboy aware that the https endpoint is no longer working correctly? I've been pulling my hair out for days trying to figure out what's wrong with my browser. Thought it was just Chrome, but it's Safari, too. Try https://bitcoinity.org/markets All text, no graphics, no styling.

Or perhaps I should ask, was this change to the unsecure URL announced and I just missed it?

14  Economy / Service Discussion / Bitcoinity.org not diplaying correctly in Chrome on: December 03, 2013, 06:12:52 AM
Anyone else having a problem with bitcoinity.org not displaying correctly in a Chrome browser? There are no graphics or styling. It's just text, rendered black on white. It's someone turned off CSS.

15  Bitcoin / Bitcoin Discussion / Re: Has the NSA already broken bitcoin? on: September 05, 2013, 09:43:24 PM
SHA-2 is an open algorithm and it uses as it is constants sequential prime cube roots as a form of "nothing up my sleeve numbers".  For someone to find a weakness or backdoor in SHA would be the equivalent of the nobel prize in cryptography.   Everyone who is anyone in the cryptography community has looked at SHA.  Not just everyone with a higher degree in mathematics, computer science, or cryptography in the last 20 years but foreign intelligence agencies and major financial institutions.    Nobody has found a flaw.  Not even an academical one.

To believe the the NSA has broken SHA-2 would be to believe that the NSA found something the entire rest of the world combined hasn't found for twenty years.  For the record SHA-3 is not yet approved for classified networks in the US, only SHA-2 is.  So that would mean the NSA is endangering national security by not declaring SHA-2 degraded.  

Anything is possible but occam's razor and all that.

Well said. There are many more cryptographic experts in the world than at the NSA. It's not a secret algorithm that's controlled by the NSA. It's in the public domain. Anyone can examine it. If you still think the NSA has a secret back door, then there's a good possibility you're a delusional paranoid shit head.
16  Bitcoin / Bitcoin Discussion / Re: Has the NSA already broken bitcoin? on: September 05, 2013, 09:23:30 PM
This would be pretty easy to test. Just get a bunch of friends to start exchanging encrypted messages about bombing an embassy or govt office. If these douche-bags can break it, they'd be on you like white on rice.
17  Bitcoin / Armory / Re: Stable Mac client on: July 22, 2013, 03:25:47 AM
And one that will run on Snow Leopard? ie, 10.6.8
18  Bitcoin / Development & Technical Discussion / Best practice for passphrase protection? on: June 28, 2013, 04:45:34 AM
I'm building out the collateralized ID prototype (http://joecascio.net/joecblog/2013/03/25/collateralized-identity-using-bitcoin-to-suppress-sockpuppets/) which needs to be able to sign messages using the bitcoin-jsonrpc function of the Bitcoin-Qt.

In order to sign a message you need to issue the "walletpassphrase" command, with the passphrase as the first arg and the time-out as the 2nd.

Now, I'm obviously concerned about putting the passphrase in a file where its path could be sniffed out in the django setting file, etc. and stolen. So is best practice to actually pop up a form and have the user input the passphrase? Then you'd still have to worry about key loggers but that's the limit.

Any advice gratefully accepted.
19  Bitcoin / Hardware / Re: Chilling my Jalapenos on: June 25, 2013, 11:01:19 AM
How often do you solve a block? Just curious. It seems like statistically, with so many people mining and a block being solved only every 10 minutes that a lot of people would never get a block reward.

At my Jalapeno hashrate, generation time for a solo block is 62 days and 20 hours according to http://www.bitcoinx.com/profit/

is that what you were referring to?

Not really. I'm just wondering if you have ever actually received a block reward and how long it took to get it.
20  Bitcoin / Hardware / Re: Chilling my Jalapenos on: June 25, 2013, 10:52:09 AM
How often do you solve a block? Just curious. It seems like statistically, with so many people mining and a block being solved only every 10 minutes that a lot of people would never get a block reward.
Pages: [1] 2 3 4 5 6 7 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!