public void removeWallet ( Wallet wallet ) { wallets . remove ( checkNotNull ( wallet ) ) ; peerFilterProviders . remove ( wallet ) ; wallet . removeCoinsReceivedEventListener ( walletCoinsReceivedEventListener ) ; wallet . removeKeyChainEventListener ( walletKeyEventListener ) ; wallet . removeScriptsChangeEventListener ( walletScriptsEventListener ) ; wallet . setTransactionBroadcaster ( null ) ; for ( Peer peer : peers ) { peer . removeWallet ( wallet ) ; } }
Unlinks the given wallet so it no longer receives broadcast transactions or has its transactions announced .