bitcoin-s/docs
Chris Stewart 2287c6ced9 Implement caching of bitcoind in the walletTest,nodeTest, and partially bitcoindRpcTest project (#2792)
* Create CachedBitcoind, implement it in FundTransactionHandlingTest

* Add BaseWalletTest, extend it with BitcoinSWalletTest & BitcoinSWalletTestCachedBitcoind, add CachedBitcoinV19 and use it RescanHandlingTest

* Make ProcessBlockTest work with cached bitcoind

* Make trait for CachedBitcoindNewest for the newest version of bitcoind

* Make UTXOLifeCycleTest use cached bitcoind

* Add WalletBloom, WalletSyncTest to use cached bitcoinds

* Add WalletIntegrationTest

* Rework beforeAll() and afterAll() into the super trait like BaseWalletTest

* Add standlone BitcoindFixtures, use it in BitcoindBackendTest

* Use new BitcoindFixtures in BitcoindBlockPollingTest

* Introduce BaseNodeTest, start implementing the usage of cached bitcoinds in the nodeTest project

* Use cached bitcoind's with SpvNodeTest & SpvNodeWithWalletTest

* Fix bug on postgres with reusing database, upsert the genesis header rather than create it

* Get NeutrinoNode tests workign with cached bitcoinds

* Fix NeutrinoNodeWithWallet by destroying wallet state for Postgres

* Add teardown helper method for bitcoind

* Teardown chain project when using node fixtures since node is dependent upon the chain project.

* Turn off parallelExecution again

* Switch the parallelExecution flag to only be set on CI, so we can get better performance when running locally

* Start implementing BitcoindFixtures, use BitcoindFixturesCachedTriple on TestUtilRpcTest

* Fix compiler errors, begin implementing NodePair

* Refactor TestRpcUtilTest to use 2 bitcoinds rather than 2

* Reduce the number of bitcoinds that MultiWalletRpcTest needs from 3 -> 1

* Reduce number of bitcoinds used in WalletRpcTest from 3 -> 2

* Add some documentation

* Try to re-add parallelExecution

* Reduce the number of bitcoinds used in PsbtRpcTest from 3 -> 2

* Disable parallelExecution in Test again

* Make BitcoindV21RpcClientTest & BitcoindV20RpcClientTest reduce bitcoind usage from 2 -> 1

* Make BitcoindV19RpcClienttest reduce bitcoind usage from 2 -> 1

* Rework MempoolRpcTest to use fixtures, add BitcoindVersion to CachedBitcoindCollection

* Make sure clientAccumm has to be specified as a paramter now rather than filling in by default

* Begin parameterizing NodePair/NodeTriple to retain type information for the specific version of bitcoind that was used

* Don't implement version in super trait

* Fix docs

* Fix async issue in V21 test suite

* Append to vectors in CachedBitcoinCollection rather than replace

* Fix rebase issues

* Add scaladocs

* Fix BitcoindV18RpcClient address info test

* Implement fixtures in BitcoindV17RpcClientTest fixtures

* Cleanup v17 PsbtRpcTest

* Reduce bitcoind usage from 3 -> 1 in BitcoindV18RpcClientTest

* Remove abandon transaction test, this allows us to reduce the number of bitcoind's used in MempoolRpcTest from 3 -> 2

* Remove the requirement to inject  BitcoinSAsyncFixtureTest, add it in the test traits explicitly to make things easier. Also add explicit afterAll() method to tear down both the CachedBitcoind & BitcoinSAsyncFixtureTest

* Fix missing Await.result() in BitcoindRpcTest.afterAll()

* Rework MultiWalletRpcTest to use a NodePair

* Rework BlockchainRpcTest to use fixtures

* Rework Client start()/stop() methods. Now use an AtomicBoolean to indicate when a user has requested a client to start/stop rather than sending pings to bitcoind that can fail because the conneciton pool has been shutdown in test cases

* Try my luck with turning on parallelExecution in CI again

* Revert parallelExecution, now testes do not run in parallel on CI

* Only turn off parallelExecution for bitcoindRpcTest

* Adjust build to only have bitcoindRpcTest NOT in run parallel on mac, reduce number of blocks used in BitcoindRpcTestUtil.createNodeSequence

* Run less tests in the rpc test suite as that takes the longest, move them over to node/wallet/dlc test suite on mac osx CI

* Don't run eclair tests in parallel either

* Remove CachedBitcoind from BitcoinSWalletTest

* Fix async bug in test case

* Push to github to force re-run of CI

* Push to github to force re-run of CI

* Push to github to force re-run of CI
2021-03-19 06:37:53 -05:00
..
applications Update docs to use the latest docker image names (#2758) 2021-03-04 14:29:00 -06:00
chain Small cleanups on the chain docs (#2515) 2021-01-18 11:32:03 -06:00
config Change oracle db to have its own directory (#2667) 2021-02-18 12:44:48 -06:00
core Add testkit-core module (#2726) 2021-03-02 07:05:21 -06:00
crypto DLC + Adaptor Docs (#2552) 2021-02-02 13:33:46 -06:00
fee-provider Fee Provider Docs (#1641) 2020-07-08 10:22:59 -05:00
key-manager Add comment about using defaultAccountType (#2549) 2021-01-21 14:57:31 -06:00
node Implement caching of bitcoind in the walletTest,nodeTest, and partially bitcoindRpcTest project (#2792) 2021-03-19 06:37:53 -05:00
oracle Add signed outcome to getevent rpc, fix other small api bugs (#2757) 2021-03-08 10:55:47 -06:00
rpc Bump Eclair version (#2405) 2021-01-22 10:47:19 -06:00
secp256k1 Refactor crypto module to be compatible with Scala.js part 1 (#2719) 2021-02-27 05:58:20 -06:00
testkit Implement caching of bitcoind in the walletTest,nodeTest, and partially bitcoindRpcTest project (#2792) 2021-03-19 06:37:53 -05:00
wallet Hide chain api creation (#2569) 2021-02-02 09:14:02 -06:00
bips.md Add supported Bips docs (#2427) 2020-12-24 07:16:46 -06:00
contributing-website.md Setup Github Actions (#2319) 2020-12-07 13:35:22 -06:00
contributing.md Skip CI tests for docs PRs (#2435) 2020-12-29 08:07:15 -06:00
getting-setup.md Make it clear on the getting-setup.md page that this is only for development, you can find binaries in getting-started.md (#2759) 2021-03-05 06:10:29 -06:00
getting-started.md Make it clear on the getting-setup.md page that this is only for development, you can find binaries in getting-started.md (#2759) 2021-03-05 06:10:29 -06:00
security.md Add new GPG key (#1263) 2020-03-23 09:46:56 -05:00
windows-users.md New doc for Windows users (#572) 2019-07-08 15:01:23 -05:00