Commit Graph

1138 Commits

Author SHA1 Message Date
Přemek Vyhnal
3552fb77bd
run haveno_deps script on gradle build instead of from make (#230)
Closes #184

Maybe it would be "nicer" to download the binaries with a gradle task utilising gradle tasks' inputs and outputs but that's for someone more skilled with gradle
2022-02-06 11:37:47 -05:00
Přemek Vyhnal
17d109a15e
replace witness plugin with gradle dependency checksum verification (#223)
* replace witness plugin with gradle builtin dependency checksum verification

I noticed that a recent dependency change didn't needed checksum change. It was because the witness plugin only checked the listed checksums, not all the dependencies. If the dependency was not on the list, the new checksum was not verified.

Gradle now has its own verification mechanism, see https://docs.gradle.org/current/userguide/dependency_verification.html

After a dependency is added or a version is changed, the checksums could be regenerated using the following command.

```
gradle --write-verification-metadata sha256 help
````

 The help task is just used to discover as much as possible dependencies, and if subsequent builds fail with a verification error, you can re-execute generation with the appropriate tasks to "discover" more dependencies

 I verified that all the checksums from the removed file are present in the new one.

jcenter repository (used only for gradle shadow plugin) is replaced with gradlePluginPortal. jcenter is shutting down anyway and the checksums for shadow plugin and its dependencies were not added automatically to the xml file for some reason.

* add javadoc and source as trusted artifacts

Co-authored-by: woodser <woodser@protonmail.com>
2022-02-06 11:36:58 -05:00
erciccione
f264cdb244 haveno_deps.sh: point to testing3 monero binaries 2022-02-05 08:04:37 -05:00
Fritz Lumnitz
a3586fdef8 Add monero connections manager 2022-01-28 17:01:32 -05:00
erciccione
ed13047bf6 README: general updates 2022-01-24 11:15:02 -05:00
erciccione
6e9648af20 workflows: move coverage reports to their own action and remove from build.yml
codacy's github action will allow us to run checks also on pull requests (tested on my fork)
2022-01-20 14:17:59 -05:00
erciccione
c28e99a051 workflows: don't try to send coverage reports on windows bot 2022-01-20 13:16:34 -05:00
erciccione
6ea642555e send coverage results to codacy after every successful ci build 2022-01-20 11:29:11 -05:00
woodser
295e20bf04 update to monero-java 0.6.3 supporting set_daemon with authentication 2022-01-19 20:00:05 -05:00
premek
a7a515ec94 substitute jtorctl transitive dependency to resolve checksum issues
on jitpack versions can be built from git tags or commits. Tag 1.5 and commit 9b5ba2036b points to exactly the same code. Lets see if this change resolves the issues when version 2 versions 1.5 were cached somewhere with different checksums
2022-01-17 08:53:33 -05:00
woodser
2715e1bba8 support notification types: trade update, chat message, keep alive 2022-01-17 08:39:53 -05:00
premek
422267de79 FormattingUtilsTest locale fix
This test was failing sometimes (not consistently) on a system with non-en locale. GlobalSettings.setLocale is used in other tests like this
2022-01-14 16:34:12 -05:00
woodser
7b6b92d894 update to monero-java 0.6.0 with api updates & connection manager fixes 2022-01-14 16:33:56 -05:00
Fritz Lumnitz
800b309a4b Add notifications listener 2022-01-13 07:56:59 -05:00
Haveno
8332964ac5 add haveno's gpg key
to be used for official/sensitive communication instead of personal keys
2022-01-09 17:29:04 -05:00
woodser
9059974725 remove dependency on local BTC node
Co-authored-by: premek <1145361+premek@users.noreply.github.com>
2022-01-06 15:29:14 -05:00
woodser
1b78be689a maker waits for ack on sign offer request 2022-01-06 15:28:53 -05:00
woodser
253ef8fabe dispute agent registration uses host name and prevents re-registration 2022-01-06 15:27:07 -05:00
erciccione
2ed664c8cf workflows: update text of issue labeller 2022-01-06 08:45:36 -05:00
l0nelyc0w
c1699795e7 Add API functions to get wallet transfers and withdraw funds 2021-12-31 14:34:37 -05:00
woodser
8dc4f63ca8 update monero-java to 0.5.11 2021-12-31 11:02:39 -05:00
erciccione
ab21f3c2c1 docs/README: fix link to import-haveno.md 2021-12-21 07:36:06 -05:00
erciccione
06cfa8202d README: add bitcoin address and qrcode for btc donations 2021-12-21 07:28:03 -05:00
woodser
e8cc3d20f5 update more names from bisq* to haveno* 2021-12-20 11:47:17 -05:00
woodser
fae477fc51 relax grpc rate limits for getVersion() 2021-12-19 09:22:43 -05:00
woodser
ce538c5ca6 update copyright headers to Haveno 2021-12-16 13:33:12 -05:00
woodser
1be8e53ee9 rename classes and executables from Bisq* to Haveno* 2021-12-16 13:33:12 -05:00
woodser
7c9c35b1b8 improve error handling in protocol pipelines
support getTrades() from grpc api
consistently use timeouts in protocol pipelines
remove trade and repost offer on protocol errors
delete multisig wallet when trade removed
protocol advances on ack messages instead of network onArrived()
re-order protocol class methods to correct order
2021-12-15 13:19:05 -05:00
woodser
d2ddfad5bc add arbitrator-daemon to makefile 2021-12-15 09:09:28 -05:00
erciccione
7c2819c31a README: updates after new website and misc 2021-12-14 07:16:17 -05:00
woodser
dd68760f27 handle errors making or taking offers with insufficient funds 2021-12-08 06:24:35 -05:00
woodser
abfc0503fa update to monero-java v0.5.9 which supports monero-project v0.17.3.0
support `make funding-wallet` for api tests
2021-12-03 12:09:46 -05:00
woodser
1ea0db3f37 add instructions to rebase and squash commits 2021-12-03 12:09:35 -05:00
erciccione
1c94644276 deps: download and verify new monero binaries 2021-12-03 12:09:17 -05:00
woodser
523d7788e5 clarify instructions to open pull requests 2021-12-01 11:42:47 -05:00
woodser
abd6b36589 fix path and image in import-haveno.md 2021-11-23 07:59:52 -05:00
Randall Coding
c7cc810d47 Handle arbitrator giving all payout to one trader 2021-11-22 14:18:49 -05:00
woodser
1f7daac389 update instructions to update grpc client 2021-11-22 08:02:24 -05:00
woodser
f1b22a16b3 relax grpc rate limits for tests 2021-11-22 08:02:16 -05:00
woodser
b6a1d7c652 adjust displayed currencies in desktop app 2021-11-22 08:02:06 -05:00
premek
f27e3e3d1a Implement getMarketPrices API endpoint
- Increase rate limit to 10 calls per second.
- Use the new API also for the getMarketPrice call, this makes the 'Can get market prices' API test pass
2021-11-20 19:41:26 -05:00
erciccione
b1e69f9fdc workflows: add codeql security analyser 2021-11-20 16:54:22 -05:00
woodser
469c47b0c7 add balance to xmr balances
reduce trade api rate limiting
offer is set to available
2021-11-20 16:28:49 -05:00
woodser
f08c2036a7 api returns offers for unconfigured payment method 2021-11-19 17:14:21 -05:00
woodser
4dafd57026 use backup arbitrator if signing arbitrator not available 2021-11-18 13:04:25 -05:00
premek
7d21bdf9f3 add config option to specify wallet rpc bind port 2021-11-17 04:55:39 -05:00
woodser
4000fdc1e5 show warnings from wallet disconnect on manual shutdown, not stacktraces
quick build haveno apps with `make haveno-apps`
upgrade to monero-java 0.5.8
2021-11-13 12:58:54 -05:00
woodser
cd108387a2 restore dispute summary message 2021-11-11 16:21:22 -05:00
woodser
673aa3a437 rename to HavenoDaemon.ts and HavenoDaemon.test.ts 2021-11-11 16:21:00 -05:00
erciccione
d7ae434385 CI: cache dependencies in makefile
cache both gradle and haveno-specific dependencies when running CI.
windows binaries are built using ./gradlew build directly, since
windows users have to download binaries manually regardless.
2021-11-11 09:03:03 -05:00