I have python script to dump wallet.dat details to json+hex file. It operates with bsddb3 library. There are keys and values. They can be divided into:
- addresses
- keys (private keys?)
- transactions
- metadata
depending on the first byte.
I have: 02, 03, 05, 07, 09, 0a, 0c, 12 as the first bytes for all keys in some encrypted wallet.
What does these first bytes mean and how should I divide types of keys into groups by this first byte?










