2 ms·
I've generated addresses for all nul-terminated strings over 10 chars from a memory dump of my bitcoin node, and I'm scanning my blockchain to see if any of the
by jstanley 9y ago
I've generated addresses for all nul-terminated strings over 10 chars from a memory dump of my bitcoin node, and I'm scanning my blockchain to see if any of them have been used.
So far I've found nothing.
- StavrosK 9y agoWhat tools are you using to do that?
- jstanley 9y agoIt's all very adhoc. I used gdb to dump the bitcoind memory, I'm using https://github.com/matja/bitcoin-tool https://github.com/matja/bitcoin-tool to output human-readable addresses, I'm using (a modified version of) https://github.com/tenthirtyone/blocktools https://github.com/tenthirtyone/blocktools to parse the blockchain files, and some custom scripts to extract addresses from the scriptpubkeys and compare them against my list of addresses taken from the bitcoind memory.
- StavrosK 9y agoI see, thanks. Wouldn't it be easier to communicate with bitcoind via the RPC interface?
- jstanley 9y agoYes but that is orders of magnitude too slow. It would be fine if bitcoind had an address index, but it does not. I need to setup a bitcore node one of these days...
- StavrosK 9y agoNot only that, it doesn't even support looking up arbitrary addresses, I've just found. I'm looking for an alternate method.
- ryan-c 9y agoI extract them from bitcoind's rpc interface by dumping blocks, but i started that process years ago. It'd take several months to dump everything from scratch at this point.