Commit Graph

138 Commits

Author SHA1 Message Date
woodser
60fcda322e remove offers before tests complete 2023-02-25 08:17:51 -05:00
woodser
291e18f709 fix error sending keep alive request by resetting maker after restart 2023-02-25 08:17:51 -05:00
woodser
30dd997810 getMyOffers() does not require asset code 2023-02-25 08:17:51 -05:00
woodser
5a7ec350ca accountService.changePassword() requires old and new password 2023-02-22 08:56:11 -05:00
woodser
6719324d9e switch client to use await syntax instead of promise 2023-02-21 11:13:11 -05:00
woodser
3ddde6e671 test trades simultaneously using a thread pool instead of batches 2023-02-15 12:38:33 -05:00
woodser
1f126bfa30 expect arbitrator to update payout tx on confirm and unlock
default wallet refresh rate of 5000 ms, wait less time after make offer
2023-02-15 12:38:33 -05:00
napoly
e3f114eb66 fix payment account unique name test 2023-02-13 16:36:13 -05:00
napoly
3e637aa8c1 reject payment accounts with duplicate names 2023-02-13 10:13:19 -05:00
woodser
6c8c494f9f default wallet refresh rate of 5000 ms, wait less time after make offer 2023-02-11 16:47:02 -05:00
woodser
0862caae47 test completing trade from scheduled offer with and without dispute 2023-02-07 14:33:09 -05:00
woodser
9c075ba957 rename "payment started" to "payment sent" for consistency 2023-02-07 14:33:09 -05:00
woodser
39f510a7b3 update TradeInfo isDepositsConfirmed, isDepositsUnlocked() 2023-02-03 08:29:17 -05:00
woodser
2cfee9d1b1 add offline dispute resolution to CI tests 2023-01-26 08:30:06 -05:00
woodser
83d2a9123d test resolving dispute while traders go offline
remove duplicate state from TradeContext
2023-01-24 14:02:55 -05:00
duriancrepe
3465eb5ce6 removed restart of havenod on account delete or restore 2023-01-24 08:26:18 -05:00
woodser
173bb4a807 configure havenod log level in tests 2023-01-19 19:33:56 -05:00
woodser
6f179b3f79 award dispute payout based on actual security deposits
stopOnFailure=true by default
2023-01-19 19:33:56 -05:00
woodser
fb20c4b736 support stopOnFailure for batch trades 2023-01-18 06:56:40 -05:00
woodser
aa0f2c69bf use usd as default trade asset
wait to process network notifications after opening haveno app
2023-01-11 08:55:08 -05:00
woodser
54c6ce9575 fix ci test by waiting longer after deleting account 2023-01-11 08:54:53 -05:00
woodser
5ec93f53a1 update test name 2023-01-02 17:05:16 +00:00
woodser
7e76e83884 start seednode with monerod address 2022-12-24 18:32:10 +00:00
woodser
b2e315963f grpc offer info returns atomic units
add sanity checks tags
2022-12-24 18:32:10 +00:00
woodser
b9250210ce walletSyncPeriodMs and maxTimePeerNoticeMs are customizable per trade 2022-12-23 09:33:18 +00:00
woodser
e01eee18b6 fix resolve disputes test so it completes
increase CI timeout to 60 minutes
2022-12-21 08:37:06 +00:00
woodser
5fbeae0a07 expect key image polling within 20s on local
only test 4 trades at a time
2022-12-19 11:31:24 +00:00
woodser
5b7a7beafd only run CI tests, set fixed difficulty to 150 2022-12-16 19:15:26 +00:00
woodser
28d119c681 test enforcing trade limit over grpc 2022-12-16 09:25:18 +00:00
woodser
5d21478642 initialize blockchain to latest block type
remove whitespace
add tags for CI
add logging
2022-12-13 08:45:12 +00:00
woodser
b7c20e0d27 don't re-use ports after going offline 2022-12-04 14:38:35 +00:00
woodser
cbd3f614c0 executeTrades() runs in batches 2022-11-28 15:29:50 +00:00
woodser
619c2f5ead test payout tx state 2022-11-28 15:29:50 +00:00
woodser
428e22f7b1 must provide fixed price unless using market price 2022-11-26 22:28:51 +00:00
woodser
ae8d9a1839 use CashAddr format for Bitcoin Cash 2022-11-24 12:37:44 +00:00
woodser
ef2264c4fa test going offline while mining 2022-11-24 12:33:11 +00:00
napoly
891d6cce3f reject creating crypto payment account with invalid currency code or address 2022-11-24 11:34:49 +00:00
woodser
768c2158b3 test trade account payloads over grpc, support crypto account forms 2022-11-23 09:42:53 +00:00
woodser
b8d494da81 mark private members with @private to exclude from documentation 2022-11-07 08:26:57 -05:00
woodser
7b447022e6 test arbitration protocol refactor
test all (online) trade combinations with disputes
test added dispute states
print trade context and index on failure
improve caching to reduce calls to getBalances()
local test network uses daemon at 48081 by default
various cleanup
2022-11-07 08:26:57 -05:00
woodser
796f14c9ef test completed payout state 2022-10-27 08:06:39 -04:00
woodser
a382b18a6d support strict null checks and ignore .vscode 2022-10-27 08:06:39 -04:00
woodser
8fb88e8703
expect payout published at end of test (#143) 2022-10-02 14:41:54 -04:00
woodser
4b5f412fe1
refactor tests with unified trade configuration (#140) 2022-10-01 07:47:46 -04:00
woodser
161af65687 add time for schedule test 2022-09-24 08:48:37 -04:00
woodser
09200036b5 bump haveno version to v0.0.2 2022-09-21 10:33:29 -04:00
woodser
7438c4dbda test decrypted payment account info 2022-09-20 13:42:39 -04:00
woodser
1e9ba7fa6e test arbitrator closed trade 2022-09-20 13:42:39 -04:00
woodser
2f708ee60c test that trade completes after payment received 2022-09-18 10:52:34 -04:00
woodser
6f5d1a137b fix call to get available balance 2022-08-29 09:29:39 -04:00