<p>The general rule is limit calls that change p2p data to 1/minute, others to 1/second.  An exception is made to set/remove wallet password methods (1/5s), due to the latency of writing wallet changes to disk.</p>
<p>This change may affect api testing in the future.  If that happens, further changes to the call rate metering interceptor may be made to loosen the constraints when running in regtest/dev mode.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/bisq-network/bisq/pull/5103'>https://github.com/bisq-network/bisq/pull/5103</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Define gRPC api call rate constraints</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/5103/files#diff-f375f6170c747c3f7f43207de7294b176d5f5bec8669141f50974a25b7969354">daemon/src/main/java/bisq/daemon/grpc/GrpcDisputeAgentsService.java</a>
    (30)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/5103/files#diff-e6b3ed377b998ee49d5f7d46b847926364827d3ba2593760ebf02040b5def05c">daemon/src/main/java/bisq/daemon/grpc/GrpcGetTradeStatisticsService.java</a>
    (27)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/5103/files#diff-87b164c3ca31333a8a805fb211a24df3c60e8403c7757afa284b95dfc947a564">daemon/src/main/java/bisq/daemon/grpc/GrpcHelpService.java</a>
    (28)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/5103/files#diff-5afef68b74948ae40e71a3955d52c1bfd52fa4a95fed271c6cae61626089073d">daemon/src/main/java/bisq/daemon/grpc/GrpcOffersService.java</a>
    (32)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/5103/files#diff-6d8b8c93482024d228b7265fa4533f5c1b9d2fc284f0e5e4c10f36d742f70dcb">daemon/src/main/java/bisq/daemon/grpc/GrpcPaymentAccountsService.java</a>
    (31)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/5103/files#diff-a96b59b7ba337e29b7f6c7fa2133dffabd15888baa9a81d968c237ac4169dba9">daemon/src/main/java/bisq/daemon/grpc/GrpcPriceService.java</a>
    (28)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/5103/files#diff-a80dc3f5a2446a62ffe0c63636c26c71054b77c458ce7fcdd5b02d4553e1706d">daemon/src/main/java/bisq/daemon/grpc/GrpcServer.java</a>
    (16)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/5103/files#diff-0999abe6a76f18c5be810b6c5436cea6d708c11d99ed316d0397c3ebbc6aa777">daemon/src/main/java/bisq/daemon/grpc/GrpcTradesService.java</a>
    (33)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/5103/files#diff-0f735437c30861df6592c3fa0c5ab71c170d9a7dfb14a063529ae4a9fcb6f251">daemon/src/main/java/bisq/daemon/grpc/GrpcVersionService.java</a>
    (5)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/5103/files#diff-2599dd16bc53cae95cd20c7466d22e1a79ae172db0526cd14f7839cee29ad9fe">daemon/src/main/java/bisq/daemon/grpc/GrpcWalletsService.java</a>
    (44)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/5103/files#diff-93422631af8f9484e5629208c5a9bdc29d96804172e27fafaffa7270b81d8509">daemon/src/main/java/bisq/daemon/grpc/interceptor/GrpcServiceRateMeteringConfig.java</a>
    (1)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/bisq-network/bisq/pull/5103.patch'>https://github.com/bisq-network/bisq/pull/5103.patch</a></li>
  <li><a href='https://github.com/bisq-network/bisq/pull/5103.diff'>https://github.com/bisq-network/bisq/pull/5103.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/bisq-network/bisq/pull/5103">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNQSE7M4ML35LS3N5DDS3GUNRANCNFSM4WOYERBA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNUBFGRDEHRVOUQMICDS3GUNRA5CNFSM4WOYERBKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4LZXLQFQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/bisq-network/bisq/pull/5103",
"url": "https://github.com/bisq-network/bisq/pull/5103",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>