docs: public int getMessageSizeForPriorityCalc() {
          int size = getMessageSize();
          for (TransactionInput input : inputs) {
              // 41: min size of an input
              // 110: enough to cover a compressed pubkey p2sh redemption (somewhat arbitrary).
              int benefit = 41 + Math.min(110, input.getScriptSig().getProgram().length);
              if (size > benefit)
                  size -= benefit;
          }
          return size;
      }