A decentralized bitcoin exchange network
Go to file
ghubstan 39cda43208
Add LongRunningTradesTest
This new api testcase can run long series' of regtest trades by looping
over modified TakeBuyBTCOfferTest and TakeSellBTCOfferTest cases.  The
purpose is to help reproduce problems and isolate bugs Bisq's core and
api layers.

LongRunningTradesTest is not enabled by default;  it will not run in a
default test environment (such a Travis CI).  Enviornment variable
LONG_RUNNING_TRADES_TEST_ENABLED must exist for the test to run.
The env variable can be set in a bash shell before running the test
case in a shell (using a gradle command), or the environment variable can
be set in an Intellij test launcher's Evironment variables field.

The modifed (short running) TakeBuyBTCOfferTest and TakeSellBTCOfferTest
cases run as before.

Changes include:

- Add static boolean isLongRunningTest to AbstractOfferTest.

- Add looping control Supplier maxTradeStateAndPhaseChecks to AbstractTradeTest.
  It uses the isLongRunningTest flag in the superclass to help define the
  wait times for trade state/phase changes during short and long running tests.

- Made AbstractTradeTest assert(true, trade.isDepositPublished) conditional upon
  isLongRunningTest value.  Long running trade test asserts have to be looser due
  to increasing latency of wallet, offer and trade operations in the server as the
  trade counts increase.

- Overload ApiTestCase#startSupportingApps with additional flag:
  startSupportingAppsInDebugMode. Default is false.  This makes
  starting background apps in debug mode a bit more convenient
  and self explanatory.
2021-03-19 21:21:02 +01:00
.github Protect priority issues from stale bot 2020-02-18 12:35:53 +01:00
.idea Rename :protodefintion subproject to :proto 2020-03-26 17:37:37 +01:00
apitest Add LongRunningTradesTest 2021-03-19 21:21:02 +01:00
assets/src Make codacy happy 2020-09-21 12:40:53 -03:00
cli/src Refactor takeoffer reply proto & ErrorMessageHandler 2021-03-19 19:38:03 +01:00
common/src Bump version number for v1.6.0 2021-03-18 19:19:26 +01:00
core Avoid NPE due to null fee while wrapping tx in TxInfo 2021-03-19 21:19:42 +01:00
daemon/src Refactor takeoffer reply proto & ErrorMessageHandler 2021-03-19 19:38:03 +01:00
desktop Bump version number for v1.6.0 2021-03-18 19:19:26 +01:00
docs Merge pull request #5248 from cd2357/tor-update-guide 2021-03-11 16:33:32 +01:00
gradle Bump netlayer and tor-binary versions 2021-02-26 17:20:01 +01:00
inventory/src/main Add v2 nodes to monitor 2021-01-11 23:34:55 -05:00
monitor Add NetworkFilter, remove BanList 2021-01-01 16:51:05 -05:00
p2p/src fix mailbox bootstrap issue 2021-03-02 14:34:03 -06:00
pricenode Field id strings for FeeService extracted to Config.java 2021-02-25 11:51:40 -06:00
proto/src/main/proto Refactor takeoffer reply proto & ErrorMessageHandler 2021-03-19 19:38:03 +01:00
relay Bump version number for v1.6.0 2021-03-18 19:19:26 +01:00
scripts Update install_java.sh 2020-12-03 22:49:50 +00:00
seednode Bump version number for v1.6.0 2021-03-18 19:19:26 +01:00
statsnode/src/main Remove Storage and FileManager from logback 2020-10-03 12:48:15 -05:00
.editorconfig Do not strip trailing whitespace in Git diffs 2020-01-10 19:48:26 +01:00
.gitattributes Track p2p data store files using Git LFS 2020-04-29 12:10:11 +02:00
.gitignore Git-ignore apitest dao-setup files 2021-01-28 14:21:30 -03:00
.travis.yml Remove Slack notification in travis build 2020-09-01 09:42:33 +02:00
build.gradle Bump version number for v1.6.0 2021-03-18 19:19:26 +01:00
CODEOWNERS Remove @cbeams as build and pricenode code owner 2020-06-28 11:23:36 +02:00
CONTRIBUTING.md Link to project management process 2020-06-17 13:24:18 +02:00
gradle.properties Increase Gradle HTTP timeouts from 30 => 120 seconds 2018-03-22 10:39:52 +01:00
gradlew Bump gradle wrapper to version 5.6.4 (#3627) 2019-11-18 09:31:58 +01:00
gradlew.bat Bump gradle wrapper to version 5.6.4 (#3627) 2019-11-18 09:31:58 +01:00
LICENSE add basic wallet, update nav buttons, move unused img 2014-04-24 16:55:55 +02:00
Makefile Update commands for mediator/refund agent 2021-03-17 00:26:25 -07:00
pull_request_template.md Added a Pull Request template 2019-11-27 13:46:54 +01:00
README.md jdk10 is no longer needed to build and run the test suite 2019-08-14 18:11:57 +02:00
settings.gradle Add inventory module 2020-10-23 01:17:32 -05:00

Bisq

Build Status

What is Bisq?

Bisq is a safe, private and decentralized way to exchange bitcoin for national currencies and other digital assets. Bisq uses peer-to-peer networking and multi-signature escrow to facilitate trading without a third party. Bisq is non-custodial and incorporates a human arbitration system to resolve disputes.

To learn more, see the doc and video at https://bisq.network/intro.

Get started using Bisq

Follow the step-by-step instructions at https://bisq.network/get-started.

Contribute to Bisq

See CONTRIBUTING.md and the developer docs.