1 2017-10-22 02:11:49 <cluelessperson> hye guys, sorry to bother you, I'm trying to recover a corrupted wallet.dat file, it looks like I have a hex dump
2 2017-10-22 02:12:09 <cluelessperson> can you maybe inform me how to recognize the key format in this context, or the data structure to find it within?
3 2017-10-22 02:14:39 <midnightmagic> :-o
4 2017-10-22 02:15:09 <midnightmagic> the corrupted wallet file itself can be scanned for private keys. there is a wallet recovery salvager I think built directly into bitcoin.
5 2017-10-22 02:16:00 <midnightmagic> cluelessperson: Take a full backup of the corrupted file, then use -salvagewallet on it. A hexdump is not what you want. You need the raw file.
6 2017-10-22 02:16:15 <midnightmagic> But.. I guess topic for #bitcoin, although this channel sees virtually no use.
7 2017-10-22 02:17:29 <cluelessperson> midnightmagic: to be clear, this file looks nothing like a berkeley database now, there may be leftover structures in it, but it's basically a bunch of the bytes from that section of the hard drive
8 2017-10-22 02:17:38 <cluelessperson> my bad, it's not ehx
9 2017-10-22 02:17:49 <midnightmagic> Doesn't matter. The salvagewalelt thing scans through the raw data looking for keys.
10 2017-10-22 02:17:59 <cluelessperson> midnightmagic: sweet, thank you
11 2017-10-22 02:18:37 <midnightmagic> And.. Hrm. I'm not actually sure how it *recognizes* keys, and whether it just compares the data byte-by-byte with the utxo, or.. hrm. Well anyway, look into that option. It's a start.
12 2017-10-22 02:19:12 <cluelessperson> midnightmagic: will do, I have another copy of bitcoin core on my windows machine I can screw with
13 2017-10-22 02:20:13 <midnightmagic> ok
14 2017-10-22 04:29:22 <LowKey> Hi, How to generate genesis block ?
15 2017-10-22 04:36:55 <r251d> LowKey: in a fresh regtest environment execute the RPC/bitcoin-cli command `generate 1`
16 2017-10-22 04:38:54 <LowKey> r251d: can i use that command on daemon ? -daemon
17 2017-10-22 04:39:22 <LowKey> r251d: i dont have bitcoin-cli
18 2017-10-22 04:40:47 <r251d> How do you issue RPC commands without bitcoin-cli? Are you running Bitcoin core GUI?
19 2017-10-22 04:42:42 <r251d> The GUI has a debug window where you can execute most (all?) of bitcoin-cli commands. Open Core on regtest, open the debug window, go to it's console, and type `generate 1`
20 2017-10-22 04:43:07 <r251d> s/it's/its/
21 2017-10-22 04:51:33 <LowKey> ok r251d , i will try. :)
22 2017-10-22 09:22:40 <Sentineo> hello, anybody can explain what this error means?
23 2017-10-22 09:22:43 <Sentineo> https://paste.fedoraproject.org/paste/tSseIxw1d1imqkLA3J4OnQ
24 2017-10-22 09:22:59 <Sentineo> is this something on my side (hw soon to die) or with bitcoind?
25 2017-10-22 09:23:08 <Sentineo> using v0.15.0.1
26 2017-10-22 15:00:58 <denisx> has bench_bitcoin any options, because it is crashing for me after the ââ¬ËTrigââ¬â¢ line