After update Bitcoin Core to version 0.15, chainstate database changed format of data.
Old prefix of key has been 0x63, now 0x43, and key/value are different
Where is the new format described, or can someone have work on this?
UPDATED
Sample
Key:
43000000dcf3713a29f3da53dbde07ea93ace52a4393ba9a009d8ac17c853c18e500
Value:
d42ade0dfd6a93b6ecbc6098336feedaa21b79128e29d5b7ee2d42
Prefix BYTE:
0x43
TransactionId:
e5183c857cc18a9d009aba93432ae5ac93ea07dedb53daf3293a71f3dc000000
Index VARINT:
0x00 -> 0x00(0)
Code VARINT:
0xD42A -> 0x2AAA(10922)
Block Height:
Code >> 1 = 0x1555(5461)
Is Coinbase:
Code & 1 = 0x00(0)
Value VARINT:
0xDE0D -> 0x2F8D(12173) -> decompressMSB128 -> 0x21084(135300)
Type VARINT:
0xFD6A -> 0x3F6A(16234)