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 Detail

      • onScriptsChanged

        void onScriptsChanged​(Wallet wallet,
                              java.util.List<Script> scripts,
                              boolean isAddingScripts)
        Called whenever a new watched script is added to the wallet.
        Parameters:
        isAddingScripts - will be true if added scripts, false if removed scripts.