Esempio n. 1
0
  static {
    // Default policy goes here. If you want to change this, use one of the static methods before
    // instantiating any bitcoinj objects. The policy change will take effect only on new objects
    // from that point onwards.
    throwOnLockCycles();

    USER_THREAD = new UserThread();
    SAME_THREAD =
        new Executor() {
          @Override
          public void execute(@Nonnull Runnable runnable) {
            runnable.run();
          }
        };
  }