Package org.bitcoinj.wallet.listeners
Interface ScriptsChangeEventListener
- All Known Implementing Classes:
NativeScriptsChangeEventListener
public interface ScriptsChangeEventListener
Implementors are called when the contents of the wallet changes, for instance due to receiving/sending money or a block chain re-organize.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onScriptsChanged
(Wallet wallet, List<Script> scripts, boolean isAddingScripts) Called whenever a new watched script is added to the wallet.
-
Method Details
-
onScriptsChanged
Called whenever a new watched script is added to the wallet.- Parameters:
isAddingScripts
- will be true if added scripts, false if removed scripts.
-