Bitcoin Forum
May 25, 2024, 04:48:50 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: [BOUNTY] for devloping/writing a script/code/program to dump all publickeys  (Read 2598 times)
amaclin
Legendary
*
Offline Offline

Activity: 1260
Merit: 1019


View Profile
October 06, 2015, 04:31:01 PM
 #21

Yes, i need those pubkeys from outputs & inputs, only uncompressed , no pay to hash160 or multisig , only the available known pubkeys, for example :
OK, I'll try to do it today. But why do you need only uncompressed?
There are more compressed pubkeys 02xxxxx and 03xxxxx in blockchain

If you can ( if its possible ) uncompress them it would be great!
Public keys should not be converted!
For example:

public key for address 1JwSSubhmg6iPtRjtyqhUYYH7bZg3Lfy1T:
Code:
0478D430274F8C5EC1321338151E9F27F4C676A008BDF8638D07C0B6BE9AB35C71A1518063243ACD4DFE96B66E3F2EC8013C8E072CD09B3834A19F81F659CC3455
and compressed public key for address 1C7zdTfnkzmr13HfA2vNm5SJYRK6nEKyq8
Code:
0378D430274F8C5EC1321338151E9F27F4C676A008BDF8638D07C0B6BE9AB35C71

both these public keys (and addresses) are derived from one private key
Code:
C4BBCB1FBEC99D65BF59D85C8CB62EE2DB963F0FE106F483D9AFA73BD4E39A8A

XaiZou (OP)
Member
**
Offline Offline

Activity: 80
Merit: 10


View Profile
October 06, 2015, 05:57:03 PM
 #22

Yes, i need those pubkeys from outputs & inputs, only uncompressed , no pay to hash160 or multisig , only the available known pubkeys, for example :
OK, I'll try to do it today. But why do you need only uncompressed?
There are more compressed pubkeys 02xxxxx and 03xxxxx in blockchain

If you can ( if its possible ) uncompress them it would be great!
Public keys should not be converted!
For example:

public key for address 1JwSSubhmg6iPtRjtyqhUYYH7bZg3Lfy1T:
Code:
0478D430274F8C5EC1321338151E9F27F4C676A008BDF8638D07C0B6BE9AB35C71A1518063243ACD4DFE96B66E3F2EC8013C8E072CD09B3834A19F81F659CC3455
and compressed public key for address 1C7zdTfnkzmr13HfA2vNm5SJYRK6nEKyq8
Code:
0378D430274F8C5EC1321338151E9F27F4C676A008BDF8638D07C0B6BE9AB35C71

both these public keys (and addresses) are derived from one private key
Code:
C4BBCB1FBEC99D65BF59D85C8CB62EE2DB963F0FE106F483D9AFA73BD4E39A8A



oh yes, so i need both cmpr. and ucmpr. , no need for mutltisig. thanks
waldistons
Sr. Member
****
Offline Offline

Activity: 294
Merit: 250


View Profile
October 06, 2015, 08:13:21 PM
 #23

Using RPC approach will take you ~3-4 weeks. I'm currently farming just addresses used, my app is runing almost a week and i'm 5 days away to block 300000. (the newer the block, the more transactions in block)

            ▄▄████▄▄
        ▄▄██████████████▄▄
      ███████████████████████▄▄
      ▀▀█████████████████████████
██▄▄       ▀▀█████████████████████
██████▄▄        ▀█████████████████
███████████▄▄       ▀▀████████████
███████████████▄▄        ▀████████
████████████████████▄▄       ▀▀███
 ▀▀██████████████████████▄▄
     ▀▀██████████████████████▄▄
▄▄        ▀██████████████████████▄
████▄▄        ▀▀██████████████████
█████████▄▄        ▀▀█████████████
█████████████▄▄        ▀▀█████████
██████████████████▄▄        ▀▀████
▀██████████████████████▄▄
  ▀▀████████████████████████
      ▀▀█████████████████▀▀
           ▀▀███████▀▀



.SEMUX
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
  Semux uses 100% original codebase
  Superfast with 30 seconds instant finality
  Tested 5000 tx per block on open network
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
XaiZou (OP)
Member
**
Offline Offline

Activity: 80
Merit: 10


View Profile
October 06, 2015, 09:12:21 PM
 #24

Using RPC approach will take you ~3-4 weeks. I'm currently farming just addresses used, my app is runing almost a week and i'm 5 days away to block 300000. (the newer the block, the more transactions in block)

You can use blockparser to dump all bitcoin addresses down to the last Satoshi + the 0 balance used addresses within 30 min.
waldistons
Sr. Member
****
Offline Offline

Activity: 294
Merit: 250


View Profile
October 07, 2015, 07:57:12 AM
 #25

Quote
Compute and print the balance for all keys ever used in a TX since the beginning of time (30 seconds)

I call those 30 seconds bullshit and let me explain why:

1) current blockchain size is 43.5 GB (all blk*.dat files)
2) even keeping blockchain on ssd, most ssd disks have THEORETHICAL read speed 500 MB/s
3) let's assume they work with max theorethical speed: 500 MB/s * 30 seconds = 15 GB will be read

UNLESS:
a) code doesn't read whole blocks and parses only small part of block size
b) raid of SSD disks, can give couple GB/S read speeds.

Please correct me if I'm wrong.

            ▄▄████▄▄
        ▄▄██████████████▄▄
      ███████████████████████▄▄
      ▀▀█████████████████████████
██▄▄       ▀▀█████████████████████
██████▄▄        ▀█████████████████
███████████▄▄       ▀▀████████████
███████████████▄▄        ▀████████
████████████████████▄▄       ▀▀███
 ▀▀██████████████████████▄▄
     ▀▀██████████████████████▄▄
▄▄        ▀██████████████████████▄
████▄▄        ▀▀██████████████████
█████████▄▄        ▀▀█████████████
█████████████▄▄        ▀▀█████████
██████████████████▄▄        ▀▀████
▀██████████████████████▄▄
  ▀▀████████████████████████
      ▀▀█████████████████▀▀
           ▀▀███████▀▀



.SEMUX
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
  Semux uses 100% original codebase
  Superfast with 30 seconds instant finality
  Tested 5000 tx per block on open network
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
XaiZou (OP)
Member
**
Offline Offline

Activity: 80
Merit: 10


View Profile
October 07, 2015, 12:49:07 PM
 #26

Quote
Compute and print the balance for all keys ever used in a TX since the beginning of time (30 seconds)

I call those 30 seconds bullshit and let me explain why:

1) current blockchain size is 43.5 GB (all blk*.dat files)
2) even keeping blockchain on ssd, most ssd disks have THEORETHICAL read speed 500 MB/s
3) let's assume they work with max theorethical speed: 500 MB/s * 30 seconds = 15 GB will be read

UNLESS:
a) code doesn't read whole blocks and parses only small part of block size
b) raid of SSD disks, can give couple GB/S read speeds.

Please correct me if I'm wrong.

who said 30 sec  Grin
waldistons
Sr. Member
****
Offline Offline

Activity: 294
Merit: 250


View Profile
October 07, 2015, 05:41:47 PM
 #27

Quote was from original readme file Tongue

            ▄▄████▄▄
        ▄▄██████████████▄▄
      ███████████████████████▄▄
      ▀▀█████████████████████████
██▄▄       ▀▀█████████████████████
██████▄▄        ▀█████████████████
███████████▄▄       ▀▀████████████
███████████████▄▄        ▀████████
████████████████████▄▄       ▀▀███
 ▀▀██████████████████████▄▄
     ▀▀██████████████████████▄▄
▄▄        ▀██████████████████████▄
████▄▄        ▀▀██████████████████
█████████▄▄        ▀▀█████████████
█████████████▄▄        ▀▀█████████
██████████████████▄▄        ▀▀████
▀██████████████████████▄▄
  ▀▀████████████████████████
      ▀▀█████████████████▀▀
           ▀▀███████▀▀



.SEMUX
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
  Semux uses 100% original codebase
  Superfast with 30 seconds instant finality
  Tested 5000 tx per block on open network
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
█ █
XaiZou (OP)
Member
**
Offline Offline

Activity: 80
Merit: 10


View Profile
October 07, 2015, 08:56:06 PM
 #28

Quote was from original readme file Tongue

ah, that readme file is old i think.  Wink
unhappyuser
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
October 09, 2015, 05:42:02 PM
Last edit: October 09, 2015, 05:55:29 PM by unhappyuser
 #29

Oh, that one is not solved yet?... I can try make an another callback for znort blockparser, if this will be good for you.
XaiZou (OP)
Member
**
Offline Offline

Activity: 80
Merit: 10


View Profile
October 09, 2015, 07:58:12 PM
 #30

Oh, that one is not solved yet?... I can try make an another callback for znort blockparser, if this will be good for you.

Great, ill be waiting!
unhappyuser
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
October 10, 2015, 10:25:18 AM
 #31

Great, ill be waiting!
But, please... why you are not accepting a knightdk solution? Are you tried to use more RPC threads and point bitcoind to unresponsive proxy address? Maybe you can get better results.
XaiZou (OP)
Member
**
Offline Offline

Activity: 80
Merit: 10


View Profile
October 10, 2015, 12:26:17 PM
 #32

Great, ill be waiting!
But, please... why you are not accepting a knightdk solution? Are you tried to use more RPC threads and point bitcoind to unresponsive proxy address? Maybe you can get better results.

Yes, im using rpcthreads=1000 and the connection is direct no proxy ( all localhost ) but it is very slow.

Maybe you can play with blockparser rawdump.cpp , transaction scripts code is there. but need some cleanup from other unwanted things.
achow101
Staff
Legendary
*
Offline Offline

Activity: 3402
Merit: 6657


Just writing some code


View Profile WWW
October 10, 2015, 03:34:06 PM
 #33

Great, ill be waiting!
But, please... why you are not accepting a knightdk solution? Are you tried to use more RPC threads and point bitcoind to unresponsive proxy address? Maybe you can get better results.

Yes, im using rpcthreads=1000 and the connection is direct no proxy ( all localhost ) but it is very slow.

Maybe you can play with blockparser rawdump.cpp , transaction scripts code is there. but need some cleanup from other unwanted things.
Yeah, I know my solution was very very slow. I will update it to do multiple threads and see if that works any faster. It was running on a single thread.

achow101
Staff
Legendary
*
Offline Offline

Activity: 3402
Merit: 6657


Just writing some code


View Profile WWW
October 10, 2015, 06:55:54 PM
 #34

Here is another version of mine. It still requires txindex but this time it will do multithreading to hopefully run faster.

usage:
Code:
Tool which scrapes the entire blockchain for all of the pubkeys of all transactions
Requires bitcoind (or Bitcoin Core with daemon enabled) and txindex=1 to be set in Bitcoin.conf
Usage: pubkeyscraper <rpcuser> <rpcpassword> [threads] [rpcport] [rpcurl]
<rpcuser> Required. User of the Bitcoin-RPC server set in bitcoin.conf
<rpcpassword> Required. Password of the Bitcoin-RPC server set in bitcoin.conf
[threads] Optional. Number of threads to run, should be the same as the number of rpcthreads of the Bitcoin-RPC server. Default 4.
[rpcport] Optional. Port of the Bitcoin-RPC server set in bitcoin.conf. Default is 8332
[rpcurl] Optional. URL or IP address of Bitcoin-RPC server. Default is http://127.0.0.1

Download: https://drive.google.com/file/d/0Bxw3ip9QfNOUY3EwS0Z3RUxqanc/view?usp=sharing

btc_enigma
Hero Member
*****
Offline Offline

Activity: 688
Merit: 567


View Profile
October 11, 2015, 04:44:57 AM
 #35

I am writing a much faster version that reads blocks from disk ... using bitcoinabe and bitcointools. Please wait for my submission before releasing bounty

-Thanks

btc_enigma
Hero Member
*****
Offline Offline

Activity: 688
Merit: 567


View Profile
October 11, 2015, 06:23:23 AM
 #36

Here is the script https://github.com/shivaenigma/bitcoin-abe

Directly reads blocks from bitcoin data directory. Prints some debug information on console like current block hash and 'Found x public keys' . You can redirect stdout to /dev/null for speed up

My bitcoin address to claim bounty is in my profile

-  Thanks

photon_coin
Sr. Member
****
Offline Offline

Activity: 310
Merit: 256


Photon --- The First Child Of Blake Coin --Merged


View Profile WWW
October 11, 2015, 06:55:09 AM
 #37

many have done this & a while ago there was a website with them,

not sure of the purpose since it is a long list

suggested reading :

bitcoin wiki & http://crypto.stackexchange.com/questions/1170/best-way-to-reduce-chance-of-hash-collisions-multiple-hashes-or-larger-hash

btc_enigma
Hero Member
*****
Offline Offline

Activity: 688
Merit: 567


View Profile
October 13, 2015, 05:11:30 AM
 #38

XaiZou have you tried to out the script ?  Waiting for a response

btc_enigma
Hero Member
*****
Offline Offline

Activity: 688
Merit: 567


View Profile
October 14, 2015, 06:11:19 AM
 #39

Typical of a new member , announcing bounty and then disappearing !  Should have asked for an escrow . What a sham !

 I will wait for a day ... else I will give XaiZou a negative trust and ask moderator to ban the userid



unhappyuser
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
October 14, 2015, 02:30:23 PM
 #40

I think there is must be a rule where user at least must sign a message using private BTC address which contains enough funds for covering an announced bounty...
Pages: « 1 [2]  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!