Pages:
Author

Topic: Need help with key generation (Read 4553 times)

sr. member
Activity: 504
Merit: 250
September 19, 2014, 11:45:39 PM
#50
Not sure if this will help you.  I believe it is on Github:

https://bitcointalksearch.org/topic/2256-deep-space-vagabond-107172

Nah. I'm already finished with my project.
hero member
Activity: 510
Merit: 500
September 19, 2014, 09:49:07 PM
#49
Not sure if this will help you.  I believe it is on Github:

https://bitcointalksearch.org/topic/2256-deep-space-vagabond-107172
sr. member
Activity: 504
Merit: 250
September 19, 2014, 09:40:18 PM
#48
If I remember correctly zero is not a valid pivate key. 

Exactly. People sent BTC to this address, but no one can spend it. yet  Wink
legendary
Activity: 2646
Merit: 1136
All paid signature campaigns should be banned.
September 19, 2014, 08:41:52 AM
#47
If I remember correctly zero is not a valid pivate key.  One is the first valid private key and results is G (G = 1*G). Two is G+G, three is G+G+G, four is G+G+G+G, etc.  It should be very easy and very fast to create all the public keys for the private keys 1 through 232:  start with G then keep adding G and store away the sums and hash each sum for the addresses.
legendary
Activity: 1260
Merit: 1019
September 19, 2014, 07:49:57 AM
#46
Quote
What exactly?

Sorry, my fault.
directory.io says that the addresses for [000..000] are 1MsHWS1BnwMc3tLE8G35UXsS58fKipzB7a / 1Q1pE5vPGEEMqRcVRMbtBK842Y6Pzo6nK9
I do not know how to calculate public key for invalid privateKey

16QaFeudRUt8NYy2yzjm3BMvG4xBbAsBFM also known as "address for zero-key"

Let me sweep unspent dust outputs?  Roll Eyes
Reducing the number of uxto - is good!
sr. member
Activity: 504
Merit: 250
September 19, 2014, 07:05:38 AM
#45
Quote

Final stats:
* 22,219,774 total addresses generated (from privkey 0). List contains the info in this format (no quotes):
------ "address , privkey-in-hex"
* BTC 0.0006000 found in dust outputs (did not bother getting them. most were 1 to 10 satoshi outputs)
* Found BTC 0.0101092 in address 16QaFeudRUt8NYy2yzjm3BMvG4xBbAsBFM (privkey 0)
------ Cannot spend due to a quirk in the bitcoin system/wallet software/base58 decoding scheme
I do not believe.



What exactly?
legendary
Activity: 1260
Merit: 1019
September 19, 2014, 06:42:14 AM
#44
Quote

Final stats:
* 22,219,774 total addresses generated (from privkey 0). List contains the info in this format (no quotes):
------ "address , privkey-in-hex"
* BTC 0.0006000 found in dust outputs (did not bother getting them. most were 1 to 10 satoshi outputs)
* Found BTC 0.0101092 in address 16QaFeudRUt8NYy2yzjm3BMvG4xBbAsBFM (privkey 0)
------ Cannot spend due to a quirk in the bitcoin system/wallet software/base58 decoding scheme

I do not believe.

Quote
p.s. Do you know someone/do you have a list of all addresses used?
Or a list of just addresses with balances would be nice Smiley (up to block 321341)
It is not a problem to create list of used in blockchain addresses. I did it several times in past. Right now I do not have up-to-date copy.
There were around ~40 mln standard addresses used right now. (~1 gb in plaintext)
There are also thousands of msig-addresses (which starts with '3')

sr. member
Activity: 504
Merit: 250
September 18, 2014, 08:42:08 AM
#43
My question is why do you have a massive list of private keys? I don't see any use for this other then to mine potential brain wallets hoping that someone will send funds to one of your addresses.

yeah, why?

this is a misuse of electrum...imported keys cannot be restored from seed.  defeats the point of a deterministic wallet.

yeah, why have a massive list of it?
He explained exactly what he is trying to do in the thread, which you obviously did not read.

OP:  How is it going?  Did you ever get all of the 232 addresess generated?  Did you find any BTC? 

Here's the report...

Seems like everyone is using good RNG's. I already submitted the paper to my recipient.

Final stats:
* 22,219,774 total addresses generated (from privkey 0). List contains the info in this format (no quotes):
------ "address , privkey-in-hex"
* BTC 0.0006000 found in dust outputs (did not bother getting them. most were 1 to 10 satoshi outputs)
* Found BTC 0.0101092 in address 16QaFeudRUt8NYy2yzjm3BMvG4xBbAsBFM (privkey 0)
------ Cannot spend due to a quirk in the bitcoin system/wallet software/base58 decoding scheme

My research is finished for now.


p.s. Do you know someone/do you have a list of all addresses used?
Or a list of just addresses with balances would be nice Smiley (up to block 321341)
legendary
Activity: 2646
Merit: 1136
All paid signature campaigns should be banned.
September 17, 2014, 08:34:31 AM
#42
My question is why do you have a massive list of private keys? I don't see any use for this other then to mine potential brain wallets hoping that someone will send funds to one of your addresses.

yeah, why?

this is a misuse of electrum...imported keys cannot be restored from seed.  defeats the point of a deterministic wallet.

yeah, why have a massive list of it?
He explained exactly what he is trying to do in the thread, which you obviously did not read.

OP:  How is it going?  Did you ever get all of the 232 addresess generated?  Did you find any BTC? 
newbie
Activity: 28
Merit: 0
September 17, 2014, 04:47:53 AM
#41
My question is why do you have a massive list of private keys? I don't see any use for this other then to mine potential brain wallets hoping that someone will send funds to one of your addresses.

yeah, why?

this is a misuse of electrum...imported keys cannot be restored from seed.  defeats the point of a deterministic wallet.

yeah, why have a massive list of it?
sr. member
Activity: 504
Merit: 250
August 26, 2014, 05:47:39 AM
#40
Ideally he should set up to sweep Bitcoins from all the Bitcoin addresses produced from the first 232 private keys.

This would be a sweeper monitoring the first 4,294,967,296 Bitcoin addresses.

Totally possible with a decent machine and a bit of code.

Please let us know if you ever find any BTC!

Will do!

I just shifted from golang to C++. I found a full copy of the blockchain from a friend. Thanks for all your help!
legendary
Activity: 2646
Merit: 1136
All paid signature campaigns should be banned.
August 25, 2014, 10:20:24 PM
#39
Ideally he should set up to sweep Bitcoins from all the Bitcoin addresses produced from the first 232 private keys.

This would be a sweeper monitoring the first 4,294,967,296 Bitcoin addresses.

Totally possible with a decent machine and a bit of code.

Please let us know if you ever find any BTC!
legendary
Activity: 2646
Merit: 1136
All paid signature campaigns should be banned.
August 25, 2014, 10:12:08 PM
#38
I think he pretty much contradicted himself here. If he wanted to monitor the addresses then all he would need is the public address, not the private keys. The fact that he generated the private keys in the first place means that he wants to monitor and steal funds from the addresses.
He said he is interested in the random number generator.

Assume for the moment a wallet was very stupid and instead of using a cryptographically secure 256 random number generator they use one of the system random functions with only 32 bits!  All of the addresses generated would be from private keys in the 0x00000001 to 0xFFFFFFFF range - the range he is scanning.

In order to do this test he must create the Bitcoin addressed from the first N private keys.  He is on the right track.

Now even if you have a good 256 bit random number generator but you fail to take the size of the finite field into account then the random numbers generated above the finite field length will wrap around and alias to - you guessed it - the first N addresses.  In this case this would mean that the first N addresses will be slightly more likely to occur given a good random number generator but buggy code that does not throw away the results above the finite field size and uses them for keys.  The difference in distribution is pretty insignificant so I expect no BTC from this bug.

But he could get some BTC from the first bug.

This is a good great project for a high school student.  I am somewhat impressed given the level of motivation I have seen in the average high school student I have come in contact with.

If he gets a few BTC and discovers a wallet with a horrible random number generator more power to him!
hero member
Activity: 588
Merit: 500
August 25, 2014, 09:52:51 PM
#37
-snip-

I'm not monitoring. I'm just gonna check dem balances, if there are balances.

No need to import the private keys to check balances. Just write a little script / programm that queries a known API or even better several APIs in turn. Most wallet programms will not work with 3 million private keys AFAIK anyway. And I am pretty sure if you write blockchain.info a Mail from an university address with a recomendation they will keep the IP (range) from getting banned.
I think he pretty much contradicted himself here. If he wanted to monitor the addresses then all he would need is the public address, not the private keys. The fact that he generated the private keys in the first place means that he wants to monitor and steal funds from the addresses.
legendary
Activity: 2646
Merit: 1136
All paid signature campaigns should be banned.
August 25, 2014, 02:22:22 PM
#36
The only way to do this "right" is to set up your own computer with your own copy of the full blockchain, running a peer-to-peer node, and keeping its own personal UTXO database.

Set up a script to either periodically run through all of your 3 7 10(?) million addresses on your own computer, using your own UTXO database and check them for balances or sweep any amounts into your own address.

If you ever get any BTC (you won't) then you can choose to either white or black hat it.  If you are really not trying to steal you will then give back the BTC as soon as you find the owner.  If you are really just a low life scum thief then you keep it.

All of this can be done with any modest computer with a modest disk drive, modest memory, and an internet connection.  It does not even have to run 24/7.  You could probably run it a few hours a week and get the desired effect, whatever that is.

Don't burden the Electrum wallet, blockchain.info, any of the other block explorers with you project.  Just do it right.
copper member
Activity: 1498
Merit: 1520
No I dont escrow anymore.
August 25, 2014, 01:44:52 PM
#35
Dont be silly it wont "destroy" their API. Worst case is an IP ban if you do not limit the requests.

High Schools have no Mailaddresses?

You could also see what the limits are and check the balances in a prioritised fashion according to those limits. On the other hand round robin is easier.

Now its 7 million? I thought 3 million...

and why check periodically, what is the paper about that you need to check periodically? As it was said before the balance will probably be 0 for all of them anyway.

I start to feel that either the paper is bullshit to get ppl to help you or there is an XY problem.
full member
Activity: 167
Merit: 101
August 25, 2014, 08:03:30 AM
#34
I have a massive list of bitcoin addresses with their private keys in this format:
Any help would be awesome  Grin

Hi OP,
Another idea:
You put a big net on the full ground at central park, New York.
You wait for 24 hrs.
Then you pick up the net.
Some people MUST have lost some coins, bills, etc.
Max 2 hrs of work each day will bring you BIG PROFITS!!
sr. member
Activity: 504
Merit: 250
August 25, 2014, 07:52:50 AM
#33
-snip-

I'm not monitoring. I'm just gonna check dem balances, if there are balances.

No need to import the private keys to check balances. Just write a little script / programm that queries a known API or even better several APIs in turn. Most wallet programms will not work with 3 million private keys AFAIK anyway. And I am pretty sure if you write blockchain.info a Mail from an university address with a recomendation they will keep the IP (range) from getting banned.

First of all, I'm still in high school.
Second, It might destroy their API (DDoS kind of stuff)
Finally, they have a limit on API calls. (about 1000 per 10 minutes? idk.)

7 million is just.... too many....  Sad

It wont destroy their API. They'll boot u out.

Yes. Yes they will.
legendary
Activity: 2338
Merit: 1204
The revolution will be digital
August 25, 2014, 07:50:17 AM
#32
-snip-

I'm not monitoring. I'm just gonna check dem balances, if there are balances.

No need to import the private keys to check balances. Just write a little script / programm that queries a known API or even better several APIs in turn. Most wallet programms will not work with 3 million private keys AFAIK anyway. And I am pretty sure if you write blockchain.info a Mail from an university address with a recomendation they will keep the IP (range) from getting banned.

First of all, I'm still in high school.
Second, It might destroy their API (DDoS kind of stuff)
Finally, they have a limit on API calls. (about 1000 per 10 minutes? idk.)

7 million is just.... too many....  Sad

It wont destroy their API. They'll boot u out.
sr. member
Activity: 504
Merit: 250
August 25, 2014, 07:30:29 AM
#31
-snip-

I'm not monitoring. I'm just gonna check dem balances, if there are balances.

No need to import the private keys to check balances. Just write a little script / programm that queries a known API or even better several APIs in turn. Most wallet programms will not work with 3 million private keys AFAIK anyway. And I am pretty sure if you write blockchain.info a Mail from an university address with a recomendation they will keep the IP (range) from getting banned.

First of all, I'm still in high school.
Second, It might destroy their API (DDoS kind of stuff)
Finally, they have a limit on API calls. (about 1000 per 10 minutes? idk.)

7 million is just.... too many....  Sad
Pages:
Jump to: