docs: public void addWallet(Wallet wallet) {
          lock.lock();
          try {
              checkNotNull(wallet);
              checkState(!wallets.contains(wallet));
              wallets.add(wallet);
              wallet.setTransactionBroadcaster(this);
              wallet.addCoinsReceivedEventListener(Threading.SAME_THREAD, walletCoinsReceivedEventListener);
              wallet.addKeyChainEventListener(Threading.SAME_THREAD, walletKeyEventListener);
              wallet.addScriptsChangeEventListener(Threading.SAME_THREAD, walletScriptsEventListener);
              addPeerFilterProvider(wallet);
              for (Peer peer : peers) {
                  peer.addWallet(wallet);
              }
          } finally {
              lock.unlock();
          }
      }