Add CWalletScanState , CKeyMetadata