1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
crate::ix!();
/**
| Return implementation of Wallet
| interface. This function is defined in
| dummywallet.cpp and throws if the wallet
| component is not compiled.
*/
pub fn make_wallet_with_context(
context: &mut WalletContext,
wallet: &Arc<Wallet>) -> Box<dyn WalletInterface>
{
todo!();
/*
return wallet ? std::make_unique<WalletImpl>(context, wallet) : nullptr;
*/
}
//-------------------------------------------[.cpp/bitcoin/src/wallet/wallet.h]
/**
| Called periodically by the schedule
| thread. Prompts individual wallets
| to resend their transactions. Actual
| rebroadcast schedule is managed by
| the wallets themselves.
|
*/
pub fn maybe_resend_wallet_txs(context: &mut WalletContext) {
todo!();
/*
*/
}
pub fn dummy_sign_input(
provider: &SigningProvider,
tx_in: &mut TxIn,
txout: &TxOut,
use_max_sig: bool) -> bool {
todo!();
/*
*/
}