Bitcoin Forum
May 26, 2024, 07:45:36 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 3 4 5 6 7 [8] 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 »
141  Bitcoin / Development & Technical Discussion / Re: Elliptic Curve operations in Bitcoin on: October 22, 2017, 05:27:52 PM
isnt that multisig address ?,

No.  It's a P2SH address.

P2SH addresses can have multisig as the script that was used to generate the hash, however there is no requirement that the spender use a multisig script when spending it.

and its diffucult to calculate multiple private keys rather than just one for simple address public key which starts with 1 ?

You wouldn't need to calculate multiple private keys.

You would only need to calculate a SINGLE key pair.  Any private/publick key pair at all would work.  You don't even need to find the original key (or keys) that were used when creating the address.

Then, you would build a script that uses the public key that you generated and a nonce value.  After that, all you have to do is brute force the nonce until the hash of the script (public key + nonce) is equal to the hash used for that address.  On average, it should take you approximately 2159 attempts.

from 1 sha256 private key i can create WIF private key and public kay pair which is
5HpHagT65TZzG1PH3CSu63k8DbpvD8s5ip4nEB3kEsreAnchuDf  1EHNa6Q4Jz2uvNExL497mE43ikXhwF6kZm

how would i get p2sh address for something like that ?

or am i missing again something .,

does the p2sh address's private key also falls in

int range
1 - 115792089237316195423570985008687907852837564279074904382605163141518161494336

if so then how can i generate a pair ?

lets say , so far i have these

input                        : 1
network                      : Bitcoin mainnet
netcode                      : BTC
secret exponent              : 1
 hex                         : 1
wif                          : KwDiBf89QgGbjEhKnhXJuH7LrciVrZi3qYjgd9M7rFU73sVHnoWn
 uncompressed                : 5HpHagT65TZzG1PH3CSu63k8DbpvD8s5ip4nEB3kEsreAnchuDf
public pair x                : 55066263022277343669578718895168534326250603453777594175500187360389116729240
public pair y                : 32670510020758816978083085130507043184471273380659243275938904335757337482424
 x as hex                    : 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798
 y as hex                    : 483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8
y parity                     : even
key pair as sec              : 0279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798
 uncompressed                : 0479be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798\
                                 483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8
hash160                      : 751e76e8199196d454941c45d1b3a323f1433bd6
 uncompressed                : 91b24bf9f5288532960ac687abb035127b1d28a5
Bitcoin address              : 1BgGZ9tcN4rm9KBzDn7KprQz87SZ26SAMH
Bitcoin address uncompressed : 1EHNa6Q4Jz2uvNExL497mE43ikXhwF6kZm
Bitcoin segwit address       : p2y59b9U5YTUAYEDBr5zwSHFoM8pn3ozAhRD


142  Bitcoin / Development & Technical Discussion / Re: Elliptic Curve operations in Bitcoin on: October 22, 2017, 04:15:47 PM
just a few more hours brute forcing this https://blockchain.info/address/1oBgkXsgCDMvoWcnrnm1XvYmRAqiuovFd and drinks are on me

Well at least you are not greedy  Grin

Why not try this address, that has over 1000 000 000$ worth of bitcoins in it:
https://blockchain.info/address/3D2oetdNuZUqQHPJmcMDDHYoqkyNVsFk9r

isnt that multisig address ?, and its diffucult to calculate multiple private keys rather than just one for simple address public key which starts with 1 ?

143  Bitcoin / Development & Technical Discussion / Re: Elliptic Curve operations in Bitcoin on: October 22, 2017, 03:25:43 PM
I would give anything to have the ability to run my fingers through secp256k1 (personally) and verify how free it is of any air bubbles

What prevents you? It is all public knowledge.

There is even a challenge, where you can win hundreds of thousands of dollars if you can break their crypto  Smiley
https://www.certicom.com/content/dam/certicom/images/pdfs/challenge-2009.pdf

Good luck!

what is the bitcoin address ? or is it different type of challenge., i did nt read the pdf yet.
144  Bitcoin / Development & Technical Discussion / Re: How to read/parse blockchain and get bitcoin addresses having balance. on: October 20, 2017, 02:33:59 AM
anybody had success above segwit blocks?
using blockparser
theoritically yes,
practically no

remove all blocks after which segit is implemeted.,
remove bitcoind
install bitcoin-core version bitcoin-core-0.11.2
start bitcoind
run blockparser again

else


remove all blocks after which segit is implemeted.,
remove bitcoind
install bitcoin-core version bitcoin-core-0.11.2
start bitcoind with resync
run blockparser again

edit:
practically no
means i have not tried it yet., but its the solution/correct way to do it., thats what i have been told.
ill try it this week.
good luck

145  Bitcoin / Development & Technical Discussion / Re: why my double spend transaction is not getting confirmed ? on: October 19, 2017, 12:54:00 PM
The vast majority of nodes and miners will refuse to accept or relay a double spend transaction while the original is still in their mempool.  Therefore, most miners won't even receive the transaction and if they receive it they won't confirm it.

To accomplish what you are trying to do, you need to:

Get the transaction to miners that haven't seen the first transaction yet.
Get the transaction to miners that are willing to replace the earlier transaction in their mempool.
Hope that the miners that have accepted your double-spend transaction will complete a block with it before any other miners complete a block with the first transaction.


The more hashpower that is working on your second transaction, the better the odds that it will be confirmed, but as long as even 1 miner is working on the first transaction there is a chance that they will complete their block first.

okie., so timing and double spend accepting nodes plays major part.
146  Bitcoin / Development & Technical Discussion / Re: why my double spend transaction is not getting confirmed ? on: October 19, 2017, 12:51:43 PM
The vast majority of nodes will refuse to accept or relay a double spend transaction while the original is still in their mempool.  Therefore, most miners won't even receive the transaction and if they receive it they won't confirm it.



even though , fees are way higher ?


 
147  Bitcoin / Development & Technical Discussion / why my double spend transaction is not getting confirmed ? on: October 19, 2017, 12:35:28 PM
okie, i tried double spending transaction.

here is the 1st tx. https://blockchain.info/tx/eb1e180825ad7ea0efadd8ab3227242759425331188316ac5f822fca12b2627a
Code:
{
   "ver":1,
   "inputs":[
      {
         "sequence":4294967295,
         "witness":"",
         "prev_out":{
            "spent":true,
            "tx_index":293095803,
            "type":0,
            "addr":"1QCoHemDLMTaSJb7heXUHLsu6YPyu5iDEv",
            "value":1267107,
            "n":12,
            "script":"76a914fe861b6c4e70b608cdaf14c905d05a964e685a0d88ac"
         },
         "script":"473044022028da216bb177e631d05373c2ac3013b3f72de511971a1b42e371ea69ba03938902206eff871f4b02ca7520e13812a915b64acb1d0008e3f4c8d3f7f8c11283eaf238014104c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e5859599704f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"
      }
   ],
   "weight":884,
   "block_height":490609,
   "relayed_by":"0.0.0.0",
   "out":[
      {
         "spent":false,
         "tx_index":293095841,
         "type":0,
         "addr":"3QvxvxuotS5PuTjmVUpWN6sVkfzUfX3RFV",
         "value":1197843,
         "n":0,
         "script":"a914feee37e10d4ecc8539340e640dad5abb6ed998ad87"
      }
   ],
   "lock_time":0,
   "size":221,
   "double_spend":false,
   "time":1508413927,
   "tx_index":293095841,
   "vin_sz":1,
   "hash":"eb1e180825ad7ea0efadd8ab3227242759425331188316ac5f822fca12b2627a",
   "vout_sz":1
}

Code:
Inputs and Outputs
Total Input $ 71.87
Total Output $ 67.94
Fees $ 3.93
Fee per byte 313.412 sat/B
Fee per weight unit 78.353 sat/WU
Estimated BTC Transacted $ 67.94


and here is the 2nd tx aka. double spend. https://blockchain.info/tx/1ba66182c899424550b76a608b7acc8247e9e8bdbbb324eb36a5e6ae7176f56c

Code:
{
   "ver":1,
   "inputs":[
      {
         "sequence":4294967295,
         "witness":"",
         "prev_out":{
            "spent":true,
            "tx_index":293095803,
            "type":0,
            "addr":"1QCoHemDLMTaSJb7heXUHLsu6YPyu5iDEv",
            "value":1267107,
            "n":12,
            "script":"76a914fe861b6c4e70b608cdaf14c905d05a964e685a0d88ac"
         },
         "script":"483045022100aa8c501856299aea6654848d2ea63aa5cce8451003b4188e39c4a19df8f3f4ee02207c3fd2ef2ba4aba5643902ffa66b042100422133b000fb70bb74ad7e7ae524e8014104c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e5859599704f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"
      }
   ],
   "weight":896,
   "relayed_by":"127.0.0.1",
   "out":[
      {
         "spent":false,
         "tx_index":293095807,
         "type":0,
         "addr":"1yTS2FGX7UzVodGaaovDXP6pNhZDMimFe",
         "value":1043107,
         "n":0,
         "script":"76a914049326bcc8d30b333a5a3c612f453b18115a69d088ac"
      }
   ],
   "lock_time":0,
   "size":224,
   "double_spend":true,
   "time":1508413928,
   "tx_index":293095807,
   "vin_sz":1,
   "hash":"1ba66182c899424550b76a608b7acc8247e9e8bdbbb324eb36a5e6ae7176f56c",
   "vout_sz":1
}
 


Code:
Inputs and Outputs
Total Input $ 71.87
Total Output $ 59.16
Fees $ 12.70
Fee per byte 1,000 sat/B
Fee per weight unit 250 sat/WU
Estimated BTC Transacted $ 59.16


there is not much time delay while broadcasting the tx. its 1 second late, than the first one.
but still the first oine got confirmed ,
why is that ?

even my double spend tx's fees were higher that the 1st one.



148  Bitcoin / Bitcoin Discussion / Re: is it risky to turn all my money to bitcoins? on: October 14, 2017, 12:02:12 PM
is it risky to put all your money in bitcoin ?

yes.

is it risky to put some of your money in bitcoin ?

no.

if you see, bitcoin history. then you will see, bitcoin is only going up till now.,

so its fine to invest some of your funds in bitcoin as bitcoin is giving way more ROI than any other scheme available out there.

ill say, invest as much as you can, as soon as you can. and hold on it.


149  Bitcoin / Development & Technical Discussion / Re: how to know if btc address is compressed or uncompressed ? on: October 13, 2017, 05:20:08 AM
As far as I know, you can't start from the Address and work out if it is compressed/uncompressed. The address is the result of a one way hash, so you can't tell if it was created from a compressed or uncompressed public key.

You'd need to start with the private key and go from there... Have a play with https://www.bitaddress.org/ Generate a new private key and then put it into the "Wallet Details" tab... you'll see every private key generates a compressed and an uncompressed address.


You might be able to tell by looking at previous transactions involving those addresses on the blockchain and inspecting the input sizes... ~148 bytes = compressed... ~180 bytes = uncompressed

okie., thats one way to do it.,

so practically its a dead end. thanks for your input.

150  Bitcoin / Development & Technical Discussion / how to know if btc address is compressed or uncompressed ? on: October 13, 2017, 04:36:55 AM
lets say i have these addresses

1Az2dypSbg7oNv37mqao1T8vYJgQG1p7Be
1Esg276vGGT6LGxY7dEHvYLsp2efw6DgdX
1CS5EVQztBXuoiq9xgD3CkANngFePeWNnN


how can i check which one is compresed and which are uncompressed ?

thanks
151  Bitcoin / Development & Technical Discussion / Re: How to read/parse blockchain and get bitcoin addresses having balance. on: October 09, 2017, 05:14:54 AM
i want make sure, if blockchain is secure enough
You do not have skills and knowledge for such checks ans assumptions  Grin


i know, not yet, but i am trying/willing to learn.



edit: 12th oct 2017

i have used blockaparser on 50% blocks.

which gave me 4 gb allbalnce.txt file.,

i used 7zip to zip it.,

if anyone is intersted here it is.,

https://transfer.sh/DLIpD/blockparser-allBalances.txt.7z

ill try to parse the complete block when i get free time., and try to keep this thread updated.
152  Bitcoin / Development & Technical Discussion / Re: How to read/parse blockchain and get bitcoin addresses having balance. on: October 09, 2017, 02:49:36 AM
Waste of time, what is the point? It would take you longer or about the same amount of time to steal coins this way than it would to mine Bitcoins using the same equipment. People have tried this time and time again and the results are the same, they give up because it is a fruitless pursuit. There is always someone that thinks they know better than the system and they fail in the end, so please try again.
what makes you think, my method is same as others., remember everyone is unique Tongue

So you admit you are trying to steal bitcoins?  Good luck with that.
I don't know, why you need to be able to parse the blockchain yourself though. Why not explore ready made lists of bitcoin addresses.
https://bitinfocharts.com/top-100-richest-bitcoin-addresses.html

But yeah. many have tried and noticed bitcoin is more secure than they thought. Would be interesting to know what is your angle of attack Smiley

When reading your post I assumed you are just interested in the blockchain and exploring it out of interest.
Because I have been doing the same.
there are some quite interesting addresses. Examples here:
http://www.theopenledger.com/9-most-famous-bitcoin-addresses/


i m more of like whitehat .
i want make sure, if blockchain is secure enough, so that i can invest some big chunk of money in bitcoins.



153  Bitcoin / Development & Technical Discussion / Re: How to read/parse blockchain and get bitcoin addresses having balance. on: October 08, 2017, 04:27:53 PM
What would be the the steps or cmd line to use that?

I've been trying to compile the parser but having trouble with g++-4.4, what all did you install to get it to get it to work. I'm stuck at unable to locate the g++-4.4

i do this for all my centos systems.,

yum install autoconf automake gcc-c++ libdb4-cxx libdb4-cxx-devel boost-devel openssl-devel

but when error occures at the time of compiliing, act accordingly.

154  Bitcoin / Development & Technical Discussion / Re: How to read/parse blockchain and get bitcoin addresses having balance. on: October 08, 2017, 03:44:22 PM
I have the btc addresses, I need a way to get the hash160 addresses.

this is what i would use .

Code:
bool addrToHash160(
          uint8_t *hash160,
    const uint8_t *addr,
             bool checkHash,
             bool verbose
) {
    static BIGNUM *sum = 0;
    static BN_CTX *ctx = 0;
    if(unlikely(!ctx)) {
        ctx = BN_CTX_new();
        BN_CTX_init(ctx);
        sum = BN_new();
    }

    BN_zero(sum);
    while(1) {
        uint8_t c = *(addr++);
        if(unlikely(0==c)) break;

        uint8_t dg = fromB58Digit(c);
        BN_mul_word(sum, 58);
        BN_add_word(sum, dg);
    }

    uint8_t buf[4 + 2 + kRIPEMD160ByteSize + 4];
    size_t size = BN_bn2mpi(sum, 0);
    if(sizeof(buf)<size) {
        warning(
            "BN_bn2mpi returned weird buffer size %d, expected %d\n",
            (int)size,
            (int)sizeof(buf)
        );
        return false;
    }

    BN_bn2mpi(sum, buf);

    uint32_t recordedSize =
        (buf[0]<<24)    |
        (buf[1]<<16)    |
        (buf[2]<< 8)    |
        (buf[3]<< 0)
    ;
    if(size!=(4+recordedSize)) {
        warning(
            "BN_bn2mpi returned bignum size %d, expected %d\n",
            (int)recordedSize,
            (int)size-4
        );
        return false;
    }

    uint8_t *bigNumEnd;
    uint8_t *dataEnd = size + buf;
    uint8_t *bigNumStart = 4 + buf;
    uint8_t *checkSumStart = bigNumEnd = (-4 + dataEnd);
    while(0==bigNumStart[0] && bigNumStart<checkSumStart) ++bigNumStart;

    ptrdiff_t bigNumSize = bigNumEnd - bigNumStart;
    ptrdiff_t padSize = kRIPEMD160ByteSize - bigNumSize;
    if(0<padSize) {
        if(0<bigNumSize) {
            memcpy(padSize + hash160, bigNumStart, bigNumSize);
        }
        memset(hash160, 0, padSize);
    } else {
        memcpy(hash160, bigNumStart - padSize, kRIPEMD160ByteSize);
    }

    bool hashOK = true;
    if(checkHash) {

        uint8_t data[1+kRIPEMD160ByteSize];
        memcpy(1+data, hash160, kRIPEMD160ByteSize);
        data[0] = getCoinType();

        uint8_t sha[kSHA256ByteSize];
        sha256Twice(sha, data, 1+kRIPEMD160ByteSize);

        hashOK =
            sha[0]==checkSumStart[0]  &&
            sha[1]==checkSumStart[1]  &&
            sha[2]==checkSumStart[2]  &&
            sha[3]==checkSumStart[3];

        if(!hashOK) {
            warning(
                "checksum of address %s failed. Expected 0x%x%x%x%x, got 0x%x%x%x%x.",
                addr,
                checkSumStart[0],
                checkSumStart[1],
                checkSumStart[2],
                checkSumStart[3],
                sha[0],
                sha[1],
                sha[2],
                sha[3]
            );
        }
    }

    return hashOK;
}

ref: https://github.com/znort987/blockparser/blob/master/util.cpp#L596-L699

155  Bitcoin / Development & Technical Discussion / Re: How to read/parse blockchain and get bitcoin addresses having balance. on: October 08, 2017, 03:05:22 PM
Is there any other way to get hash160 addresses besides using this?

you want hash160 or btc address ?
156  Bitcoin / Development & Technical Discussion / Re: How to read/parse blockchain and get bitcoin addresses having balance. on: October 08, 2017, 05:05:23 AM
Waste of time, what is the point? It would take you longer or about the same amount of time to steal coins this way than it would to mine Bitcoins using the same equipment. People have tried this time and time again and the results are the same, they give up because it is a fruitless pursuit. There is always someone that thinks they know better than the system and they fail in the end, so please try again.

what makes you think, my method is same as others., remember everyone is unique Tongue

157  Bitcoin / Development & Technical Discussion / Re: How to read/parse blockchain and get bitcoin addresses having balance. on: October 07, 2017, 03:45:04 AM
what changed in segwit ? i mean in block ? so i can try to change it in blockparser source.

Transaction format was changed in segwit.
These six words mean that your tool should be fully rewritten.  Tongue

thanks
then looks like i am better off trying with other tools.,




edit1 :

i tried running it as it is, parsed around 50% blocks and got output file of 4 GB having format like this

Code:
---------------------------------------------------------------------------
          State of the ledger at block 420662 (minted : Thu Jul 14 08:18:22 2016)
---------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
              Balance                      Hash160                             Base58                  nbIn        lastTimeIn          nbOut        lastTimeOut
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
         152955.81868182 e95dbb25283cc35d4a6aefa76c0382e63ce0fa36 3Nxwenay9Z8Lc9JBiywExpnEFiLp6Afp8v     56 Tue Jul 12 14:11:34 2016      11 Wed Jun  1 15:36:33 2016
         121295.29280322 b3b9f5025c397c07e7e37db7e5c9259ac95cd344 3J5KeQSVBUEs3v2vEEkZDBtPLWqLTuZPuD    387 Thu Jul 14 05:00:27 2016     196 Sun Jul  3 11:45:17 2016
          83000.01001479 e1223ee403b7250d54c08890679df36e9d6b4986 3NDQz8rZ3CnmsiBGrATk8SCpDXF2sAUiuM      6 Sun Jul  3 15:23:05 2016       1 Sun May 29 01:58:14 2016
          79957.11509537 a0b0d60e5991578ed37cbda2b17d8b2ce23ab295 1FeexV6bAHb8ybZjqQMjJrcCrHGW9sb6uF     85 Fri May 20 18:43:43 2016       0 Thu Jan  1 00:00:00 1970
          78172.33497629 c5464169a9aabad0e361ccf1d436d3e843708e7d 3Kg7Cmooris7cLErTsijq6qR1FH3cTiK2G  20889 Sun Jul  3 15:23:05 2016       4 Tue May 17 17:14:55 2016
          69370.10525051 b3dd79fb3460c7b0d0bbb8d2ed93436b88b6d89c 1HQ3Go3ggs8pFnXuHVHRytPCq5fGG8Hbhx     64 Sat Feb 13 06:40:01 2016       1 Thu Apr 23 14:10:25 2015
          66650.59620465 3d03002dbed5cb1dc10fc6bcb0886d2df32f2838 16ZbpCEyVVdqu8VycWR8thUL2Rd9JnjzHt    168 Fri Apr 29 10:29:14 2016       0 Thu Jan  1 00:00:00 1970
          66583.22391617 cd4b7b8f9db1b0c709fd0c9f0534fca6a9f40495 1KiVwxEuGBYavyKrxkLncJt2pQ5YUUQX7f    120 Sat Feb 13 06:40:01 2016       0 Thu Jan  1 00:00:00 1970
          66452.06624862 f9e6bbcdc83d8f351014e07495f386fe1067ec7b 1PnMfRF2enSZnR6JSexxBHuQnxG8Vo5FVK    114 Sat Feb 13 06:40:01 2016       0 Thu Jan  1 00:00:00 1970
          66378.80961189 6a6015e3793207af6dff7c48ee9e193d73547cdc 1AhTjUMztCihiTyA4K6E3QEpobjWLwKhkR    181 Thu Feb 18 17:09:28 2016       0 Thu Jan  1 00:00:00 1970
          66235.82427687 8b70193546504fa3623598722575f70b5b1c6455 1DiHDQMPFu4p84rkLn6Majj2LCZZZRQUaa    125 Sat Feb 13 06:40:01 2016       0 Thu Jan  1 00:00:00 1970
          66233.73850546 908b47d6a15d89c3ee34df1bc68a00ec4ff70c9b 1EBHA1ckUWzNKN7BMfDwGTx6GKEbADUozX    126 Sun Jun  5 18:31:03 2016       0 Thu Jan  1 00:00:00 1970
          66205.47375047 27ed35ebcf72744ec3b4a0f4dbb83d7620acf443 14e7XAZbepQp9MXXzjNG3fNLoAUpaBAXHW    132 Fri Apr 29 10:29:14 2016       0 Thu Jan  1 00:00:00 1970
          66170.69605917 f33a3af3695f041e2ea6271f1fe6309abac4dd58 1PB4xXUFyy4kSNqroCBVaQuCuw9VcN3be4    171 Fri Feb 12 04:57:18 2016       0 Thu Jan  1 00:00:00 1970
          66163.44524020 53f9818e8d2d23c3163c01a33d83e49ebfa16ac4 18f1yugoAJuXcHAbsuRVLQC9TezJ6iVRLp    124 Wed Mar  9 23:07:42 2016       0 Thu Jan  1 00:00:00 1970
          53880.05741758 d74de95f65799793f16b91ed8a152110652d3ec0 1LdRcdxfbSnmCYYNdeYpUnztiYzVfBEQeC     21 Fri Feb 12 04:57:18 2016       0 Thu Jan  1 00:00:00 1970
          50700.00172304 ffd32592cc07d25a8644d7dfd6919d348f9b1874 3R1hBCHURkquAjFUv1eH5u2gXqooJkjg4B     81 Fri Jul  8 14:53:10 2016      37 Sun Jun 12 14:26:28 2016



after around 505 lines, btcaddress is screwed .


Code:
           2500.00111000 a0fc91baff4e19cb9f417cef2f00d2822106b5be 1FgDgWjeCMxrfiiaYnPdvnQG9DcYe6yX1r      5 Thu Apr  2 17:52:36 2015       0 Thu Jan  1 00:00:00 1970
           2500.00111000 d34e8a9a7786fdbbff59be2a5cc169729b2bbae0 1LGHfdXMoAh3rAqfZ5tRruVxWz4drjLGHQ      5 Thu Apr  2 17:52:36 2015       0 Thu Jan  1 00:00:00 1970
           2500.00111000 37a5e72afc3aa9ed12e51ee187c56a5d2e6f1ed9 165EuhCqScXdGJfDvYK5RZKN5SytnhwVjv      5 Thu Apr  2 17:52:36 2015       0 Thu Jan  1 00:00:00 1970
           2500.00111000 a0b5712a79778cc923e3ca0a54a8a442d8c24a7c 1FekUWTJ4S4UTYuj41yaJCuntvh2cszhsk      5 Thu Apr  2 17:52:36 2015       0 Thu Jan  1 00:00:00 1970
           2500.00111000 9519a19ef04031d40998d7a684c7878d4c5baa8e XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX      5 Thu Apr  2 17:52:36 2015       0 Thu Jan  1 00:00:00 1970
           2500.00111000 51ccfe24e3577bb2b8f20ddf39ca69389dc3726c XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX      5 Thu Apr  2 17:52:36 2015       0 Thu Jan  1 00:00:00 1970
           2500.00111000 9cfca6b08dc926b8903b58fde9c7d3db5f1b5007 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX      5 Thu Apr  2 17:52:36 2015       0 Thu Jan  1 00:00:00 1970
           2500.00111000 43c43187cc1bf92fd25b62477a2d772a7db679b4 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX      5 Thu Apr  2 17:52:36 2015       0 Thu Jan  1 00:00:00 1970
           2500.00005400 f90f808949b65ce2c01a0eacbf20febbf40b881e XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX      1 Tue Jun 21 03:52:29 2016       0 Thu Jan  1 00:00:00 1970
           2500.00000000 6a7266721acf340b77f84d8d0f677171ae7bb8a6 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX      1 Wed Jun 29 22:52:52 2016       0 Thu Jan  1 00:00:00 1970
           2500.00000000 b69398c2a4fe36e739ac765c4283d74323340afb XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX     13 Sun Mar  6 03:46:10 2016       6 Mon Mar 28 01:11:36 2016
           2500.00000000 86d1cc562153dd9954e31e9c7f3a02390b1d4a3f XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX      1 Fri Feb 19 21:51:14 2016       0 Thu Jan  1 00:00:00 1970
           2500.00000000 2ac55d1a940deb5b5e684e500355f826b5381ee5 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX      1 Fri Nov 27 13:22:46 2015       0 Thu Jan  1 00:00:00 1970
           2500.00000000 64dac2d7527f9967a2c0b6f18d986f116cd89bfd XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX      1 Tue Jun 21 16:27:38 2016       0 Thu Jan  1 00:00:00 1970
           2499.99960000 f148343d37f0621eb00eef03ed191444ee8aaa30 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX      2 Fri Jul  8 13:16:16 2016       0 Thu Jan  1 00:00:00 1970
           2499.99101000 74869025a6d4e202d1271b676ed5a374d92e94a2 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX     10 Thu Apr  2 17:52:36 2015       1 Tue Feb 11 17:17:54 2014
           2499.97356500 a4bc600d905f4465dd59a4dfbdb740231036dc71 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX      7 Thu Apr  2 17:52:36 2015       0 Thu Jan  1 00:00:00 1970
           2497.99949660 1b490a2b5be46b6fd395c11ca0d6fd50f194fb7c XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX      1 Fri Oct 30 04:21:43 2015       0 Thu Jan  1 00:00:00 1970
           2492.25031000 bc8d40e64b33e2d99ff81e4643dbf8d80e2a5c9b XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX      7 Thu Apr  2 17:52:36 2015       0 Thu Jan  1 00:00:00 1970
           2489.00121000 c8ca9fa680409b5d7375ad6d2fb5aac2e4405c89 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX      5 Thu Apr  2 17:52:36 2015       0 Thu Jan  1 00:00:00 1970
           2483.80277466 b8f27aaedf87530547e61406f73947455371e6de XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX      1 Fri May 27 20:27:01 2016       0 Thu Jan  1 00:00:00 1970


so unless you want hash160, or know how to convert hash160 to btcaddress., this tool is obsolete .



158  Bitcoin / Development & Technical Discussion / Re: How to read/parse blockchain and get bitcoin addresses having balance. on: October 06, 2017, 06:26:41 PM
i tried using https://github.com/znort987/blockparser

Code:
info: 481823 blocks, 295.351 MegaAddrs ,
fatal: failed to locate upstream transaction
I can't help you fix it, but I can tell you the reason: blockparser is older than SegWit, so it stops at the block in which SegWit got activated.
BTC.COM mines the 481,823rd block! Segwit is on stage!

If you get it to work, I'd love to have a complete list (in for example CSV-format) of all addresses with their balance. I'd like to play around with it a bit.

i can get a list before that block by stopping program.,

but i am looking for complete upto date list.
will post if i get it to work.,

what changed in segwit ? i mean in block ? so i can try to change it in blockparser source.




edit 1:

this is the code cauing the fatal error

Code:
        auto upTXHash = p;
        const Chunk *upTX = 0;
        if(gNeedUpstream && !skip) {
            auto isGenTX = (0==memcmp(gNullHash.v, upTXHash, sizeof(gNullHash)));
            if(likely(false==isGenTX)) {
                auto i = gTXOMap.find(upTXHash);
                if(unlikely(gTXOMap.end()==i)) {
                    errFatal("failed to locate upstream transaction");
                }
                upTX = i->second;
            }
        }

i am not sure, will it give correct output. if i comment outt that line and recompile and rerun the code.,
will try anyways.
159  Bitcoin / Development & Technical Discussion / Re: Is reusing addresses safer? on: October 06, 2017, 04:33:45 PM
but imho, if you dont have anything to hide, then using same addresses is fine.

You reduce your own privacy AND the privacy of everyone that you transact with when you re-use addresses.  Have a little respect for others and stop re-using addresses.


its much easier to manage/handle 2 private keys instead of backing up private key/wallet of new change address after each tx.

Use Hierarchical Deterministic (HD) wallet such as Electrum or Bitcoin Core.
Create a backup of your seed words once.
Use a new address for every transaction.

You will no longer need to "back up private key/wallet of new change address after each tx".

i am using Bitcoin Core  in command line., but never used it to send funds.,
i use my js script to send tx.

does the old behaviour of  Bitcoin Core changed ? so no more need to backup wallet after each tx ?

thanks
160  Bitcoin / Development & Technical Discussion / Re: Is reusing addresses safer? on: October 06, 2017, 03:50:29 PM
There is a lot bigger security risk to reuse your address then for someone to find a key with the same address, since quantum computers should be able to find a private key for any public key very quickly while they are not good at trying out hashes. There is no quantum computers that are close to being big enough for this job yet, and making bigger quantum chips gets exponentially harder so it might be impossible, but it is still more likely then to find a collision.

So don't reuse addresses, since it is insecure anyway and then you won't have this issue either, since this issue is negligible compared to the quantum one, that is also extremely small on it's own.

i dont get this, why it is security risk ?

if private key is unknown then it does not matter , if address has 1 tx or 1000 tx.

and i read quantum computers does not works like that. so they wont help to calculate/break private key of specific address.

any references  ?

to op.

people say to use new address, is to make it difficult to track the owner of bitcoins.
that is why default bitcoin cliets sends change to new address, instead of the sender addres.,

but imho, if you dont have anything to hide, then using same addresses is fine.
i manage 2 addresss and they have multiple tx on them, its much easier to manage/handle 2 private keys instead of backing up private key/wallet of new change address after each tx.

if i am wrong, please enlighten me, i am still learnning.
Pages: « 1 2 3 4 5 6 7 [8] 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!