Commit graph

5761 commits

Author SHA1 Message Date
Manfred Karrer
8e99e7c1e6
Refactor OpReturnVerification. 2018-03-08 21:57:54 -05:00
Manfred Karrer
cf9fc6714d
Refactor check if a tx is a bsq tx. 2018-03-08 20:59:49 -05:00
Chris Beams
d218094269
Bump Maven artifact versions to 0.7.0-SNAPSHOT
Problem: When resolving Bisq libraries, e.g. `core` or `network` from
JitPack for use in other components like bisq-seednode or
bisq-pricenode, we have historically, resolved them by tag or by
branchname, e.g. with GAV coordinates like `io.bisq:core:v0.6.7` or
`io.bisq:core:master`. This works well enough, but now that we are
beginning to modularize more aggressively, we want to make sure that
it's possible at any time to publish the latest snapshots of these
libraries to one's own local ~/.m2 repository such that they can be
easily resolved from downstream components without the need to push
commits to the bisq-network/exchange remote, and to wait for JitPack to
do a just-in-time build.

Solution: By updating the version value of all modules here in the
exchange repository from 0.6.7 => 0.7.0-SNAPSHOT, one can run
`mvn install` to publish the latest "snapshot" of exchange libraries to
the local ~/.m2 repository and be sure to resolve them from whatever
downstream component that they are working on. The -SNAPSHOT qualifier
ensures that no caching occurs, and that the very latest such binary
will always be used.

This new arrangement creates a situation where one can transparently
resolve these dependencies remotely from JitPack and then subsequently
resolve them locally from one's ~/.m2 repository without having to
change a line of code.

It also opens up the ability to manage all Bisq components together in a
single IDE window as if they were all in one repository, avoiding the
need even to issue a `mvn install` command to publish locally--but
that's not the main focus of this change.

Note that the change to 0.7.0 here is based on the fact that we already
planned to have the next version shipped from `master` be 0.7.0, as
there are quite a few new UI changes that probably merit the bump in
minor version. The version change also aligns well with the fact that
we're modularizing a number of components right now, and all
newly-extracted components have been jumping to v0.7.0 to indicate their
new independent status. This has been the case with bisq-seednode and
pricenode so far.

Finally, it is important to note here that the ONLY versions updated by
this change are those specific to Maven metadata and therefore artifact
management / dependency resolution. The version that the Bisq desktop
client reports in its UI and to the network in its user agent has NOT
been changed, on account of the fact that users may run Bisq from
source, and we need to think through more fully the implications of
reporting a verison like 0.7.0-SNAPSHOT in those situations. Here is a
list of files containing the old version (0.6.7) that have NOT been
updated:

 - common/src/main/java/io/bisq/common/app/Version.java
 - package/linux/32bitBuild.sh
 - package/linux/Dockerfile
 - package/osx/create_app.sh
 - package/osx/finalize.sh
 - package/windows/32bitBuild.bat
 - package/windows/64bitBuild.bat
 - package/windows/Bisq.iss
 - package/linux/64bitBuild.sh

One thing we know for sure that wouldn't work here is that Bisq's
Version class currently does not support -SNAPSHOT qualifiers. It just
breaks the version string validation entirely. So we'd need to patch
that in any case if we do decide it's a good idea to let pre-release
builds report their version accurately.
2018-03-08 19:49:30 +01:00
Chris Beams
19d8c252ba
Change groupid from io.bisq => io.bisq.exchange
Problem: The current `io.bisq` groupid does not align with the way
JitPack supports custom groupids. In order to be able to both resolve
artifacts from JitPack *and* be able to resolve the same artifacts from
one's local ~/.m2 repository, Bisq artifacts need to have the same GAV
coordinates everywhere (groupid, artifactid, version).

Solution: This commit changes all groupids from io.bisq =>
io.bisq.exchange to match the GAV coordinates produced / expected by
JitPack.

So where Bisq's core module would previously have been resolvable with
GAV coordinates `io.bisq:core:v0.6.7` it will now be resolvable as
`io.bisq.exchange:core:v0.6.7`.

Note that this change is not just to satisfy JitPack idiosyncracies, but
is actually good naming practice anyway where a multi-module build is
involved, and is arguably the way it should have been all along.

[1]: https://jitpack.io/docs/#publishing-on-jitpack
2018-03-08 18:59:31 +01:00
Manfred Karrer
1bd41b638e
Refactor network handlers and managers for dao. Separate them for lite and full node. 2018-03-08 12:10:43 -05:00
Manfred Karrer
72a73b9573
Move TxIdIndexTuple to util package 2018-03-08 10:51:11 -05:00
Manfred Karrer
df093b9712
Remove TxVo and put fields into Tx instead. 2018-03-08 10:50:15 -05:00
Manfred Karrer
d320346a03
Refactor: Rename RequestManager to BlocksRequestManager 2018-03-08 10:06:37 -05:00
Manfred Karrer
eca72f658f
Refactor: Move classes from io.bisq.core.dao.blockchain.p2p to io.bisq.core.dao.node 2018-03-08 10:06:02 -05:00
Manfred Karrer
67340cf7de
Merge pull request #1437 from cbeams/extract-seednode
Extract seednode module to new repository
2018-03-08 09:47:14 -05:00
Manfred Karrer
9867608531
Merge pull request #1438 from sqrrm/fix-fullnodeparsertest
Fix fullnodeparsertest after refactoring
2018-03-08 08:53:53 -05:00
sqrrm
e48f91cb51
Fix fullnodeparsertest after refactoring 2018-03-08 14:47:49 +01:00
Chris Beams
a9a9ae70cd
Move seednode documentation to new repository
This commit removes seednode specific docs and updates doc/build.md as
necessary to reflect the fact that the seednode module is being
extracted into its own repository.
2018-03-08 14:28:48 +01:00
Chris Beams
86f4df4122
Move seednode module to new repository
This module is being extracted into its own repository, which will live
at https://github.com/bisq-network/bisq-seednode.
2018-03-08 14:28:34 +01:00
Manfred Karrer
4d2b50a58d
Merge remote-tracking branch 'origin/master' 2018-03-07 22:05:35 -05:00
Manfred Karrer
027de5316f
Refactoring of DAO classes and packages. Isolate consensus code to extra classes. Separate better full node and lite nodes. 2018-03-07 22:05:27 -05:00
Manfred Karrer
d0790637a3
Merge pull request #1431 from ripcurlx/clean-volume-usage
Use Amount term for Volume
2018-03-07 17:50:44 -05:00
Manfred Karrer
1ebbd87ea3
Merge pull request #1432 from ripcurlx/use-specific-wording-for-distance
Change wording from distance to below/above
2018-03-07 17:50:10 -05:00
park-alter
5cc333e33f list-wmcc 2018-03-07 21:01:34 +08:00
Christoph Atteneder
7cc4a286b8
Change wording from distance to below/above 2018-03-07 13:17:19 +01:00
Christoph Atteneder
fbfcc83a0d
Rename "Volume" to "Amount" and remove redundant coin code in "Amount in {COIN_CODE}" column also for failed trades 2018-03-07 12:48:01 +01:00
Christoph Atteneder
fad517137d
Rename "Volume" to "Amount" and remove redundant coin code in "Amount in {COIN_CODE}" column 2018-03-07 12:42:45 +01:00
Manfred Karrer
ad48986395
Fix issues in RequestManager. Refactor BsqLiteNode. Add comments, Refactorings. 2018-03-06 22:34:53 -05:00
Manfred Karrer
fc59873092
Cleanup, add isPresent checks for Optional, refactorings. 2018-03-06 21:25:20 -05:00
Manfred Karrer
f19b6ca0ee
Add missing classes from earlier move. Rename GeneralPurposeRequest. 2018-03-06 20:43:36 -05:00
Manfred Karrer
8d82e8b087
Add consensus package and move relevant classes over there. 2018-03-06 20:39:41 -05:00
Manfred Karrer
f38d7b332f
Move opReturn data creation to OpReturnData class. Add Validation class. Rename io.bisq.core.dao.voterequest to io.bisq.core.dao.request. Add new Request classes. 2018-03-06 20:38:27 -05:00
Manfred Karrer
f0a9316999
Refactor: Move io.bisq.core.dao.compensation to io.bisq.core.dao.voterequest.compensation 2018-03-06 20:16:32 -05:00
Manfred Karrer
034b113f9e
Change params for daoPeriodService. Add commeents. Add VoteRequest class. 2018-03-06 20:13:46 -05:00
Manfred Karrer
16e456ed86
Refactor: Rename DaoConstants to OpReturnTypes 2018-03-06 19:47:59 -05:00
Manfred Karrer
875af9786a
Refactor: Move filter to existing stream 2018-03-06 19:39:44 -05:00
Manfred Karrer
0801c68049
Remove Dash as base currency from UI 2018-03-06 19:25:36 -05:00
Manfred Karrer
f85881e860
Fix null pointer 2018-03-06 18:44:01 -05:00
Manfred Karrer
ea8cbc111c
Fix wrong network ID for dash 2018-03-06 18:35:34 -05:00
ghobson2013
8b2b974f5c final regex correction 2018-03-06 11:52:34 -06:00
ghobson2013
c51851809c adding ROIcoin 2018-03-06 11:11:31 -06:00
Manfred Karrer
9974aea867
Merge pull request #1428 from ripcurlx/update-fields-for-zero-percentage-price-distance
Re-calculate values when tabbing into percentage market distance field
2018-03-06 11:38:26 -05:00
Manfred Karrer
0c3e611acb
Merge pull request #1426 from ripcurlx/resize-blockchain-confirmation-icon
Fix height of blockconfirmation icon and reduces row height
2018-03-06 11:37:07 -05:00
Christoph Atteneder
800731df02
Re-calculate values when tabbing into percentage market distance field 2018-03-06 13:03:47 +01:00
Christoph Atteneder
370103e3b9
Merge pull request #1427 from ripcurlx/clean-up-test-log
Remove test log
2018-03-06 12:45:39 +01:00
Christoph Atteneder
50d0a53787
Remove test log 2018-03-06 12:31:05 +01:00
Christoph Atteneder
d7d2123dc5
Fix height of blockconfirmation icon and reduces row height 2018-03-06 10:53:58 +01:00
Manfred Karrer
b5ac9f97ca
Add vote reveal type. Adjust BSQ fees. Refactorings. 2018-03-05 22:00:13 -05:00
Manfred Karrer
f86bb433ed
Merge remote-tracking branch 'origin/master' 2018-03-05 18:16:49 -05:00
Manfred Karrer
ef56f94bd5
Move duplicated code to superclass and make it abstract. 2018-03-05 18:16:14 -05:00
Manfred Karrer
b706edd15a
Merge branch 'show-past-comps' of https://github.com/sqrrm/exchange into sqrrm-show-past-comps 2018-03-05 18:03:16 -05:00
Manfred Karrer
08c29994be
Merge pull request #1424 from sqrrm/fix-bsqparsertest
Fix BsqParserTest after changing genesis distribution
2018-03-05 17:54:01 -05:00
Christoph Atteneder
81a388731f
Merge pull request #1382 from ripcurlx/add-monospace-font-support-roboto
Add monospace font support and optimize alignment for number columns
2018-03-05 21:11:28 +01:00
Christoph Atteneder
8597e5d3d2
Add Apache License for Droid Sans 2018-03-05 21:03:33 +01:00
Christoph Atteneder
05aa3d1492
Add right alignment for price with market price margin 2018-03-05 20:57:56 +01:00