# bitcoin-chainstate problem -rw-r--r-- 1.9 KiB View raw
                                                                                
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
$ rm -rf ./datadir
$ ./src/bitcoin-chainstate ./datadir
Hello! I'm going to print out some information about your datadir.
        Path: "/home/dongcarl/src/bitcoin/2022-02-libbitcoinkernel-p0/datadir"
        Reindexing: false
        Snapshot Active: false
        Active Height: 0
        Active IBD: true
        CBlockIndex(pprev=0, nHeight=0, merkle=4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b, hashBlock=000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f)
010000006fe28c0ab6f1b372c1a6a246ae63f74f931e8365e15a089c68d6190000000000982051fd1e4ba744bbbe680e1fee14677ba1a3c3540bf7b1cdb606e857233e0e61bc6649ffff001d01e362990101000000010000000000000000000000000000000000000000000000000000000000000000ffffffff0704ffff001d0104ffffffff0100f2052a0100000043410496b538e853519c726a2c91e61ec11600ae1390813a627c66fb8be7947be63c52da7589379515d4e0a604f8141781e62294721166bf621e73a82cbf2342c858eeac00000000
Valid
initial value. Block has not yet been rejected
010000004860eb18bf1b1620e37e9490fc8a427514416fd75159ab86688e9a8300000000d5fdcc541e25de1c7a5addedf24858b8bb665c9f36ef744ee42c316022c90f9bb0bc6649ffff001d08d2bd610101000000010000000000000000000000000000000000000000000000000000000000000000ffffffff0704ffff001d010bffffffff0100f2052a010000004341047211a824f55b505228e4c3d5194c1fcfaa15a456abdf37f9b9d97a4040afc073dee6c89064984f03385237d92167c13e236446b417ab79a0fcae412ae3316b77ac00000000
Valid
initial value. Block has not yet been rejected
<I hit Ctrl-D here and the program exited>

$ ./src/bitcoin-chainstate ./datadir
Hello! I'm going to print out some information about your datadir.
        Path: "/home/dongcarl/src/bitcoin/2022-02-libbitcoinkernel-p0/datadir"
        Reindexing: false
        Snapshot Active: false
        Active Height: 0
        Active IBD: true
        CBlockIndex(pprev=0, nHeight=0, merkle=4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b, hashBlock=000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f)