<p><span class="issue-keyword tooltipped tooltipped-se" aria-label="This pull request closes issue #4441.">Fixes</span> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="686891471" data-permission-text="Title is private" data-url="https://github.com/bisq-network/bisq/issues/4441" data-hovercard-type="issue" data-hovercard-url="/bisq-network/bisq/issues/4441/hovercard" href="https://github.com/bisq-network/bisq/issues/4441">#4441</a></p>
<p>This guarantees that the pricenode will run even when there is a problem with a provider at startup.  It simply calls the initial <code>refresh()</code> asynchronously rather than blocking the bean startup routine.  To my point of view there is no difference between the first and subsequent calls to refresh, since providers can fail at any time.  When rates are requested any non-initialized provider is ignored.</p>
<p>However I have not taken ownership of the pricenode and only have a superficial understanding of how the data is calculated.  I did enough testing to check that the price and fee data looks good, and that the automated tests pass.  There could certainly be edge cases that I'm not aware of.  <a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/cd2357/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/cd2357">@cd2357</a> is certainly free to flame me if this is a stupid change, as he put a lot more work into it than I did.</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/4890'>https://github.com/bisq-network/bisq/pull/4890</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Start pricenode providers asynchronously</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/4890/files#diff-e4456612f7bd4e3cbca843128db42e2fef7b72c271a3965f45e6bdb499dd24b0">pricenode/src/main/java/bisq/price/PriceProvider.java</a>
    (15)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/4890/files#diff-a5cfa294b1e90955a438a56c1aa683dd10016e38275ff2cfbd34c31c515b5b3c">pricenode/src/main/java/bisq/price/mining/FeeRateService.java</a>
    (8)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/4890/files#diff-b55b3681731d7198d341ead5efc35bb691d46738716b8afc34292379eb0d3a1e">pricenode/src/main/java/bisq/price/spot/ExchangeRateService.java</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/4890/files#diff-9745eecc84abbd252ce951f1ebc6ed0ae795569bd264d76db7385153ad837128">pricenode/src/test/java/bisq/price/mining/providers/MempoolFeeRateProviderTest.java</a>
    (3)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/4890/files#diff-34e1814dd38fc798bfd8c5ed5394e2be787d4c16265f147d5dd58552d4d2d201">pricenode/src/test/java/bisq/price/spot/ExchangeRateServiceTest.java</a>
    (3)
  </li>
</ul>

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