Bitcoin Forum
September 26, 2016, 12:14:39 PM *
News: Latest stable version of Bitcoin Core: 0.13.0 (New!) [Torrent]. Make sure you verify it.
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 3 4 5 6 7 8 [9] 10 11 12 13 »  All
  Print  
Author Topic: Generating Bitcoins with your video card (OpenCL/CUDA)  (Read 116678 times)
mizerydearia
Hero Member
*****
Offline Offline

Activity: 574



View Profile
September 19, 2010, 11:35:35 PM
 #161

If it is possible to see individual or total of transactions sent to a specified bitcoin address, I suggest someone to write a patch to make this available in API

Total of transactions sent to specified address (or label) are
Code:
getreceivedbyaddress <bitcoinaddress> [minconf=1]
getreceivedbylabel <label> [minconf=1]

Individual transactions can be dumped from 'listtransactions' patch, though that lists all addresses including desired bitcoin addresses.

Does this work for addresses that do not belong to you?
Code:
$ bitcoind getreceivedbyaddress 17NdbrSGoUotzeGCcMMCqnFkEvLymoou9j
0.00000000

If not, is it possible to determine as I asked above, but for all addresses, not just ones that are in wallet.dat file?
1474892079
Hero Member
*
Offline Offline

Posts: 1474892079

View Profile Personal Message (Offline)

Ignore
1474892079
Reply with quote  #2

1474892079
Report to moderator
The block chain is the main innovation of Bitcoin. It is the first distributed timestamping system.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1474892079
Hero Member
*
Offline Offline

Posts: 1474892079

View Profile Personal Message (Offline)

Ignore
1474892079
Reply with quote  #2

1474892079
Report to moderator
theymos
Administrator
Legendary
*
expert
Offline Offline

Activity: 2422


View Profile
September 20, 2010, 12:04:18 AM
 #162

22 transactions were made to the address Ground Loop mentioned:

Code:
                    "value" : "0.10000000",
                    "scriptPubKey" : "OP_DUP OP_HASH160 b5a1946b352902aef52a059836bc7b8a44af0910 OP_EQUALVERIFY OP_CHECKSIG"

--
                    "value" : "9.90000000",
                    "scriptPubKey" : "OP_DUP OP_HASH160 b5a1946b352902aef52a059836bc7b8a44af0910 OP_EQUALVERIFY OP_CHECKSIG"

--
                    "value" : "0.10000000",
                    "scriptPubKey" : "OP_DUP OP_HASH160 b5a1946b352902aef52a059836bc7b8a44af0910 OP_EQUALVERIFY OP_CHECKSIG"

--
                    "value" : "50.00000000",
                    "scriptPubKey" : "OP_DUP OP_HASH160 b5a1946b352902aef52a059836bc7b8a44af0910 OP_EQUALVERIFY OP_CHECKSIG"

--
                    "value" : "0.10000000",
                    "scriptPubKey" : "OP_DUP OP_HASH160 b5a1946b352902aef52a059836bc7b8a44af0910 OP_EQUALVERIFY OP_CHECKSIG"

--
                    "value" : "50.00000000",
                    "scriptPubKey" : "OP_DUP OP_HASH160 b5a1946b352902aef52a059836bc7b8a44af0910 OP_EQUALVERIFY OP_CHECKSIG"

--
                    "value" : "0.01000000",
                    "scriptPubKey" : "OP_DUP OP_HASH160 b5a1946b352902aef52a059836bc7b8a44af0910 OP_EQUALVERIFY OP_CHECKSIG"

--
                    "value" : "0.06000000",
                    "scriptPubKey" : "OP_DUP OP_HASH160 b5a1946b352902aef52a059836bc7b8a44af0910 OP_EQUALVERIFY OP_CHECKSIG"

--
                    "value" : "0.06000000",
                    "scriptPubKey" : "OP_DUP OP_HASH160 b5a1946b352902aef52a059836bc7b8a44af0910 OP_EQUALVERIFY OP_CHECKSIG"

--
                    "value" : "50.00000000",
                    "scriptPubKey" : "OP_DUP OP_HASH160 b5a1946b352902aef52a059836bc7b8a44af0910 OP_EQUALVERIFY OP_CHECKSIG"

--
                    "value" : "50.00000000",
                    "scriptPubKey" : "OP_DUP OP_HASH160 b5a1946b352902aef52a059836bc7b8a44af0910 OP_EQUALVERIFY OP_CHECKSIG"

--
                    "value" : "5.35519824",
                    "scriptPubKey" : "OP_DUP OP_HASH160 b5a1946b352902aef52a059836bc7b8a44af0910 OP_EQUALVERIFY OP_CHECKSIG"

--
                    "value" : "5.35519824",
                    "scriptPubKey" : "OP_DUP OP_HASH160 b5a1946b352902aef52a059836bc7b8a44af0910 OP_EQUALVERIFY OP_CHECKSIG"

--
                    "value" : "5.00000000",
                    "scriptPubKey" : "OP_DUP OP_HASH160 b5a1946b352902aef52a059836bc7b8a44af0910 OP_EQUALVERIFY OP_CHECKSIG"

--
                    "value" : "5.00000000",
                    "scriptPubKey" : "OP_DUP OP_HASH160 b5a1946b352902aef52a059836bc7b8a44af0910 OP_EQUALVERIFY OP_CHECKSIG"

--
                    "value" : "50.00000000",
                    "scriptPubKey" : "OP_DUP OP_HASH160 b5a1946b352902aef52a059836bc7b8a44af0910 OP_EQUALVERIFY OP_CHECKSIG"

--
                    "value" : "50.00000000",
                    "scriptPubKey" : "OP_DUP OP_HASH160 b5a1946b352902aef52a059836bc7b8a44af0910 OP_EQUALVERIFY OP_CHECKSIG"

--
                    "value" : "5.00000000",
                    "scriptPubKey" : "OP_DUP OP_HASH160 b5a1946b352902aef52a059836bc7b8a44af0910 OP_EQUALVERIFY OP_CHECKSIG"

--
                    "value" : "10000.00000000",
                    "scriptPubKey" : "OP_DUP OP_HASH160 b5a1946b352902aef52a059836bc7b8a44af0910 OP_EQUALVERIFY OP_CHECKSIG"

--
                    "value" : "5.00000000",
                    "scriptPubKey" : "OP_DUP OP_HASH160 b5a1946b352902aef52a059836bc7b8a44af0910 OP_EQUALVERIFY OP_CHECKSIG"

--
                    "value" : "5.00000000",
                    "scriptPubKey" : "OP_DUP OP_HASH160 b5a1946b352902aef52a059836bc7b8a44af0910 OP_EQUALVERIFY OP_CHECKSIG"

--
                    "value" : "5.00000000",
                    "scriptPubKey" : "OP_DUP OP_HASH160 b5a1946b352902aef52a059836bc7b8a44af0910 OP_EQUALVERIFY OP_CHECKSIG"

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
Gavin Andresen
Legendary
*
qt
Offline Offline

Activity: 1652


Chief Scientist


View Profile WWW
September 20, 2010, 12:12:06 AM
 #163

So I've been trying to figure out.. just how many coins did
1HZNsUqQxKVLmfPfCAzLwrnVDzx8CxwxnM
receive?

I just can't figure out how to get a total tally of coins to a specific address.  Is there a tool for that?

bitcointools can tell you all transactions to a particular bitcoin address:

Code:
dbdump.py --search-blocks=1HZNsUqQxKVLmfPfCAzLwrnVDzx8CxwxnM | grep 1HZN | grep TxOut
['TxOut: value: 50.00 pubkey: 12pCJJci7fRbr7XDBvrV8awimbPnT6BJZd Script: DUP HASH160 20:13e5...5de5 EQUALVERIFY CHECKSIG', 'TxOut: value: 10000.00 pubkey: 1HZNsUqQxKVLmfPfCAzLwrnVDzx8CxwxnM Script: DUP HASH160 20:b5a1...0910 EQUALVERIFY CHECKSIG']
['TxOut: value: 45.00 pubkey: 1PQPaGweztcFf1W8TmzEbxMVSdWsE4DKGA Script: 65:0437...3cc6 CHECKSIG', 'TxOut: value: 5.00 pubkey: 1HZNsUqQxKVLmfPfCAzLwrnVDzx8CxwxnM Script: DUP HASH160 20:b5a1...0910 EQUALVERIFY CHECKSIG']
['TxOut: value: 50.00 pubkey: 1HZNsUqQxKVLmfPfCAzLwrnVDzx8CxwxnM Script: DUP HASH160 20:b5a1...0910 EQUALVERIFY CHECKSIG']
['TxOut: value: 50.00 pubkey: 1HZNsUqQxKVLmfPfCAzLwrnVDzx8CxwxnM Script: DUP HASH160 20:b5a1...0910 EQUALVERIFY CHECKSIG']
['TxOut: value: 45.00 pubkey: 1H1isittEm7RqH4ih2Gfhc2cRjBdfsbhFT Script: 65:046c...55cb CHECKSIG', 'TxOut: value: 5.00 pubkey: 1HZNsUqQxKVLmfPfCAzLwrnVDzx8CxwxnM Script: DUP HASH160 20:b5a1...0910 EQUALVERIFY CHECKSIG']
... etc...

Feed that to a little script that just looks for value: (something) pubkey: 1HZNsUq  and totals up the (somethings) and you can figure it out.

How often do you get the chance to work on a potentially world-changing project?
Ground Loop
Member
**
Offline Offline

Activity: 112


View Profile
September 20, 2010, 07:48:47 PM
 #164

Thanks theymos!  That's exactly what I was wondering.  How did you do that?  Was it with the 'bitcointools' that gavinandresen mentioned?

I'm also surprised that there's so... few!!

I count a grand total of SIX auto-payments from the CUDA client.. that is, six payments to the mandatory address of 5.00 BTC.

Each block that the CUDA client found should have sent 5 to that specific address, so this would imply that in the entire closed-source life of the CUDA client, on all the machines it ran on, it found six blocks.

What am I missing?  Puddinpop?

Bitcoin accepted here: 1HrAmQk9EuH3Ak6ugsw3qi3g23DG6YUNPq
nelisky
Legendary
*
Offline Offline

Activity: 1554


View Profile
September 20, 2010, 08:10:06 PM
 #165

Thanks theymos!  That's exactly what I was wondering.  How did you do that?  Was it with the 'bitcointools' that gavinandresen mentioned?

I'm also surprised that there's so... few!!

I count a grand total of SIX auto-payments from the CUDA client.. that is, six payments to the mandatory address of 5.00 BTC.

Each block that the CUDA client found should have sent 5 to that specific address, so this would imply that in the entire closed-source life of the CUDA client, on all the machines it ran on, it found six blocks.

What am I missing?  Puddinpop?

I guess there's no magic here. Although there's probably more to the story than what you found, the simple fact is that I have gotten my CUDA version to pump ~7700Kh/s on my system, and while Puddinpop's version is slightly more optimized the simple fact his kernel workers take multiple hashes on a single call makes the system very unresponsive and the amount of data he's moving in and out of the card makes the whole thing slower.
But even at 7700 I haven't yet generated a single block (yes, it does work on a test network) and the last 3 blocks I got where instead found by another machine runnnig at under 3000Kh/s. Even doing half, randomness has it's way of giving an edge to that one Wink

If 10 of you were using puddinpop's version for a couple of weeks doing 10M each, it's kind of expected to get no more than ~10 blocks, combined. But again, you could have generated a lot more, I'm just saying...
theymos
Administrator
Legendary
*
expert
Offline Offline

Activity: 2422


View Profile
September 20, 2010, 10:40:16 PM
 #166

Thanks theymos!  That's exactly what I was wondering.  How did you do that?  Was it with the 'bitcointools' that gavinandresen mentioned?

I output the most recent 10,000 blocks to a file (using the getblock patch) and then searched it for the hash (b5a1946b3...), which is derived from the BC address. This took only a few minutes once I figured out how to get the hash from the address. Tracking spends from that address would be more difficult, since you can't get the full public key directly from the address.

Making an easy-to-use web tool for doing things like this has been on my to-do list for a long time. People really seem to overestimate Bitcoin's anonymity...

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
Syke
Legendary
*
Offline Offline

Activity: 2016


View Profile
September 21, 2010, 11:12:55 PM
 #167

When do we get a Linux .deb package for the version with CUDA support? I just got a Tesla card and I'm dying to try it out.

Buy & Hold
nelisky
Legendary
*
Offline Offline

Activity: 1554


View Profile
September 21, 2010, 11:16:17 PM
 #168

When do we get a Linux .deb package for the version with CUDA support? I just got a Tesla card and I'm dying to try it out.

Yeah, when do we get anything out of the code puddinpop opensourced? Well, puddinpop? Now that you got the hefty donation, are you to do any support? Is anyone up to take this?
puddinpop
Member
**
Offline Offline

Activity: 103


View Profile
September 22, 2010, 12:07:07 AM
 #169

When do we get a Linux .deb package for the version with CUDA support? I just got a Tesla card and I'm dying to try it out.
Yeah, when do we get anything out of the code puddinpop opensourced?

You can't be seriously asking what you get out of open source code.

Quote
Well, puddinpop?

Well what?  It's open source.  Do whatever you want with it under the MIT or GPL license.  Don't wait for me.  If you're not willing to put any work into getting it working, why should you expect it to benefit you?

Quote
Now that you got the hefty donation, are you to do any support? Is anyone up to take this?

Anyone can maintain this, create build files, release binaries, etc.  It is open source.  You wanted it open source, you got it.

The sense of entitlement here is just astonishing.  It seems like very few want to do the dirty work and everyone else wants to benefit from the work of others without giving anything themselves.

LZ
Staff
Legendary
*
Offline Offline

Activity: 1470


Satoshi everywhere!


View Profile WWW
September 22, 2010, 12:11:25 AM
 #170

I think that puddinpop is right. He did his part, now it is up to us.

"Never invest unless you can afford to lose your entire investment." © S3052
nelisky
Legendary
*
Offline Offline

Activity: 1554


View Profile
September 22, 2010, 12:37:50 AM
 #171

Yeah, when do we get anything out of the code puddinpop opensourced?

You can't be seriously asking what you get out of open source code.

Quote
Well, puddinpop?

Well what?  It's open source.  Do whatever you want with it under the MIT or GPL license.  Don't wait for me.  If you're not willing to put any work into getting it working, why should you expect it to benefit you?

Quote
Now that you got the hefty donation, are you to do any support? Is anyone up to take this?

Anyone can maintain this, create build files, release binaries, etc.  It is open source.  You wanted it open source, you got it.

The sense of entitlement here is just astonishing.  It seems like very few want to do the dirty work and everyone else wants to benefit from the work of others without giving anything themselves.

Hehe, my ironic tone went completely unnoticed... I know what we get from open source, I didn't mean to imply you should continue to support this, at least not that it was your responsibility.  It really strikes me as awkward that you would feel that I was pointing a finger.

Remember me? I'm the guy that *did* implement a CUDA miner, and *did* release it as open source before you ever got your "ransom".

As it seems obvious that my joking tone is not understood, let me be very serious and say that the problem as I see it is that everyone assumes that something being open sourced means that a huge geek community will just jump in and support it. Not in my world, it doesn't. I can certainly do that, sure, but why should I? My personal version works on my only CUDA enabled computer, and performs better than yours. Sure, all the work you did in detecting the hardware I don't have, I just fine tuned it to my machine, hard coded.

The thing is everyone wants it, but no one knows how to go about it. And frankly you came out as the only real winner, so congrats! No sarcasm or irony here, you played your cards right and won.

I just hope some coder gets annoyed or bored and steps in, I just don't have the need right now that justifies the time expenditure. I did my part...
mizerydearia
Hero Member
*****
Offline Offline

Activity: 574



View Profile
September 22, 2010, 01:32:53 PM
 #172

Like many open source developers who maintain their projects even ones as small as individual Drupal modules or similar, it appears that perhaps the open source version of their Bitcoin client will be unmaintained.  Someone can pick up the slack, however, and if necessary create a fork.

Just as there was little effort previously, there is little effort now.  It is up to the community's open source developers to pick up the slack, and if none of us are capable or willing, then other noncommunity members shall appear and join the community and perhaps they can contribute.  Maybe even promoting or requesting assistance with this from the worldwide open source commuinity may be helpful?
nelisky
Legendary
*
Offline Offline

Activity: 1554


View Profile
September 22, 2010, 01:52:38 PM
 #173

Unfortunately, waiting for an OpenCL client...

It's in my todo list, but as all 'just for fun' projects, it depends on me having the time... I will, however, post all sources if I get to do it Smiley
LZ
Staff
Legendary
*
Offline Offline

Activity: 1470


Satoshi everywhere!


View Profile WWW
September 22, 2010, 04:39:35 PM
 #174

It will be great, nelisky! We all hope for the success of your 'just for fun' project. Wink

"Never invest unless you can afford to lose your entire investment." © S3052
LobsterMan
Member
**
Offline Offline

Activity: 74


View Profile
September 23, 2010, 01:09:43 AM
 #175

Like many open source developers who maintain their projects even ones as small as individual Drupal modules or similar, it appears that perhaps the open source version of their Bitcoin client will be unmaintained.  Someone can pick up the slack, however, and if necessary create a fork.

Just as there was little effort previously, there is little effort now.  It is up to the community's open source developers to pick up the slack, and if none of us are capable or willing, then other noncommunity members shall appear and join the community and perhaps they can contribute.  Maybe even promoting or requesting assistance with this from the worldwide open source commuinity may be helpful?

I think that part of the problem is greed on the part of the few people who currently have functional cuda/opencl bitcoin clients. They have the advantage right now in coin generation while difficulty is still relatively low and don't really have any incentive at the moment to help further any kind of public working releases that support gpu mining. This also leads to somewhat lacking support for people who are interested in getting things working and sorted out for some public binary releases. I can't say I really blame the people keeping working cuda clients to themselves, but it's sort of stifling development at present  Shocked
true
Jr. Member
*
Offline Offline

Activity: 56


View Profile
September 23, 2010, 01:38:34 AM
 #176

I think that part of the problem is greed on the part of the few people who currently have functional cuda/opencl bitcoin clients.
About those who keep advantages to themselves, I wouldn't consider it outright greed, even if that is the motivation. It's using skills to gain a technical advantage. The ability to strike such advantages (at least regarding Bitcoin) shouldn't be encumbered.

Greed is hardly a problem, as troll puddinpop demonstrates. It's there but it doesn't f'n do anything. Though this particular one keeps winning against your trollfeeders. As I am a troll at heart, it's kinda win to see...

did you know that the internet is not a 1ATWN2bMDRRfo7Z2P8Fefvq791X6FT88WQ ?
calling me a troll gives me a massive raging boner
nelisky
Legendary
*
Offline Offline

Activity: 1554


View Profile
September 23, 2010, 01:53:39 AM
 #177

I think that part of the problem is greed on the part of the few people who currently have functional cuda/opencl bitcoin clients.
About those who keep advantages to themselves, I wouldn't consider it outright greed, even if that is the motivation. It's using skills to gain a technical advantage. The ability to strike such advantages (at least regarding Bitcoin) shouldn't be encumbered.

Greed is hardly a problem, as troll puddinpop demonstrates. It's there but it doesn't f'n do anything. Though this particular one keeps winning against your trollfeeders. As I am a troll at heart, it's kinda win to see...

Greed is, in fact, the smallest of problems. Take this exact situation, where puddinpop walked out with 10k bc for something that he will not maintain (well, he might, but doesn't have to) and most other technically capable bitcoiners have probably created their own solution, so they will neither share nor help in balancing the board, as they fear they will loose the edge.

So probably for 10k I would have, asked nicely, made the effort to make my approach more user friendly, or usable. But I'm not greedy, so I didn't ask. In fact, I was going to make a linux package in exchange for a couple of graphics cards, but since puddinpop received 10k and open sourced his half-way solution, the card donation got aborted.

And understand 10k coins don't pay for the time I already put in the code I disclosed, I just mentioned that value because it a real price tag, paid once in the past.

And what really tickles me, to the point I find myself laughing as I type, is that when puddinpop received the donation/ransom, the threads got a bunch of "great!", "finally!", "what a great thing for the community" comments, when in the end there was already code for free, and open sourced, and although not as polished it is pretty much in the same need for a maintainer, so just as usable. Really, I said it before, I'll say it again; very well played, puddinpop! You were the sole winner in this.

So I think that this is more of a sociological problem than it is a technical. Got 10k coins for me to hack up an opencl version? Probably puddinpop already has one and will opensource it, for the right fee, and then abandon it in whatever state it is :p
true
Jr. Member
*
Offline Offline

Activity: 56


View Profile
September 23, 2010, 08:00:32 AM
 #178

Meh, opensource in and of itself often isn't the moneypit we'd all like it to be. I released a piece of free and open code to a niche community that replaces a $500/license/box/unit fee for a less configurable closed solution... hundreds of downloads and many active uses later, I got $40 for my efforts. Got a guy on constant e-mail support too, and people want updates, but I can't afford to do it at that price, especially considering I don't even use it myself...

Don't know why the tangent, I guess I am just trying to say not everyone is generous. (Of course, we knew that; I'm just stating the obvious.) Some people have a warped sense of generosity, in that they feel they are ultimately deserving of everyone else's generosity for their supposed well-doing. Ego. Some suck at the human communication factor and just need the cash. Desperation. Some people just like to troll. I say - I don't give a shit. It was a good laugh, but the laugh overed, so it's done.

If someday soon I give more of a crap about BC I'll write a free/open/nonransom OpenCL client. Otherwise someone else will do so.

did you know that the internet is not a 1ATWN2bMDRRfo7Z2P8Fefvq791X6FT88WQ ?
calling me a troll gives me a massive raging boner
fawkes
Newbie
*
Offline Offline

Activity: 3


View Profile
September 24, 2010, 09:18:52 AM
 #179

So I was away on a small vacation and I came back to see this all play out, I am happy to see the source code opened although I am sad to see no one stepped up to maintain it. I hop puddinpop will at least release a OpenCL version and help merge it with the official Bitcoin source so that official releases from now on will support OpenCL on all operating systems supported by Bitcoin and OpenCL.

Also although I have had problems with the closed source client sending more money then agreed on to puddinpop (this is something I will take up over PM instead of in the forum), I must admit he did a good job because the normal client took me 1 month to get 50 coins while puddinpop client generated 250 coins in only 6 days, impressive.

This is not to say no one else has made just as good of a work if not better, it is just that I have only had experience with the work done by puddinpop.
TTBit
Legendary
*
Offline Offline

Activity: 1136


View Profile
September 24, 2010, 12:18:41 PM
 #180

I am not a programmer, so excuse my dumb question: In a future version, can us common folk expect to see the bitcoin program recognize that I have the right video card, and have the option of generating with it, or is this going to be limited to those who can play code?

good judgment comes from experience, and experience comes from bad judgment
Pages: « 1 2 3 4 5 6 7 8 [9] 10 11 12 13 »  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!