bitcoin-s/api/org/bitcoins/testkit/wallet/WalletTestUtil$.html
Docusaurus bot 46787e466e Deploy website
Deploy website version based on 69cade4737
2022-02-22 01:16:40 +00:00

4 lines
64 KiB
HTML

<!DOCTYPE html ><html><head><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport"/><title></title><meta content="" name="description"/><meta content="" name="keywords"/><meta http-equiv="content-type" content="text/html; charset=UTF-8"/><link href="../../../../lib/index.css" media="screen" type="text/css" rel="stylesheet"/><link href="../../../../lib/template.css" media="screen" type="text/css" rel="stylesheet"/><link href="../../../../lib/print.css" media="print" type="text/css" rel="stylesheet"/><link href="../../../../lib/diagrams.css" media="screen" type="text/css" rel="stylesheet" id="diagrams-css"/><script type="text/javascript" src="../../../../lib/jquery.min.js"></script><script type="text/javascript" src="../../../../lib/index.js"></script><script type="text/javascript" src="../../../../index.js"></script><script type="text/javascript" src="../../../../lib/scheduler.js"></script><script type="text/javascript" src="../../../../lib/template.js"></script><script type="text/javascript">/* this variable can be used by the JS to determine the path to the root document */
var toRoot = '../../../../';</script></head><body><div id="search"><span id="doc-title"><span id="doc-version"></span></span> <span class="close-results"><span class="left">&lt;</span> Back</span><div id="textfilter"><span class="input"><input autocapitalize="none" placeholder="Search" id="index-input" type="text" accesskey="/"/><i class="clear material-icons"></i><i id="search-icon" class="material-icons"></i></span></div></div><div id="search-results"><div id="search-progress"><div id="progress-fill"></div></div><div id="results-content"><div id="entity-results"></div><div id="member-results"></div></div></div><div id="content-scroll-container" style="-webkit-overflow-scrolling: touch;"><div id="content-container" style="-webkit-overflow-scrolling: touch;"><div id="subpackage-spacer"><div id="packages"><h1>Packages</h1><ul><li class="indented0 " name="_root_.root" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="_root_" class="anchorToMember"></a><a id="root:_root_" class="anchorToMember"></a> <span class="permalink"><a href="../../../../index.html" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">package</span></span> <span class="symbol"><a href="../../../../index.html" title=""><span class="name">root</span></a></span><div class="fullcomment"><dl class="attributes block"><dt>Definition Classes</dt><dd><a href="../../../../index.html" name="_root_" id="_root_" class="extype">root</a></dd></dl></div></li><li class="indented1 " name="_root_.org" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="org" class="anchorToMember"></a><a id="org:org" class="anchorToMember"></a> <span class="permalink"><a href="../../../../org/index.html" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">package</span></span> <span class="symbol"><a href="../../../index.html" title=""><span class="name">org</span></a></span><div class="fullcomment"><dl class="attributes block"><dt>Definition Classes</dt><dd><a href="../../../../index.html" name="_root_" id="_root_" class="extype">root</a></dd></dl></div></li><li class="indented2 " name="org.bitcoins" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="bitcoins" class="anchorToMember"></a><a id="bitcoins:bitcoins" class="anchorToMember"></a> <span class="permalink"><a href="../../../../org/bitcoins/index.html" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">package</span></span> <span class="symbol"><a href="../../index.html" title=""><span class="name">bitcoins</span></a></span><div class="fullcomment"><dl class="attributes block"><dt>Definition Classes</dt><dd><a href="../../../index.html" name="org" id="org" class="extype">org</a></dd></dl></div></li><li class="indented3 " name="org.bitcoins.testkit" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="testkit" class="anchorToMember"></a><a id="testkit:testkit" class="anchorToMember"></a> <span class="permalink"><a href="../../../../org/bitcoins/testkit/index.html" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">package</span></span> <span class="symbol"><a href="../index.html" title=""><span class="name">testkit</span></a></span><div class="fullcomment"><dl class="attributes block"><dt>Definition Classes</dt><dd><a href="../../index.html" name="org.bitcoins" id="org.bitcoins" class="extype">bitcoins</a></dd></dl></div></li><li class="indented4 " name="org.bitcoins.testkit.wallet" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="wallet" class="anchorToMember"></a><a id="wallet:wallet" class="anchorToMember"></a> <span class="permalink"><a href="../../../../org/bitcoins/testkit/wallet/index.html" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">package</span></span> <span class="symbol"><a href="index.html" title=""><span class="name">wallet</span></a></span><div class="fullcomment"><dl class="attributes block"><dt>Definition Classes</dt><dd><a href="../index.html" name="org.bitcoins.testkit" id="org.bitcoins.testkit" class="extype">testkit</a></dd></dl></div></li><li class="current-entities indented4"><a href="BaseWalletTest$.html" title="" class="object"></a> <a href="BaseWalletTest.html" title="Base test trait for all the tests in our walletTest module" class="trait"></a><a href="BaseWalletTest.html" title="Base test trait for all the tests in our walletTest module">BaseWalletTest</a></li><li class="current-entities indented4"><span class="separator"></span> <a href="BitcoinSDualWalletTest.html" title="" class="trait"></a><a href="BitcoinSDualWalletTest.html" title="">BitcoinSDualWalletTest</a></li><li class="current-entities indented4"><a href="BitcoinSWalletTest$.html" title="" class="object"></a> <a href="BitcoinSWalletTest.html" title="" class="trait"></a><a href="BitcoinSWalletTest.html" title="">BitcoinSWalletTest</a></li><li class="current-entities indented4"><span class="separator"></span> <a href="BitcoinSWalletTestCachedBitcoinV19.html" title="" class="trait"></a><a href="BitcoinSWalletTestCachedBitcoinV19.html" title="">BitcoinSWalletTestCachedBitcoinV19</a></li><li class="current-entities indented4"><span class="separator"></span> <a href="BitcoinSWalletTestCachedBitcoind.html" title="Bitcoin-s wallet test trait that uses cached bitcoinds rather than fresh bitcoinds." class="trait"></a><a href="BitcoinSWalletTestCachedBitcoind.html" title="Bitcoin-s wallet test trait that uses cached bitcoinds rather than fresh bitcoinds.">BitcoinSWalletTestCachedBitcoind</a></li><li class="current-entities indented4"><span class="separator"></span> <a href="BitcoinSWalletTestCachedBitcoindNewest.html" title="" class="trait"></a><a href="BitcoinSWalletTestCachedBitcoindNewest.html" title="">BitcoinSWalletTestCachedBitcoindNewest</a></li><li class="current-entities indented4"><span class="separator"></span> <a href="DLCWalletUtil$.html" title="" class="object"></a><a href="DLCWalletUtil$.html" title="">DLCWalletUtil</a></li><li class="current-entities indented4"><span class="separator"></span> <a href="DualWalletTestCachedBitcoind.html" title="" class="trait"></a><a href="DualWalletTestCachedBitcoind.html" title="">DualWalletTestCachedBitcoind</a></li><li class="current-entities indented4"><a href="FundWalletUtil$.html" title="" class="object"></a> <a href="FundWalletUtil.html" title="" class="trait"></a><a href="FundWalletUtil.html" title="">FundWalletUtil</a></li><li class="current-entities indented4"><span class="separator"></span> <a href="WalletAppConfigWithBitcoind.html" title="" class="trait"></a><a href="WalletAppConfigWithBitcoind.html" title="">WalletAppConfigWithBitcoind</a></li><li class="current-entities indented4"><a href="WalletAppConfigWithBitcoindFixtures$.html" title="" class="object"></a> <a href="WalletAppConfigWithBitcoindFixtures.html" title="" class="trait"></a><a href="WalletAppConfigWithBitcoindFixtures.html" title="">WalletAppConfigWithBitcoindFixtures</a></li><li class="current-entities indented4"><span class="separator"></span> <a href="WalletAppConfigWithBitcoindNewestFixtures.html" title="" class="trait"></a><a href="WalletAppConfigWithBitcoindNewestFixtures.html" title="">WalletAppConfigWithBitcoindNewestFixtures</a></li><li class="current-entities indented4"><span class="separator"></span> <a href="WalletAppConfigWithBitcoindRpc.html" title="" class="class"></a><a href="WalletAppConfigWithBitcoindRpc.html" title="">WalletAppConfigWithBitcoindRpc</a></li><li class="current-entities indented4"><span class="separator"></span> <a href="" title="" class="object"></a><a href="" title="">WalletTestUtil</a></li><li class="current-entities indented4"><span class="separator"></span> <a href="WalletWithBitcoind.html" title="" class="trait"></a><a href="WalletWithBitcoind.html" title="">WalletWithBitcoind</a></li><li class="current-entities indented4"><span class="separator"></span> <a href="WalletWithBitcoindRpc.html" title="" class="class"></a><a href="WalletWithBitcoindRpc.html" title="">WalletWithBitcoindRpc</a></li><li class="current-entities indented4"><span class="separator"></span> <a href="WalletWithBitcoindV19.html" title="" class="class"></a><a href="WalletWithBitcoindV19.html" title="">WalletWithBitcoindV19</a></li></ul></div></div><div id="content"><body class="object value"><div id="definition"><div class="big-circle object">o</div><p id="owner"><a href="../../../index.html" name="org" id="org" class="extype">org</a>.<a href="../../index.html" name="org.bitcoins" id="org.bitcoins" class="extype">bitcoins</a>.<a href="../index.html" name="org.bitcoins.testkit" id="org.bitcoins.testkit" class="extype">testkit</a>.<a href="index.html" name="org.bitcoins.testkit.wallet" id="org.bitcoins.testkit.wallet" class="extype">wallet</a></p><h1>WalletTestUtil<span class="permalink"><a href="../../../../org/bitcoins/testkit/wallet/WalletTestUtil$.html" title="Permalink"><i class="material-icons"></i></a></span></h1><h3><span class="morelinks"></span></h3></div><h4 id="signature" class="signature"><span class="modifier_kind"><span class="modifier"></span> <span class="kind">object</span></span> <span class="symbol"><span class="name">WalletTestUtil</span></span></h4><div id="comment" class="fullcommenttop"><div class="toggleContainer"><div class="toggle block"><span>Linear Supertypes</span><div class="superTypes hiddenContent"><a href="../../../../scala/index.html#AnyRef=Object" name="scala.AnyRef" id="scala.AnyRef" class="extmbr">AnyRef</a>, <a href="https://www.scala-lang.org/api/2.13.8/scala/Any.html#scala.Any" name="scala.Any" id="scala.Any" class="extype">Any</a></div></div></div></div><div id="mbrsel"><div class="toggle"></div><div id="memberfilter"><i class="material-icons arrow"></i><span class="input"><input placeholder="Filter all members" id="mbrsel-input" type="text" accesskey="/"/></span><i class="clear material-icons"></i></div><div id="filterby"><div id="order"><span class="filtertype">Ordering</span><ol><li class="alpha in"><span>Alphabetic</span></li><li class="inherit out"><span>By Inheritance</span></li></ol></div><div class="ancestors"><span class="filtertype">Inherited<br/></span><ol id="linearization"><li class="in" name="org.bitcoins.testkit.wallet.WalletTestUtil"><span>WalletTestUtil</span></li><li class="in" name="scala.AnyRef"><span>AnyRef</span></li><li class="in" name="scala.Any"><span>Any</span></li></ol></div><div class="ancestors"><span class="filtertype"></span><ol><li class="hideall out"><span>Hide All</span></li><li class="showall in"><span>Show All</span></li></ol></div><div id="visbl"><span class="filtertype">Visibility</span><ol><li class="public in"><span>Public</span></li><li class="protected out"><span>Protected</span></li></ol></div></div></div><div id="template"><div id="allMembers"><div class="values members"><h3>Value Members</h3><ol><li class="indented0 " name="scala.AnyRef#!=" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="!=(x$1:Any):Boolean" class="anchorToMember"></a><a id="!=(Any):Boolean" class="anchorToMember"></a> <span class="permalink"><a href="../../../../org/bitcoins/testkit/wallet/WalletTestUtil$.html#!=(x$1:Any):Boolean" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier">final </span> <span class="kind">def</span></span> <span class="symbol"><span class="name" title="gt4s: $bang$eq">!=</span><span class="params">(<span name="arg0">arg0: <a href="https://www.scala-lang.org/api/2.13.8/scala/Any.html#scala.Any" name="scala.Any" id="scala.Any" class="extype">Any</a></span>)</span><span class="result">: <a href="https://www.scala-lang.org/api/2.13.8/scala/Boolean.html#scala.Boolean" name="scala.Boolean" id="scala.Boolean" class="extype">Boolean</a></span></span><div class="fullcomment"><dl class="attributes block"><dt>Definition Classes</dt><dd>AnyRef → Any</dd></dl></div></li><li class="indented0 " name="scala.AnyRef###" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="##:Int" class="anchorToMember"></a> <span class="permalink"><a href="../../../../org/bitcoins/testkit/wallet/WalletTestUtil$.html###:Int" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier">final </span> <span class="kind">def</span></span> <span class="symbol"><span class="name" title="gt4s: $hash$hash">##</span><span class="result">: <a href="https://www.scala-lang.org/api/2.13.8/scala/Int.html#scala.Int" name="scala.Int" id="scala.Int" class="extype">Int</a></span></span><div class="fullcomment"><dl class="attributes block"><dt>Definition Classes</dt><dd>AnyRef → Any</dd></dl></div></li><li class="indented0 " name="scala.AnyRef#==" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="==(x$1:Any):Boolean" class="anchorToMember"></a><a id="==(Any):Boolean" class="anchorToMember"></a> <span class="permalink"><a href="../../../../org/bitcoins/testkit/wallet/WalletTestUtil$.html#==(x$1:Any):Boolean" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier">final </span> <span class="kind">def</span></span> <span class="symbol"><span class="name" title="gt4s: $eq$eq">==</span><span class="params">(<span name="arg0">arg0: <a href="https://www.scala-lang.org/api/2.13.8/scala/Any.html#scala.Any" name="scala.Any" id="scala.Any" class="extype">Any</a></span>)</span><span class="result">: <a href="https://www.scala-lang.org/api/2.13.8/scala/Boolean.html#scala.Boolean" name="scala.Boolean" id="scala.Boolean" class="extype">Boolean</a></span></span><div class="fullcomment"><dl class="attributes block"><dt>Definition Classes</dt><dd>AnyRef → Any</dd></dl></div></li><li class="indented0 " name="scala.Any#asInstanceOf" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="asInstanceOf[T0]:T0" class="anchorToMember"></a> <span class="permalink"><a href="../../../../org/bitcoins/testkit/wallet/WalletTestUtil$.html#asInstanceOf[T0]:T0" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier">final </span> <span class="kind">def</span></span> <span class="symbol"><span class="name">asInstanceOf</span><span class="tparams">[<span name="T0">T0</span>]</span><span class="result">: <span name="scala.Any.asInstanceOf.T0" class="extype">T0</span></span></span><div class="fullcomment"><dl class="attributes block"><dt>Definition Classes</dt><dd>Any</dd></dl></div></li><li class="indented0 " name="org.bitcoins.testkit.wallet.WalletTestUtil#chainParams" group="Ungrouped" fullComment="no" data-isabs="false" visbl="pub"><a id="chainParams:org.bitcoins.core.protocol.blockchain.ChainParams" class="anchorToMember"></a><a id="chainParams:ChainParams" class="anchorToMember"></a> <span class="permalink"><a href="../../../../org/bitcoins/testkit/wallet/WalletTestUtil$.html#chainParams:org.bitcoins.core.protocol.blockchain.ChainParams" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">val</span></span> <span class="symbol"><span class="name">chainParams</span><span class="result">: <a href="../../core/protocol/blockchain/ChainParams.html" name="org.bitcoins.core.protocol.blockchain.ChainParams" id="org.bitcoins.core.protocol.blockchain.ChainParams" class="extype">ChainParams</a></span></span></li><li class="indented0 " name="scala.AnyRef#clone" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="prt"><a id="clone():Object" class="anchorToMember"></a><a id="clone():AnyRef" class="anchorToMember"></a> <span class="permalink"><a href="../../../../org/bitcoins/testkit/wallet/WalletTestUtil$.html#clone():Object" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">def</span></span> <span class="symbol"><span class="name">clone</span><span class="params">()</span><span class="result">: <a href="../../../../scala/index.html#AnyRef=Object" name="scala.AnyRef" id="scala.AnyRef" class="extmbr">AnyRef</a></span></span><div class="fullcomment"><dl class="attributes block"><dt>Attributes</dt><dd>protected[<span name="java.lang" class="extype">lang</span>] </dd><dt>Definition Classes</dt><dd>AnyRef</dd><dt>Annotations</dt><dd><span class="name">@throws</span><span class="args">(<span><span class="defval">classOf[java.lang.CloneNotSupportedException]</span></span>)</span> <span class="name">@native</span><span class="args">()</span> </dd></dl></div></li><li class="indented0 " name="org.bitcoins.testkit.wallet.WalletTestUtil#defaultHdAccount" group="Ungrouped" fullComment="no" data-isabs="false" visbl="pub"><a id="defaultHdAccount:org.bitcoins.core.hd.HDAccount" class="anchorToMember"></a><a id="defaultHdAccount:HDAccount" class="anchorToMember"></a> <span class="permalink"><a href="../../../../org/bitcoins/testkit/wallet/WalletTestUtil$.html#defaultHdAccount:org.bitcoins.core.hd.HDAccount" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">val</span></span> <span class="symbol"><span class="name">defaultHdAccount</span><span class="result">: <a href="../../core/hd/HDAccount.html" name="org.bitcoins.core.hd.HDAccount" id="org.bitcoins.core.hd.HDAccount" class="extype">HDAccount</a></span></span></li><li class="indented0 " name="scala.AnyRef#eq" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="eq(x$1:AnyRef):Boolean" class="anchorToMember"></a><a id="eq(AnyRef):Boolean" class="anchorToMember"></a> <span class="permalink"><a href="../../../../org/bitcoins/testkit/wallet/WalletTestUtil$.html#eq(x$1:AnyRef):Boolean" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier">final </span> <span class="kind">def</span></span> <span class="symbol"><span class="name">eq</span><span class="params">(<span name="arg0">arg0: <a href="../../../../scala/index.html#AnyRef=Object" name="scala.AnyRef" id="scala.AnyRef" class="extmbr">AnyRef</a></span>)</span><span class="result">: <a href="https://www.scala-lang.org/api/2.13.8/scala/Boolean.html#scala.Boolean" name="scala.Boolean" id="scala.Boolean" class="extype">Boolean</a></span></span><div class="fullcomment"><dl class="attributes block"><dt>Definition Classes</dt><dd>AnyRef</dd></dl></div></li><li class="indented0 " name="scala.AnyRef#equals" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="equals(x$1:Object):Boolean" class="anchorToMember"></a><a id="equals(AnyRef):Boolean" class="anchorToMember"></a> <span class="permalink"><a href="../../../../org/bitcoins/testkit/wallet/WalletTestUtil$.html#equals(x$1:Object):Boolean" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">def</span></span> <span class="symbol"><span class="name">equals</span><span class="params">(<span name="arg0">arg0: <a href="../../../../scala/index.html#AnyRef=Object" name="scala.AnyRef" id="scala.AnyRef" class="extmbr">AnyRef</a></span>)</span><span class="result">: <a href="https://www.scala-lang.org/api/2.13.8/scala/Boolean.html#scala.Boolean" name="scala.Boolean" id="scala.Boolean" class="extype">Boolean</a></span></span><div class="fullcomment"><dl class="attributes block"><dt>Definition Classes</dt><dd>AnyRef → Any</dd></dl></div></li><li class="indented0 " name="scala.AnyRef#finalize" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="prt"><a id="finalize():Unit" class="anchorToMember"></a> <span class="permalink"><a href="../../../../org/bitcoins/testkit/wallet/WalletTestUtil$.html#finalize():Unit" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">def</span></span> <span class="symbol"><span class="name">finalize</span><span class="params">()</span><span class="result">: <a href="https://www.scala-lang.org/api/2.13.8/scala/Unit.html#scala.Unit" name="scala.Unit" id="scala.Unit" class="extype">Unit</a></span></span><div class="fullcomment"><dl class="attributes block"><dt>Attributes</dt><dd>protected[<span name="java.lang" class="extype">lang</span>] </dd><dt>Definition Classes</dt><dd>AnyRef</dd><dt>Annotations</dt><dd><span class="name">@throws</span><span class="args">(<span><span class="symbol">classOf[java.lang.Throwable]</span></span>)</span> </dd></dl></div></li><li class="indented0 " name="org.bitcoins.testkit.wallet.WalletTestUtil#firstAccountDb" group="Ungrouped" fullComment="no" data-isabs="false" visbl="pub"><a id="firstAccountDb:org.bitcoins.core.api.wallet.db.AccountDb" class="anchorToMember"></a><a id="firstAccountDb:AccountDb" class="anchorToMember"></a> <span class="permalink"><a href="../../../../org/bitcoins/testkit/wallet/WalletTestUtil$.html#firstAccountDb:org.bitcoins.core.api.wallet.db.AccountDb" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">def</span></span> <span class="symbol"><span class="name">firstAccountDb</span><span class="result">: <a href="../../core/api/wallet/db/AccountDb.html" name="org.bitcoins.core.api.wallet.db.AccountDb" id="org.bitcoins.core.api.wallet.db.AccountDb" class="extype">AccountDb</a></span></span></li><li class="indented0 " name="org.bitcoins.testkit.wallet.WalletTestUtil#getAddressDb" group="Ungrouped" fullComment="no" data-isabs="false" visbl="pub"><a id="getAddressDb(account:org.bitcoins.core.api.wallet.db.AccountDb,addressIndex:Int):org.bitcoins.core.api.wallet.db.AddressDb" class="anchorToMember"></a><a id="getAddressDb(AccountDb,Int):AddressDb" class="anchorToMember"></a> <span class="permalink"><a href="../../../../org/bitcoins/testkit/wallet/WalletTestUtil$.html#getAddressDb(account:org.bitcoins.core.api.wallet.db.AccountDb,addressIndex:Int):org.bitcoins.core.api.wallet.db.AddressDb" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">def</span></span> <span class="symbol"><span class="name">getAddressDb</span><span class="params">(<span name="account">account: <a href="../../core/api/wallet/db/AccountDb.html" name="org.bitcoins.core.api.wallet.db.AccountDb" id="org.bitcoins.core.api.wallet.db.AccountDb" class="extype">AccountDb</a></span>, <span name="addressIndex">addressIndex: <a href="https://www.scala-lang.org/api/2.13.8/scala/Int.html#scala.Int" name="scala.Int" id="scala.Int" class="extype">Int</a> = <span class="symbol">0</span></span>)</span><span class="result">: <a href="../../core/api/wallet/db/AddressDb.html" name="org.bitcoins.core.api.wallet.db.AddressDb" id="org.bitcoins.core.api.wallet.db.AddressDb" class="extype">AddressDb</a></span></span><p class="shortcomment cmt">Given an account returns a sample address</p></li><li class="indented0 " name="scala.AnyRef#getClass" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="getClass():Class[_]" class="anchorToMember"></a><a id="getClass():Class[_&lt;:AnyRef]" class="anchorToMember"></a> <span class="permalink"><a href="../../../../org/bitcoins/testkit/wallet/WalletTestUtil$.html#getClass():Class[_]" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier">final </span> <span class="kind">def</span></span> <span class="symbol"><span class="name">getClass</span><span class="params">()</span><span class="result">: <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java/lang/Class.html#java.lang.Class" name="java.lang.Class" id="java.lang.Class" class="extype">Class</a>[_ &lt;: <a href="../../../../scala/index.html#AnyRef=Object" name="scala.AnyRef" id="scala.AnyRef" class="extmbr">AnyRef</a>]</span></span><div class="fullcomment"><dl class="attributes block"><dt>Definition Classes</dt><dd>AnyRef → Any</dd><dt>Annotations</dt><dd><span class="name">@native</span><span class="args">()</span> </dd></dl></div></li><li class="indented0 " name="org.bitcoins.testkit.wallet.WalletTestUtil#getHdAccount1" group="Ungrouped" fullComment="no" data-isabs="false" visbl="pub"><a id="getHdAccount1(walletAppConfig:org.bitcoins.wallet.config.WalletAppConfig):org.bitcoins.core.hd.HDAccount" class="anchorToMember"></a><a id="getHdAccount1(WalletAppConfig):HDAccount" class="anchorToMember"></a> <span class="permalink"><a href="../../../../org/bitcoins/testkit/wallet/WalletTestUtil$.html#getHdAccount1(walletAppConfig:org.bitcoins.wallet.config.WalletAppConfig):org.bitcoins.core.hd.HDAccount" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">def</span></span> <span class="symbol"><span class="name">getHdAccount1</span><span class="params">(<span name="walletAppConfig">walletAppConfig: <a href="../../wallet/config/WalletAppConfig.html" name="org.bitcoins.wallet.config.WalletAppConfig" id="org.bitcoins.wallet.config.WalletAppConfig" class="extype">WalletAppConfig</a></span>)</span><span class="result">: <a href="../../core/hd/HDAccount.html" name="org.bitcoins.core.hd.HDAccount" id="org.bitcoins.core.hd.HDAccount" class="extype">HDAccount</a></span></span></li><li class="indented0 " name="org.bitcoins.testkit.wallet.WalletTestUtil#getNestedSegwitAddressDb" group="Ungrouped" fullComment="no" data-isabs="false" visbl="pub"><a id="getNestedSegwitAddressDb(account:org.bitcoins.core.api.wallet.db.AccountDb):org.bitcoins.core.api.wallet.db.AddressDb" class="anchorToMember"></a><a id="getNestedSegwitAddressDb(AccountDb):AddressDb" class="anchorToMember"></a> <span class="permalink"><a href="../../../../org/bitcoins/testkit/wallet/WalletTestUtil$.html#getNestedSegwitAddressDb(account:org.bitcoins.core.api.wallet.db.AccountDb):org.bitcoins.core.api.wallet.db.AddressDb" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">def</span></span> <span class="symbol"><span class="name">getNestedSegwitAddressDb</span><span class="params">(<span name="account">account: <a href="../../core/api/wallet/db/AccountDb.html" name="org.bitcoins.core.api.wallet.db.AccountDb" id="org.bitcoins.core.api.wallet.db.AccountDb" class="extype">AccountDb</a></span>)</span><span class="result">: <a href="../../core/api/wallet/db/AddressDb.html" name="org.bitcoins.core.api.wallet.db.AddressDb" id="org.bitcoins.core.api.wallet.db.AddressDb" class="extype">AddressDb</a></span></span><p class="shortcomment cmt">Given an account returns a sample address</p></li><li class="indented0 " name="scala.AnyRef#hashCode" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="hashCode():Int" class="anchorToMember"></a> <span class="permalink"><a href="../../../../org/bitcoins/testkit/wallet/WalletTestUtil$.html#hashCode():Int" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">def</span></span> <span class="symbol"><span class="name">hashCode</span><span class="params">()</span><span class="result">: <a href="https://www.scala-lang.org/api/2.13.8/scala/Int.html#scala.Int" name="scala.Int" id="scala.Int" class="extype">Int</a></span></span><div class="fullcomment"><dl class="attributes block"><dt>Definition Classes</dt><dd>AnyRef → Any</dd><dt>Annotations</dt><dd><span class="name">@native</span><span class="args">()</span> </dd></dl></div></li><li class="indented0 " name="org.bitcoins.testkit.wallet.WalletTestUtil#hdCoinType" group="Ungrouped" fullComment="no" data-isabs="false" visbl="pub"><a id="hdCoinType:org.bitcoins.core.hd.HDCoinType" class="anchorToMember"></a><a id="hdCoinType:HDCoinType" class="anchorToMember"></a> <span class="permalink"><a href="../../../../org/bitcoins/testkit/wallet/WalletTestUtil$.html#hdCoinType:org.bitcoins.core.hd.HDCoinType" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">val</span></span> <span class="symbol"><span class="name">hdCoinType</span><span class="result">: <a href="../../core/hd/HDCoinType.html" name="org.bitcoins.core.hd.HDCoinType" id="org.bitcoins.core.hd.HDCoinType" class="extype">HDCoinType</a></span></span></li><li class="indented0 " name="org.bitcoins.testkit.wallet.WalletTestUtil#insertDummyIncomingTransaction" group="Ungrouped" fullComment="no" data-isabs="false" visbl="pub"><a id="insertDummyIncomingTransaction(daos:org.bitcoins.testkit.fixtures.WalletDAOs,utxo:org.bitcoins.core.api.wallet.db.SpendingInfoDb,confirmed:Boolean)(implicitec:scala.concurrent.ExecutionContext):scala.concurrent.Future[org.bitcoins.core.api.wallet.db.IncomingTransactionDb]" class="anchorToMember"></a><a id="insertDummyIncomingTransaction(WalletDAOs,SpendingInfoDb,Boolean)(ExecutionContext):Future[IncomingTransactionDb]" class="anchorToMember"></a> <span class="permalink"><a href="../../../../org/bitcoins/testkit/wallet/WalletTestUtil$.html#insertDummyIncomingTransaction(daos:org.bitcoins.testkit.fixtures.WalletDAOs,utxo:org.bitcoins.core.api.wallet.db.SpendingInfoDb,confirmed:Boolean)(implicitec:scala.concurrent.ExecutionContext):scala.concurrent.Future[org.bitcoins.core.api.wallet.db.IncomingTransactionDb]" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">def</span></span> <span class="symbol"><span class="name">insertDummyIncomingTransaction</span><span class="params">(<span name="daos">daos: <a href="../fixtures/WalletDAOs.html" name="org.bitcoins.testkit.fixtures.WalletDAOs" id="org.bitcoins.testkit.fixtures.WalletDAOs" class="extype">WalletDAOs</a></span>, <span name="utxo">utxo: <a href="../../core/api/wallet/db/SpendingInfoDb.html" name="org.bitcoins.core.api.wallet.db.SpendingInfoDb" id="org.bitcoins.core.api.wallet.db.SpendingInfoDb" class="extype">SpendingInfoDb</a></span>, <span name="confirmed">confirmed: <a href="https://www.scala-lang.org/api/2.13.8/scala/Boolean.html#scala.Boolean" name="scala.Boolean" id="scala.Boolean" class="extype">Boolean</a> = <span class="symbol">true</span></span>)</span><span class="params">(<span class="implicit">implicit </span><span name="ec">ec: <a href="https://www.scala-lang.org/api/2.13.8/scala/concurrent/ExecutionContext.html#scala.concurrent.ExecutionContext" name="scala.concurrent.ExecutionContext" id="scala.concurrent.ExecutionContext" class="extype">ExecutionContext</a></span>)</span><span class="result">: <a href="https://www.scala-lang.org/api/2.13.8/scala/concurrent/Future.html#scala.concurrent.Future" name="scala.concurrent.Future" id="scala.concurrent.Future" class="extype">Future</a>[<a href="../../core/api/wallet/db/IncomingTransactionDb.html" name="org.bitcoins.core.api.wallet.db.IncomingTransactionDb" id="org.bitcoins.core.api.wallet.db.IncomingTransactionDb" class="extype">IncomingTransactionDb</a>]</span></span></li><li class="indented0 " name="org.bitcoins.testkit.wallet.WalletTestUtil#insertLegacyUTXO" group="Ungrouped" fullComment="no" data-isabs="false" visbl="pub"><a id="insertLegacyUTXO(daos:org.bitcoins.testkit.fixtures.WalletDAOs,state:org.bitcoins.core.wallet.utxo.TxoState)(implicitec:scala.concurrent.ExecutionContext):scala.concurrent.Future[org.bitcoins.core.api.wallet.db.LegacySpendingInfo]" class="anchorToMember"></a><a id="insertLegacyUTXO(WalletDAOs,TxoState)(ExecutionContext):Future[LegacySpendingInfo]" class="anchorToMember"></a> <span class="permalink"><a href="../../../../org/bitcoins/testkit/wallet/WalletTestUtil$.html#insertLegacyUTXO(daos:org.bitcoins.testkit.fixtures.WalletDAOs,state:org.bitcoins.core.wallet.utxo.TxoState)(implicitec:scala.concurrent.ExecutionContext):scala.concurrent.Future[org.bitcoins.core.api.wallet.db.LegacySpendingInfo]" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">def</span></span> <span class="symbol"><span class="name">insertLegacyUTXO</span><span class="params">(<span name="daos">daos: <a href="../fixtures/WalletDAOs.html" name="org.bitcoins.testkit.fixtures.WalletDAOs" id="org.bitcoins.testkit.fixtures.WalletDAOs" class="extype">WalletDAOs</a></span>, <span name="state">state: <a href="../../core/wallet/utxo/TxoState.html" name="org.bitcoins.core.wallet.utxo.TxoState" id="org.bitcoins.core.wallet.utxo.TxoState" class="extype">TxoState</a></span>)</span><span class="params">(<span class="implicit">implicit </span><span name="ec">ec: <a href="https://www.scala-lang.org/api/2.13.8/scala/concurrent/ExecutionContext.html#scala.concurrent.ExecutionContext" name="scala.concurrent.ExecutionContext" id="scala.concurrent.ExecutionContext" class="extype">ExecutionContext</a></span>)</span><span class="result">: <a href="https://www.scala-lang.org/api/2.13.8/scala/concurrent/Future.html#scala.concurrent.Future" name="scala.concurrent.Future" id="scala.concurrent.Future" class="extype">Future</a>[<a href="../../core/api/wallet/db/LegacySpendingInfo.html" name="org.bitcoins.core.api.wallet.db.LegacySpendingInfo" id="org.bitcoins.core.api.wallet.db.LegacySpendingInfo" class="extype">LegacySpendingInfo</a>]</span></span><p class="shortcomment cmt">Inserts an account, address and finally a UTXO</p></li><li class="indented0 " name="org.bitcoins.testkit.wallet.WalletTestUtil#insertNestedSegWitUTXO" group="Ungrouped" fullComment="no" data-isabs="false" visbl="pub"><a id="insertNestedSegWitUTXO(daos:org.bitcoins.testkit.fixtures.WalletDAOs,state:org.bitcoins.core.wallet.utxo.TxoState)(implicitec:scala.concurrent.ExecutionContext):scala.concurrent.Future[org.bitcoins.core.api.wallet.db.NestedSegwitV0SpendingInfo]" class="anchorToMember"></a><a id="insertNestedSegWitUTXO(WalletDAOs,TxoState)(ExecutionContext):Future[NestedSegwitV0SpendingInfo]" class="anchorToMember"></a> <span class="permalink"><a href="../../../../org/bitcoins/testkit/wallet/WalletTestUtil$.html#insertNestedSegWitUTXO(daos:org.bitcoins.testkit.fixtures.WalletDAOs,state:org.bitcoins.core.wallet.utxo.TxoState)(implicitec:scala.concurrent.ExecutionContext):scala.concurrent.Future[org.bitcoins.core.api.wallet.db.NestedSegwitV0SpendingInfo]" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">def</span></span> <span class="symbol"><span class="name">insertNestedSegWitUTXO</span><span class="params">(<span name="daos">daos: <a href="../fixtures/WalletDAOs.html" name="org.bitcoins.testkit.fixtures.WalletDAOs" id="org.bitcoins.testkit.fixtures.WalletDAOs" class="extype">WalletDAOs</a></span>, <span name="state">state: <a href="../../core/wallet/utxo/TxoState.html" name="org.bitcoins.core.wallet.utxo.TxoState" id="org.bitcoins.core.wallet.utxo.TxoState" class="extype">TxoState</a></span>)</span><span class="params">(<span class="implicit">implicit </span><span name="ec">ec: <a href="https://www.scala-lang.org/api/2.13.8/scala/concurrent/ExecutionContext.html#scala.concurrent.ExecutionContext" name="scala.concurrent.ExecutionContext" id="scala.concurrent.ExecutionContext" class="extype">ExecutionContext</a></span>)</span><span class="result">: <a href="https://www.scala-lang.org/api/2.13.8/scala/concurrent/Future.html#scala.concurrent.Future" name="scala.concurrent.Future" id="scala.concurrent.Future" class="extype">Future</a>[<a href="../../core/api/wallet/db/NestedSegwitV0SpendingInfo.html" name="org.bitcoins.core.api.wallet.db.NestedSegwitV0SpendingInfo" id="org.bitcoins.core.api.wallet.db.NestedSegwitV0SpendingInfo" class="extype">NestedSegwitV0SpendingInfo</a>]</span></span><p class="shortcomment cmt">Inserts an account, address and finally a UTXO</p></li><li class="indented0 " name="org.bitcoins.testkit.wallet.WalletTestUtil#insertSegWitUTXO" group="Ungrouped" fullComment="no" data-isabs="false" visbl="pub"><a id="insertSegWitUTXO(daos:org.bitcoins.testkit.fixtures.WalletDAOs,state:org.bitcoins.core.wallet.utxo.TxoState)(implicitec:scala.concurrent.ExecutionContext):scala.concurrent.Future[org.bitcoins.core.api.wallet.db.SegwitV0SpendingInfo]" class="anchorToMember"></a><a id="insertSegWitUTXO(WalletDAOs,TxoState)(ExecutionContext):Future[SegwitV0SpendingInfo]" class="anchorToMember"></a> <span class="permalink"><a href="../../../../org/bitcoins/testkit/wallet/WalletTestUtil$.html#insertSegWitUTXO(daos:org.bitcoins.testkit.fixtures.WalletDAOs,state:org.bitcoins.core.wallet.utxo.TxoState)(implicitec:scala.concurrent.ExecutionContext):scala.concurrent.Future[org.bitcoins.core.api.wallet.db.SegwitV0SpendingInfo]" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">def</span></span> <span class="symbol"><span class="name">insertSegWitUTXO</span><span class="params">(<span name="daos">daos: <a href="../fixtures/WalletDAOs.html" name="org.bitcoins.testkit.fixtures.WalletDAOs" id="org.bitcoins.testkit.fixtures.WalletDAOs" class="extype">WalletDAOs</a></span>, <span name="state">state: <a href="../../core/wallet/utxo/TxoState.html" name="org.bitcoins.core.wallet.utxo.TxoState" id="org.bitcoins.core.wallet.utxo.TxoState" class="extype">TxoState</a></span>)</span><span class="params">(<span class="implicit">implicit </span><span name="ec">ec: <a href="https://www.scala-lang.org/api/2.13.8/scala/concurrent/ExecutionContext.html#scala.concurrent.ExecutionContext" name="scala.concurrent.ExecutionContext" id="scala.concurrent.ExecutionContext" class="extype">ExecutionContext</a></span>)</span><span class="result">: <a href="https://www.scala-lang.org/api/2.13.8/scala/concurrent/Future.html#scala.concurrent.Future" name="scala.concurrent.Future" id="scala.concurrent.Future" class="extype">Future</a>[<a href="../../core/api/wallet/db/SegwitV0SpendingInfo.html" name="org.bitcoins.core.api.wallet.db.SegwitV0SpendingInfo" id="org.bitcoins.core.api.wallet.db.SegwitV0SpendingInfo" class="extype">SegwitV0SpendingInfo</a>]</span></span><p class="shortcomment cmt">Inserts an account, address and finally a UTXO</p></li><li class="indented0 " name="org.bitcoins.testkit.wallet.WalletTestUtil#isCloseEnough" group="Ungrouped" fullComment="no" data-isabs="false" visbl="pub"><a id="isCloseEnough(first:org.bitcoins.core.currency.CurrencyUnit,second:org.bitcoins.core.currency.CurrencyUnit,delta:org.bitcoins.core.currency.CurrencyUnit):Boolean" class="anchorToMember"></a><a id="isCloseEnough(CurrencyUnit,CurrencyUnit,CurrencyUnit):Boolean" class="anchorToMember"></a> <span class="permalink"><a href="../../../../org/bitcoins/testkit/wallet/WalletTestUtil$.html#isCloseEnough(first:org.bitcoins.core.currency.CurrencyUnit,second:org.bitcoins.core.currency.CurrencyUnit,delta:org.bitcoins.core.currency.CurrencyUnit):Boolean" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">def</span></span> <span class="symbol"><span class="name">isCloseEnough</span><span class="params">(<span name="first">first: <a href="../../core/currency/CurrencyUnit.html" name="org.bitcoins.core.currency.CurrencyUnit" id="org.bitcoins.core.currency.CurrencyUnit" class="extype">CurrencyUnit</a></span>, <span name="second">second: <a href="../../core/currency/CurrencyUnit.html" name="org.bitcoins.core.currency.CurrencyUnit" id="org.bitcoins.core.currency.CurrencyUnit" class="extype">CurrencyUnit</a></span>, <span name="delta">delta: <a href="../../core/currency/CurrencyUnit.html" name="org.bitcoins.core.currency.CurrencyUnit" id="org.bitcoins.core.currency.CurrencyUnit" class="extype">CurrencyUnit</a> = <span class="symbol"><span class="name"><a href="../../../index.html">300.sats</a></span></span></span>)</span><span class="result">: <a href="https://www.scala-lang.org/api/2.13.8/scala/Boolean.html#scala.Boolean" name="scala.Boolean" id="scala.Boolean" class="extype">Boolean</a></span></span><p class="shortcomment cmt">Checks that the given values are the same-ish, save for fee-level deviations</p></li><li class="indented0 " name="org.bitcoins.testkit.wallet.WalletTestUtil#isFeeRateCloseEnough" group="Ungrouped" fullComment="no" data-isabs="false" visbl="pub"><a id="isFeeRateCloseEnough(outgoingTx:org.bitcoins.core.api.wallet.db.OutgoingTransactionDb):Boolean" class="anchorToMember"></a><a id="isFeeRateCloseEnough(OutgoingTransactionDb):Boolean" class="anchorToMember"></a> <span class="permalink"><a href="../../../../org/bitcoins/testkit/wallet/WalletTestUtil$.html#isFeeRateCloseEnough(outgoingTx:org.bitcoins.core.api.wallet.db.OutgoingTransactionDb):Boolean" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">def</span></span> <span class="symbol"><span class="name">isFeeRateCloseEnough</span><span class="params">(<span name="outgoingTx">outgoingTx: <a href="../../core/api/wallet/db/OutgoingTransactionDb.html" name="org.bitcoins.core.api.wallet.db.OutgoingTransactionDb" id="org.bitcoins.core.api.wallet.db.OutgoingTransactionDb" class="extype">OutgoingTransactionDb</a></span>)</span><span class="result">: <a href="https://www.scala-lang.org/api/2.13.8/scala/Boolean.html#scala.Boolean" name="scala.Boolean" id="scala.Boolean" class="extype">Boolean</a></span></span></li><li class="indented0 " name="scala.Any#isInstanceOf" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="isInstanceOf[T0]:Boolean" class="anchorToMember"></a> <span class="permalink"><a href="../../../../org/bitcoins/testkit/wallet/WalletTestUtil$.html#isInstanceOf[T0]:Boolean" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier">final </span> <span class="kind">def</span></span> <span class="symbol"><span class="name">isInstanceOf</span><span class="tparams">[<span name="T0">T0</span>]</span><span class="result">: <a href="https://www.scala-lang.org/api/2.13.8/scala/Boolean.html#scala.Boolean" name="scala.Boolean" id="scala.Boolean" class="extype">Boolean</a></span></span><div class="fullcomment"><dl class="attributes block"><dt>Definition Classes</dt><dd>Any</dd></dl></div></li><li class="indented0 " name="scala.AnyRef#ne" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="ne(x$1:AnyRef):Boolean" class="anchorToMember"></a><a id="ne(AnyRef):Boolean" class="anchorToMember"></a> <span class="permalink"><a href="../../../../org/bitcoins/testkit/wallet/WalletTestUtil$.html#ne(x$1:AnyRef):Boolean" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier">final </span> <span class="kind">def</span></span> <span class="symbol"><span class="name">ne</span><span class="params">(<span name="arg0">arg0: <a href="../../../../scala/index.html#AnyRef=Object" name="scala.AnyRef" id="scala.AnyRef" class="extmbr">AnyRef</a></span>)</span><span class="result">: <a href="https://www.scala-lang.org/api/2.13.8/scala/Boolean.html#scala.Boolean" name="scala.Boolean" id="scala.Boolean" class="extype">Boolean</a></span></span><div class="fullcomment"><dl class="attributes block"><dt>Definition Classes</dt><dd>AnyRef</dd></dl></div></li><li class="indented0 " name="org.bitcoins.testkit.wallet.WalletTestUtil#nestedSegWitAccountDb" group="Ungrouped" fullComment="no" data-isabs="false" visbl="pub"><a id="nestedSegWitAccountDb:org.bitcoins.core.api.wallet.db.AccountDb" class="anchorToMember"></a><a id="nestedSegWitAccountDb:AccountDb" class="anchorToMember"></a> <span class="permalink"><a href="../../../../org/bitcoins/testkit/wallet/WalletTestUtil$.html#nestedSegWitAccountDb:org.bitcoins.core.api.wallet.db.AccountDb" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">def</span></span> <span class="symbol"><span class="name">nestedSegWitAccountDb</span><span class="result">: <a href="../../core/api/wallet/db/AccountDb.html" name="org.bitcoins.core.api.wallet.db.AccountDb" id="org.bitcoins.core.api.wallet.db.AccountDb" class="extype">AccountDb</a></span></span></li><li class="indented0 " name="org.bitcoins.testkit.wallet.WalletTestUtil#networkParam" group="Ungrouped" fullComment="no" data-isabs="false" visbl="pub"><a id="networkParam:org.bitcoins.core.config.RegTest.type" class="anchorToMember"></a><a id="networkParam:RegTest.type" class="anchorToMember"></a> <span class="permalink"><a href="../../../../org/bitcoins/testkit/wallet/WalletTestUtil$.html#networkParam:org.bitcoins.core.config.RegTest.type" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">val</span></span> <span class="symbol"><span class="name">networkParam</span><span class="result">: <a href="../../core/config/RegTest$.html" name="org.bitcoins.core.config.RegTest" id="org.bitcoins.core.config.RegTest" class="extype">RegTest</a>.type</span></span></li><li class="indented0 " name="scala.AnyRef#notify" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="notify():Unit" class="anchorToMember"></a> <span class="permalink"><a href="../../../../org/bitcoins/testkit/wallet/WalletTestUtil$.html#notify():Unit" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier">final </span> <span class="kind">def</span></span> <span class="symbol"><span class="name">notify</span><span class="params">()</span><span class="result">: <a href="https://www.scala-lang.org/api/2.13.8/scala/Unit.html#scala.Unit" name="scala.Unit" id="scala.Unit" class="extype">Unit</a></span></span><div class="fullcomment"><dl class="attributes block"><dt>Definition Classes</dt><dd>AnyRef</dd><dt>Annotations</dt><dd><span class="name">@native</span><span class="args">()</span> </dd></dl></div></li><li class="indented0 " name="scala.AnyRef#notifyAll" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="notifyAll():Unit" class="anchorToMember"></a> <span class="permalink"><a href="../../../../org/bitcoins/testkit/wallet/WalletTestUtil$.html#notifyAll():Unit" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier">final </span> <span class="kind">def</span></span> <span class="symbol"><span class="name">notifyAll</span><span class="params">()</span><span class="result">: <a href="https://www.scala-lang.org/api/2.13.8/scala/Unit.html#scala.Unit" name="scala.Unit" id="scala.Unit" class="extype">Unit</a></span></span><div class="fullcomment"><dl class="attributes block"><dt>Definition Classes</dt><dd>AnyRef</dd><dt>Annotations</dt><dd><span class="name">@native</span><span class="args">()</span> </dd></dl></div></li><li class="indented0 " name="org.bitcoins.testkit.wallet.WalletTestUtil#randomTXID" group="Ungrouped" fullComment="no" data-isabs="false" visbl="pub"><a id="randomTXID:org.bitcoins.crypto.DoubleSha256DigestBE" class="anchorToMember"></a><a id="randomTXID:DoubleSha256DigestBE" class="anchorToMember"></a> <span class="permalink"><a href="../../../../org/bitcoins/testkit/wallet/WalletTestUtil$.html#randomTXID:org.bitcoins.crypto.DoubleSha256DigestBE" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">def</span></span> <span class="symbol"><span class="name">randomTXID</span><span class="result">: <a href="../../crypto/DoubleSha256DigestBE.html" name="org.bitcoins.crypto.DoubleSha256DigestBE" id="org.bitcoins.crypto.DoubleSha256DigestBE" class="extype">DoubleSha256DigestBE</a></span></span></li><li class="indented0 " name="org.bitcoins.testkit.wallet.WalletTestUtil#sampleLegacyPath" group="Ungrouped" fullComment="no" data-isabs="false" visbl="pub"><a id="sampleLegacyPath:org.bitcoins.core.hd.LegacyHDPath" class="anchorToMember"></a><a id="sampleLegacyPath:LegacyHDPath" class="anchorToMember"></a> <span class="permalink"><a href="../../../../org/bitcoins/testkit/wallet/WalletTestUtil$.html#sampleLegacyPath:org.bitcoins.core.hd.LegacyHDPath" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">lazy val</span></span> <span class="symbol"><span class="name">sampleLegacyPath</span><span class="result">: <a href="../../core/hd/LegacyHDPath.html" name="org.bitcoins.core.hd.LegacyHDPath" id="org.bitcoins.core.hd.LegacyHDPath" class="extype">LegacyHDPath</a></span></span><p class="shortcomment cmt">Sample legacy HD path</p></li><li class="indented0 " name="org.bitcoins.testkit.wallet.WalletTestUtil#sampleLegacyUTXO" group="Ungrouped" fullComment="no" data-isabs="false" visbl="pub"><a id="sampleLegacyUTXO(spk:org.bitcoins.core.protocol.script.ScriptPubKey,state:org.bitcoins.core.wallet.utxo.TxoState):org.bitcoins.core.api.wallet.db.LegacySpendingInfo" class="anchorToMember"></a><a id="sampleLegacyUTXO(ScriptPubKey,TxoState):LegacySpendingInfo" class="anchorToMember"></a> <span class="permalink"><a href="../../../../org/bitcoins/testkit/wallet/WalletTestUtil$.html#sampleLegacyUTXO(spk:org.bitcoins.core.protocol.script.ScriptPubKey,state:org.bitcoins.core.wallet.utxo.TxoState):org.bitcoins.core.api.wallet.db.LegacySpendingInfo" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">def</span></span> <span class="symbol"><span class="name">sampleLegacyUTXO</span><span class="params">(<span name="spk">spk: <a href="../../core/protocol/script/ScriptPubKey.html" name="org.bitcoins.core.protocol.script.ScriptPubKey" id="org.bitcoins.core.protocol.script.ScriptPubKey" class="extype">ScriptPubKey</a></span>, <span name="state">state: <a href="../../core/wallet/utxo/TxoState.html" name="org.bitcoins.core.wallet.utxo.TxoState" id="org.bitcoins.core.wallet.utxo.TxoState" class="extype">TxoState</a></span>)</span><span class="result">: <a href="../../core/api/wallet/db/LegacySpendingInfo.html" name="org.bitcoins.core.api.wallet.db.LegacySpendingInfo" id="org.bitcoins.core.api.wallet.db.LegacySpendingInfo" class="extype">LegacySpendingInfo</a></span></span></li><li class="indented0 " name="org.bitcoins.testkit.wallet.WalletTestUtil#sampleMnemonic" group="Ungrouped" fullComment="no" data-isabs="false" visbl="pub"><a id="sampleMnemonic:org.bitcoins.core.crypto.MnemonicCode" class="anchorToMember"></a><a id="sampleMnemonic:MnemonicCode" class="anchorToMember"></a> <span class="permalink"><a href="../../../../org/bitcoins/testkit/wallet/WalletTestUtil$.html#sampleMnemonic:org.bitcoins.core.crypto.MnemonicCode" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">lazy val</span></span> <span class="symbol"><span class="name">sampleMnemonic</span><span class="result">: <a href="../../core/crypto/MnemonicCode.html" name="org.bitcoins.core.crypto.MnemonicCode" id="org.bitcoins.core.crypto.MnemonicCode" class="extype">MnemonicCode</a></span></span><p class="shortcomment cmt">Useful if you want wallet test runs
To use the same key values each time
</p></li><li class="indented0 " name="org.bitcoins.testkit.wallet.WalletTestUtil#sampleNestedSegwitPath" group="Ungrouped" fullComment="no" data-isabs="false" visbl="pub"><a id="sampleNestedSegwitPath:org.bitcoins.core.hd.NestedSegWitHDPath" class="anchorToMember"></a><a id="sampleNestedSegwitPath:NestedSegWitHDPath" class="anchorToMember"></a> <span class="permalink"><a href="../../../../org/bitcoins/testkit/wallet/WalletTestUtil$.html#sampleNestedSegwitPath:org.bitcoins.core.hd.NestedSegWitHDPath" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">lazy val</span></span> <span class="symbol"><span class="name">sampleNestedSegwitPath</span><span class="result">: <a href="../../core/hd/NestedSegWitHDPath.html" name="org.bitcoins.core.hd.NestedSegWitHDPath" id="org.bitcoins.core.hd.NestedSegWitHDPath" class="extype">NestedSegWitHDPath</a></span></span></li><li class="indented0 " name="org.bitcoins.testkit.wallet.WalletTestUtil#sampleNestedSegwitUTXO" group="Ungrouped" fullComment="no" data-isabs="false" visbl="pub"><a id="sampleNestedSegwitUTXO(ecPublicKey:org.bitcoins.crypto.ECPublicKey,state:org.bitcoins.core.wallet.utxo.TxoState):org.bitcoins.core.api.wallet.db.NestedSegwitV0SpendingInfo" class="anchorToMember"></a><a id="sampleNestedSegwitUTXO(ECPublicKey,TxoState):NestedSegwitV0SpendingInfo" class="anchorToMember"></a> <span class="permalink"><a href="../../../../org/bitcoins/testkit/wallet/WalletTestUtil$.html#sampleNestedSegwitUTXO(ecPublicKey:org.bitcoins.crypto.ECPublicKey,state:org.bitcoins.core.wallet.utxo.TxoState):org.bitcoins.core.api.wallet.db.NestedSegwitV0SpendingInfo" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">def</span></span> <span class="symbol"><span class="name">sampleNestedSegwitUTXO</span><span class="params">(<span name="ecPublicKey">ecPublicKey: <a href="../../crypto/ECPublicKey.html" name="org.bitcoins.crypto.ECPublicKey" id="org.bitcoins.crypto.ECPublicKey" class="extype">ECPublicKey</a></span>, <span name="state">state: <a href="../../core/wallet/utxo/TxoState.html" name="org.bitcoins.core.wallet.utxo.TxoState" id="org.bitcoins.core.wallet.utxo.TxoState" class="extype">TxoState</a></span>)</span><span class="result">: <a href="../../core/api/wallet/db/NestedSegwitV0SpendingInfo.html" name="org.bitcoins.core.api.wallet.db.NestedSegwitV0SpendingInfo" id="org.bitcoins.core.api.wallet.db.NestedSegwitV0SpendingInfo" class="extype">NestedSegwitV0SpendingInfo</a></span></span></li><li class="indented0 " name="org.bitcoins.testkit.wallet.WalletTestUtil#sampleSegwitPath" group="Ungrouped" fullComment="no" data-isabs="false" visbl="pub"><a id="sampleSegwitPath:org.bitcoins.core.hd.SegWitHDPath" class="anchorToMember"></a><a id="sampleSegwitPath:SegWitHDPath" class="anchorToMember"></a> <span class="permalink"><a href="../../../../org/bitcoins/testkit/wallet/WalletTestUtil$.html#sampleSegwitPath:org.bitcoins.core.hd.SegWitHDPath" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">lazy val</span></span> <span class="symbol"><span class="name">sampleSegwitPath</span><span class="result">: <a href="../../core/hd/SegWitHDPath.html" name="org.bitcoins.core.hd.SegWitHDPath" id="org.bitcoins.core.hd.SegWitHDPath" class="extype">SegWitHDPath</a></span></span></li><li class="indented0 " name="org.bitcoins.testkit.wallet.WalletTestUtil#sampleSegwitUTXO" group="Ungrouped" fullComment="no" data-isabs="false" visbl="pub"><a id="sampleSegwitUTXO(spk:org.bitcoins.core.protocol.script.ScriptPubKey,state:org.bitcoins.core.wallet.utxo.TxoState):org.bitcoins.core.api.wallet.db.SegwitV0SpendingInfo" class="anchorToMember"></a><a id="sampleSegwitUTXO(ScriptPubKey,TxoState):SegwitV0SpendingInfo" class="anchorToMember"></a> <span class="permalink"><a href="../../../../org/bitcoins/testkit/wallet/WalletTestUtil$.html#sampleSegwitUTXO(spk:org.bitcoins.core.protocol.script.ScriptPubKey,state:org.bitcoins.core.wallet.utxo.TxoState):org.bitcoins.core.api.wallet.db.SegwitV0SpendingInfo" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">def</span></span> <span class="symbol"><span class="name">sampleSegwitUTXO</span><span class="params">(<span name="spk">spk: <a href="../../core/protocol/script/ScriptPubKey.html" name="org.bitcoins.core.protocol.script.ScriptPubKey" id="org.bitcoins.core.protocol.script.ScriptPubKey" class="extype">ScriptPubKey</a></span>, <span name="state">state: <a href="../../core/wallet/utxo/TxoState.html" name="org.bitcoins.core.wallet.utxo.TxoState" id="org.bitcoins.core.wallet.utxo.TxoState" class="extype">TxoState</a></span>)</span><span class="result">: <a href="../../core/api/wallet/db/SegwitV0SpendingInfo.html" name="org.bitcoins.core.api.wallet.db.SegwitV0SpendingInfo" id="org.bitcoins.core.api.wallet.db.SegwitV0SpendingInfo" class="extype">SegwitV0SpendingInfo</a></span></span></li><li class="indented0 " name="org.bitcoins.testkit.wallet.WalletTestUtil#sampleTransaction" group="Ungrouped" fullComment="no" data-isabs="false" visbl="pub"><a id="sampleTransaction:org.bitcoins.core.protocol.transaction.Transaction" class="anchorToMember"></a><a id="sampleTransaction:Transaction" class="anchorToMember"></a> <span class="permalink"><a href="../../../../org/bitcoins/testkit/wallet/WalletTestUtil$.html#sampleTransaction:org.bitcoins.core.protocol.transaction.Transaction" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">lazy val</span></span> <span class="symbol"><span class="name">sampleTransaction</span><span class="result">: <a href="../../core/protocol/transaction/Transaction.html" name="org.bitcoins.core.protocol.transaction.Transaction" id="org.bitcoins.core.protocol.transaction.Transaction" class="extype">Transaction</a></span></span></li><li class="indented0 " name="scala.AnyRef#synchronized" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="synchronized[T0](x$1:=&gt;T0):T0" class="anchorToMember"></a><a id="synchronized[T0](=&gt;T0):T0" class="anchorToMember"></a> <span class="permalink"><a href="../../../../org/bitcoins/testkit/wallet/WalletTestUtil$.html#synchronized[T0](x$1:=&gt;T0):T0" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier">final </span> <span class="kind">def</span></span> <span class="symbol"><span class="name">synchronized</span><span class="tparams">[<span name="T0">T0</span>]</span><span class="params">(<span name="arg0">arg0: =&gt; <span name="java.lang.AnyRef.synchronized.T0" class="extype">T0</span></span>)</span><span class="result">: <span name="java.lang.AnyRef.synchronized.T0" class="extype">T0</span></span></span><div class="fullcomment"><dl class="attributes block"><dt>Definition Classes</dt><dd>AnyRef</dd></dl></div></li><li class="indented0 " name="scala.AnyRef#toString" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="toString():String" class="anchorToMember"></a> <span class="permalink"><a href="../../../../org/bitcoins/testkit/wallet/WalletTestUtil$.html#toString():String" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier"></span> <span class="kind">def</span></span> <span class="symbol"><span class="name">toString</span><span class="params">()</span><span class="result">: <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java/lang/String.html#java.lang.String" name="java.lang.String" id="java.lang.String" class="extype">String</a></span></span><div class="fullcomment"><dl class="attributes block"><dt>Definition Classes</dt><dd>AnyRef → Any</dd></dl></div></li><li class="indented0 " name="scala.AnyRef#wait" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="wait():Unit" class="anchorToMember"></a> <span class="permalink"><a href="../../../../org/bitcoins/testkit/wallet/WalletTestUtil$.html#wait():Unit" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier">final </span> <span class="kind">def</span></span> <span class="symbol"><span class="name">wait</span><span class="params">()</span><span class="result">: <a href="https://www.scala-lang.org/api/2.13.8/scala/Unit.html#scala.Unit" name="scala.Unit" id="scala.Unit" class="extype">Unit</a></span></span><div class="fullcomment"><dl class="attributes block"><dt>Definition Classes</dt><dd>AnyRef</dd><dt>Annotations</dt><dd><span class="name">@throws</span><span class="args">(<span><span class="defval">classOf[java.lang.InterruptedException]</span></span>)</span> </dd></dl></div></li><li class="indented0 " name="scala.AnyRef#wait" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="wait(x$1:Long,x$2:Int):Unit" class="anchorToMember"></a><a id="wait(Long,Int):Unit" class="anchorToMember"></a> <span class="permalink"><a href="../../../../org/bitcoins/testkit/wallet/WalletTestUtil$.html#wait(x$1:Long,x$2:Int):Unit" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier">final </span> <span class="kind">def</span></span> <span class="symbol"><span class="name">wait</span><span class="params">(<span name="arg0">arg0: <a href="https://www.scala-lang.org/api/2.13.8/scala/Long.html#scala.Long" name="scala.Long" id="scala.Long" class="extype">Long</a></span>, <span name="arg1">arg1: <a href="https://www.scala-lang.org/api/2.13.8/scala/Int.html#scala.Int" name="scala.Int" id="scala.Int" class="extype">Int</a></span>)</span><span class="result">: <a href="https://www.scala-lang.org/api/2.13.8/scala/Unit.html#scala.Unit" name="scala.Unit" id="scala.Unit" class="extype">Unit</a></span></span><div class="fullcomment"><dl class="attributes block"><dt>Definition Classes</dt><dd>AnyRef</dd><dt>Annotations</dt><dd><span class="name">@throws</span><span class="args">(<span><span class="defval">classOf[java.lang.InterruptedException]</span></span>)</span> </dd></dl></div></li><li class="indented0 " name="scala.AnyRef#wait" group="Ungrouped" fullComment="yes" data-isabs="false" visbl="pub"><a id="wait(x$1:Long):Unit" class="anchorToMember"></a><a id="wait(Long):Unit" class="anchorToMember"></a> <span class="permalink"><a href="../../../../org/bitcoins/testkit/wallet/WalletTestUtil$.html#wait(x$1:Long):Unit" title="Permalink"><i class="material-icons"></i></a></span> <span class="modifier_kind"><span class="modifier">final </span> <span class="kind">def</span></span> <span class="symbol"><span class="name">wait</span><span class="params">(<span name="arg0">arg0: <a href="https://www.scala-lang.org/api/2.13.8/scala/Long.html#scala.Long" name="scala.Long" id="scala.Long" class="extype">Long</a></span>)</span><span class="result">: <a href="https://www.scala-lang.org/api/2.13.8/scala/Unit.html#scala.Unit" name="scala.Unit" id="scala.Unit" class="extype">Unit</a></span></span><div class="fullcomment"><dl class="attributes block"><dt>Definition Classes</dt><dd>AnyRef</dd><dt>Annotations</dt><dd><span class="name">@throws</span><span class="args">(<span><span class="defval">classOf[java.lang.InterruptedException]</span></span>)</span> <span class="name">@native</span><span class="args">()</span> </dd></dl></div></li></ol></div></div><div id="inheritedMembers"><div name="scala.AnyRef" class="parent"><h3>Inherited from <a href="../../../../scala/index.html#AnyRef=Object" name="scala.AnyRef" id="scala.AnyRef" class="extmbr">AnyRef</a></h3></div><div name="scala.Any" class="parent"><h3>Inherited from <a href="https://www.scala-lang.org/api/2.13.8/scala/Any.html#scala.Any" name="scala.Any" id="scala.Any" class="extype">Any</a></h3></div></div><div id="groupedMembers"><div name="Ungrouped" class="group"><h3>Ungrouped</h3></div></div></div><div id="tooltip"></div><div id="footer"></div></body></div></div></div></body></html>