mirror of
https://github.com/dashpay/dash.git
synced 2024-12-30 22:35:51 +01:00
cc1f8db725
3c3e31c3a4 [tests] Add wallet-tool test (João Barbosa) 49d2374acf [tools] Add wallet inspection and modification tool (Jonas Schnelli) Pull request description: Adds an offline tool `bitcoin-wallet-tool` for wallet creation and maintenance. Currently this tool can create a new wallet file, display information on an existing wallet, and run the salvage and zapwallettxes maintenance tasks on an existing wallet. It can later be extended to support other common wallet maintenance tasks. Doing wallet maintenance tasks in an offline tool makes much more sense (and is potentially safer) than having to spin up a full node. Tree-SHA512: 75a28b8a58858d9d76c7532db40eacdefc5714ea5aab536fb1dc9756e2f7d750d69d68d59c50a68e633ce38fb5b8c3e3d4880db30fe01561e07ce58d42bceb2b
36 lines
1.6 KiB
Plaintext
36 lines
1.6 KiB
Plaintext
#include <windows.h> // needed for VERSIONINFO
|
|
#include "clientversion.h" // holds the needed client version information
|
|
|
|
#define VER_PRODUCTVERSION CLIENT_VERSION_MAJOR,CLIENT_VERSION_MINOR,CLIENT_VERSION_REVISION,CLIENT_VERSION_BUILD
|
|
#define VER_PRODUCTVERSION_STR STRINGIZE(CLIENT_VERSION_MAJOR) "." STRINGIZE(CLIENT_VERSION_MINOR) "." STRINGIZE(CLIENT_VERSION_REVISION) "." STRINGIZE(CLIENT_VERSION_BUILD)
|
|
#define VER_FILEVERSION VER_PRODUCTVERSION
|
|
#define VER_FILEVERSION_STR VER_PRODUCTVERSION_STR
|
|
|
|
VS_VERSION_INFO VERSIONINFO
|
|
FILEVERSION VER_FILEVERSION
|
|
PRODUCTVERSION VER_PRODUCTVERSION
|
|
FILEOS VOS_NT_WINDOWS32
|
|
FILETYPE VFT_APP
|
|
BEGIN
|
|
BLOCK "StringFileInfo"
|
|
BEGIN
|
|
BLOCK "040904E4" // U.S. English - multilingual (hex)
|
|
BEGIN
|
|
VALUE "CompanyName", "Dash Core"
|
|
VALUE "FileDescription", "dash-wallet (CLI tool for " PACKAGE_NAME " wallets)"
|
|
VALUE "FileVersion", VER_FILEVERSION_STR
|
|
VALUE "InternalName", "dash-wallet"
|
|
VALUE "LegalCopyright", COPYRIGHT_STR
|
|
VALUE "LegalTrademarks1", "Distributed under the MIT software license, see the accompanying file COPYING or http://www.opensource.org/licenses/mit-license.php."
|
|
VALUE "OriginalFilename", "dash-wallet.exe"
|
|
VALUE "ProductName", "dash-wallet"
|
|
VALUE "ProductVersion", VER_PRODUCTVERSION_STR
|
|
END
|
|
END
|
|
|
|
BLOCK "VarFileInfo"
|
|
BEGIN
|
|
VALUE "Translation", 0x0, 1252 // language neutral - multilingual (decimal)
|
|
END
|
|
END
|