<p>This change gives CLI users a <code>stop</code> command to shutdown a daemon.</p>
<ul>
<li>
<p>Server side gRPC boilerplate was added to<code> :proto</code> and <code>:daemon</code>.</p>
</li>
<li>
<p>When the new <code>GrpcShutdownService</code> accepts a <code>stop</code> request from the CLI,<br>
it calls <code>UserThread.runAfter(BisqHeadlessApp.getShutDownHandler(), 500, MILLISECONDS); </code></p>
</li>
<li>
<p>Method help file <code>stop-help.txt</code> was added to <code>:core</code>.</p>
</li>
<li>
<p>Client side gRPC boilerplate and <code>stop</code> implementation was added to <code>:cli</code>.</p>
</li>
</ul>

<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/5202'>https://github.com/bisq-network/bisq/pull/5202</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Add api method 'stop'</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/5202/files#diff-afc5db1c8acb08dec253ee87a3e0e677c932d6826a2ab4c31ba816a4dcfb1386">cli/src/main/java/bisq/cli/CliMain.java</a>
    (14)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/5202/files#diff-5844772aef65f78f18718761e04db119b26808d950b861d038a740878d729c40">cli/src/main/java/bisq/cli/GrpcStubs.java</a>
    (3)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/5202/files#diff-330baed45084180eea99af5e846a1c064bb8cebde98bcc24ad1c04d00efcb5b8">cli/src/main/java/bisq/cli/Method.java</a>
    (3)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/bisq-network/bisq/pull/5202/files#diff-18d42c2f1c008d411b430d987d94406b3115275ab00393094bb91824731cebe0">core/src/main/resources/help/stop-help.txt</a>
    (22)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/5202/files#diff-a80dc3f5a2446a62ffe0c63636c26c71054b77c458ce7fcdd5b02d4553e1706d">daemon/src/main/java/bisq/daemon/grpc/GrpcServer.java</a>
    (2)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/bisq-network/bisq/pull/5202/files#diff-4edcf718e275d29ef43243696bd12ed380866fa97277367cfa0e43f77ce406d1">daemon/src/main/java/bisq/daemon/grpc/GrpcShutdownService.java</a>
    (59)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/5202/files#diff-dcb44a0045a5b02cde5bd2f45051b7d9293f87180111c7ea57f0d0eb85d0f393">proto/src/main/proto/grpc.proto</a>
    (15)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/bisq-network/bisq/pull/5202.patch'>https://github.com/bisq-network/bisq/pull/5202.patch</a></li>
  <li><a href='https://github.com/bisq-network/bisq/pull/5202.diff'>https://github.com/bisq-network/bisq/pull/5202.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/5202">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNVIDARBA2SISQQOLV3S7UVOVANCNFSM4X2PKF3Q">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNUJQOBRVTFZSR746WTS7UVOVA5CNFSM4X2PKF32YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4MCZ2ILQ.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/5202",
"url": "https://github.com/bisq-network/bisq/pull/5202",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>