Skip to content

Commit de5dc03

Browse files
committed
MERGE-FIX: Rebrand bitcoin-wallet to elements-wallet
1 parent 39c2906 commit de5dc03

File tree

2 files changed

+15
-14
lines changed

2 files changed

+15
-14
lines changed

src/Makefile.am

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ if BUILD_BITCOIN_TX
9393
endif
9494
if ENABLE_WALLET
9595
if BUILD_BITCOIN_WALLET
96-
bin_PROGRAMS += bitcoin-wallet
96+
bin_PROGRAMS += elements-wallet
9797
endif
9898
endif
9999

@@ -583,29 +583,30 @@ elements_tx_LDADD += $(BOOST_LIBS) $(CRYPTO_LIBS)
583583
#
584584

585585
# bitcoin-wallet binary #
586-
bitcoin_wallet_SOURCES = bitcoin-wallet.cpp
587-
bitcoin_wallet_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
588-
bitcoin_wallet_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
589-
bitcoin_wallet_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(LIBTOOL_APP_LDFLAGS)
586+
elements_wallet_SOURCES = bitcoin-wallet.cpp
587+
elements_wallet_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
588+
elements_wallet_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
589+
elements_wallet_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(LIBTOOL_APP_LDFLAGS)
590590

591591
if TARGET_WINDOWS
592-
bitcoin_wallet_SOURCES += bitcoin-wallet-res.rc
592+
elements_wallet_SOURCES += bitcoin-wallet-res.rc
593593
endif
594594

595-
bitcoin_wallet_LDADD = \
595+
elements_wallet_LDADD = \
596596
$(LIBBITCOIN_WALLET_TOOL) \
597597
$(LIBBITCOIN_WALLET) \
598598
$(LIBBITCOIN_SERVER) \
599599
$(LIBBITCOIN_COMMON) \
600600
$(LIBBITCOIN_CONSENSUS) \
601601
$(LIBBITCOIN_UTIL) \
602602
$(LIBBITCOIN_CRYPTO) \
603+
$(LIBUNIVALUE) \
603604
$(LIBLEVELDB) \
604605
$(LIBLEVELDB_SSE42) \
605606
$(LIBMEMENV) \
606607
$(LIBSECP256K1)
607608

608-
bitcoin_wallet_LDADD += $(BOOST_LIBS) $(BDB_LIBS) $(CRYPTO_LIBS) $(MINIUPNPC_LIBS)
609+
elements_wallet_LDADD += $(BOOST_LIBS) $(BDB_LIBS) $(CRYPTO_LIBS) $(MINIUPNPC_LIBS) $(EVENT_LIBS)
609610
#
610611

611612
# bitcoinconsensus library #

src/bitcoin-wallet.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ static bool WalletAppInit(int argc, char* argv[])
4141
return false;
4242
}
4343
if (argc < 2 || HelpRequested(gArgs)) {
44-
std::string usage = strprintf("%s bitcoin-wallet version", PACKAGE_NAME) + " " + FormatFullVersion() + "\n\n" +
45-
"wallet-tool is an offline tool for creating and interacting with Bitcoin Core wallet files.\n" +
46-
"By default wallet-tool will act on wallets in the default mainnet wallet directory in the datadir.\n" +
47-
"To change the target wallet, use the -datadir, -wallet and -testnet/-regtest arguments.\n\n" +
44+
std::string usage = strprintf("%s elements-wallet version", PACKAGE_NAME) + " " + FormatFullVersion() + "\n\n" +
45+
"wallet-tool is an offline tool for creating and interacting with Elements Core wallet files.\n" +
46+
"By default wallet-tool will act on wallets in the default wallet directory in the datadir.\n" +
47+
"To change the target wallet, use the -datadir, -wallet and -chain arguments.\n\n" +
4848
"Usage:\n" +
49-
" bitcoin-wallet [options] <command>\n\n" +
49+
" elements-wallet [options] <command>\n\n" +
5050
gArgs.GetHelpMessage();
5151

5252
fprintf(stdout, "%s", usage.c_str());
@@ -96,7 +96,7 @@ int main(int argc, char* argv[])
9696
}
9797

9898
if (method.empty()) {
99-
fprintf(stderr, "No method provided. Run `bitcoin-wallet -help` for valid methods.\n");
99+
fprintf(stderr, "No method provided. Run `elements-wallet -help` for valid methods.\n");
100100
return EXIT_FAILURE;
101101
}
102102

0 commit comments

Comments
 (0)