本文整理了Java中org.bitcoinj.wallet.Wallet.setDescription()
方法的一些代码示例,展示了Wallet.setDescription()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Wallet.setDescription()
方法的具体详情如下:
包路径:org.bitcoinj.wallet.Wallet
类名称:Wallet
方法名:setDescription
[英]Set the description of the wallet. This is a Unicode encoding string typically entered by the user as descriptive text for the wallet.
[中]设置钱包的描述。这是一个Unicode编码字符串,通常由用户输入,作为钱包的描述性文本。
代码示例来源:origin: greenaddress/GreenBits
@Before
public void setUp() throws Exception {
BriefLogFormatter.initVerbose();
Context ctx = new Context(PARAMS);
myWatchedKey = new ECKey();
myWallet = new Wallet(PARAMS);
myKey = new ECKey();
myKey.setCreationTimeSeconds(123456789L);
myWallet.importKey(myKey);
myAddress = myKey.toAddress(PARAMS);
myWallet = new Wallet(PARAMS);
myWallet.importKey(myKey);
mScriptCreationTime = new Date().getTime() / 1000 - 1234;
myWallet.addWatchedAddress(myWatchedKey.toAddress(PARAMS), mScriptCreationTime);
myWallet.setDescription(WALLET_DESCRIPTION);
}
代码示例来源:origin: fr.acinq/bitcoinj-core
wallet.setDescription(walletProto.getDescription());
代码示例来源:origin: greenaddress/GreenBits
wallet.setDescription(walletProto.getDescription());
代码示例来源:origin: HashEngineering/dashj
wallet.setDescription(walletProto.getDescription());
代码示例来源:origin: cash.bitcoinj/bitcoinj-core
wallet.setDescription(walletProto.getDescription());
内容来源于网络,如有侵权,请联系作者删除!