-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a new Module for the Liquidity Pool project(s) #56
Conversation
5fee8e0
to
050ef5e
Compare
Ah finally got it to pass, turns out Intellij tried to give me a new and improved version of some library, but the tests didn't like that... |
liquidity-pool/build.gradle
Outdated
implementation project(':common') | ||
implementation project(':ipv8-android') | ||
|
||
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apart from the first two
implementation project(':common')
implementation project(':ipv8-android')
Please look into what plugins/modules actually need for your project. (You may not need ttorrent, bitcoinj, mp3 library etc)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We're not exactly sure what we'll need for now, so I'll just strip it to the bare minimum for now then.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't really understand what is making these tests fail now. It seems something is wrong with currencyii, but as far as I can find I didn't change anything regarding it or in its module?
050ef5e
to
fae9e68
Compare
@Tim-W Could you take another look? |
a555941
to
064e5bb
Compare
common/src/main/java/nl/tudelft/trustchain/common/bitcoin/WalletService.kt
Outdated
Show resolved
Hide resolved
common/src/main/java/nl/tudelft/trustchain/common/bitcoin/WalletService.kt
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking at the commit history, there are quite some repeated commits (maybe because of other merges). Could you please rebase the PR and squash appropriate commits to clean the commit history?
b987ea4
to
d90c32d
Compare
@xoriole could you please close Tribler/tribler#5988, Tribler/tribler#5996 and Tribler/tribler#6001 after merging this PR? 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
Some comments:
- Please extract out some the mentioned hardcoded values
- Remove commented out code
- Remove .DS_Store and add it to .gitignore
liquidity-pool/src/main/java/nl/tudelft/trustchain/liquidity/ui/PoolFragment.kt
Outdated
Show resolved
Hide resolved
liquidity-pool/src/main/java/nl/tudelft/trustchain/liquidity/ui/PoolFragment.kt
Outdated
Show resolved
Hide resolved
liquidity-pool/src/main/java/nl/tudelft/trustchain/liquidity/data/EthereumGethMultiSigWallet.kt
Outdated
Show resolved
Hide resolved
liquidity-pool/src/main/java/nl/tudelft/trustchain/liquidity/data/EthereumGethMultiSigWallet.kt
Outdated
Show resolved
Hide resolved
eurotoken/src/main/java/nl/tudelft/trustchain/eurotoken/ui/settings/DefaultGateway.kt
Outdated
Show resolved
Hide resolved
@chrislemaire Could you please rebase the PR? |
This liquidity pool project is so far just a plain copy of the musicdao project with the name replaced with Liquidity Pool. We will further build on this module in the future.
This initial setup is not fully functional yet but contains the building blocks of performing a trade and joining a pool as a liquidity provider.
These functionalities should now both be functional.
We found a few small bugs that needed fixing. We also did some cleaning up of the code and layouts.
By group 1: Emiel Bos, Daan de Heij, and Thijs Versfelt
Some magic strings got extracted to a constant in the gradle build config.
4b40419
to
c8cd547
Compare
I rebased and checked the error. Looks like the error has to do with a dependency that we didn't use nor alter in the common module, so this might well be a problem that needs to be fixed in master, rather than this branch. This might understandably take some time. Since this has nothing to do with our project and we have moved on to different courses and activities since then, I propose that someone more actively involved with the superapp makes a copy of this branch to continue the Pull Request. @xoriole |
Yes, this is a known issue and not related to your PR (also related to #71). Bintray stopped offering their free service tier and the superapp pulls various of its dependencies from Bintray. |
I will leave this here, since then all project members and supervisors can see (I don't have all e-mail addresses): I am speaking on behalf of both Liquidity Pool project contributors. We noticed that our project grades are missing on https://my.tudelft.nl/. Would it be possible to add our grades, considering that this PR can basically be merged since the checks fail for reasons unrelated to this PR? Thank you in advance! |
+6,311 lines of re-basing, that will take our staff a full day or more. OK. |
In this pull request we propose a module for trading currencies through a liquidity pool.