Commit graph

2159 commits

Author SHA1 Message Date
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
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
sqrrm
5c2bd9e906
Fix BsqParserTest after changing genesis distribution 2018-03-05 19:41:40 +01:00
Manfred Karrer
2bc210bbd0
Ignore BsqParserTest temporary 2018-03-05 12:59:39 -05:00
Manfred Karrer
6f8e89cf87
Change denomination of BSQ from 1000 satoshi to 100 satoshi (#1423) 2018-03-05 12:45:28 -05:00
Manfred Karrer
1f6122e934
Add option key: genesisBlockHeight. Rename option key regTestBsqGenesisTxId to genesisTxId. Remove hard coded dev genesis tx id and height. 2018-03-05 12:05:24 -05:00
Manfred Karrer
9246b530d3
Fix minBroadcastConnections for regTest. Set RegTestHost.LOCALHOST as default. 2018-03-05 11:51:30 -05:00
Manfred Karrer
b8eaa647c4
Apply camelCase to option key regtestBsqGenesisTxId to regTestBsqGenesisTxId 2018-03-05 11:11:58 -05:00
Manfred Karrer
b7064f9820
Add option key for dev mode 2018-03-05 11:10:00 -05:00
sqrrm
159b651dcc
Init DAO persistedDataHost for seednode 2018-03-05 16:58:06 +01:00
Manfred Karrer
aac493cc41
Add Restrictions with min and max comp request amounts. Refactor validator. 2018-03-05 10:33:25 -05:00
Manfred Karrer
a60f56c623
Merge branch 'compensation-req-checks' of https://github.com/sqrrm/exchange into sqrrm-compensation-req-checks 2018-03-05 09:39:42 -05:00
Manfred Karrer
4e8a6adff4
Refactor configPeerNodes methods 2018-03-05 09:31:25 -05:00
dinerocoin
25cd791608 add Dinero 2018-03-03 22:21:37 +00:00
Bernard Labno
961b01403f Use btcNodes argument in regtest mode. 2018-03-02 22:47:39 +01:00
Angelcoin
d9149d47ec
Update TradeStatisticsManager.java 2018-02-27 14:08:37 +02:00
Manfred Karrer
1d0591084d
Merge branch '0.6.7'
# Conflicts:
#	common/pom.xml
#	common/src/main/java/io/bisq/common/app/Version.java
#	common/src/main/resources/i18n/displayStrings.properties
#	common/src/main/resources/i18n/displayStrings_hu.properties
#	common/src/main/resources/i18n/displayStrings_ro.properties
#	consensus/pom.xml
#	core/pom.xml
#	core/src/main/java/io/bisq/core/offer/OpenOfferManager.java
#	core/src/main/java/io/bisq/core/payment/PaymentAccountUtil.java
#	core/src/main/java/io/bisq/core/provider/fee/FeeService.java
#	gui/pom.xml
#	gui/src/main/java/io/bisq/gui/bisq.css
#	gui/src/main/java/io/bisq/gui/main/offer/createoffer/CreateOfferDataModel.java
#	gui/src/main/java/io/bisq/gui/main/offer/createoffer/CreateOfferView.java
#	gui/src/main/java/io/bisq/gui/main/offer/takeoffer/TakeOfferView.java
#	gui/src/main/java/io/bisq/gui/main/portfolio/openoffer/OpenOffersView.java
#	gui/src/main/java/io/bisq/gui/main/portfolio/openoffer/OpenOffersViewModel.java
#	gui/src/main/java/io/bisq/gui/util/GUIUtil.java
#	monitor/pom.xml
#	network/pom.xml
#	network/src/main/resources/PersistableNetworkPayloadMap_BTC_MAINNET
#	package/linux/32bitBuild.sh
#	package/linux/64bitBuild.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
#	pom.xml
#	seednode/pom.xml
#	statistics/pom.xml
2018-02-26 22:03:47 -05:00
Manfred Karrer
fd47cefc6c
Set v0.6.7 2018-02-26 20:23:07 -05:00
Manfred Karrer
2a16e68939
Fix bug: Cannot remove deactivated offer #1403 2018-02-26 20:17:21 -05:00
Manfred Karrer
250a3724be
Move useDevPrivilegeKeys from ArbitratorModule to BisqAppModule 2018-02-26 12:51:04 -05:00
Manfred Karrer
c19cf3c0cd
Merge pull request #1383 from blabno/feature/extract-USE_DEV_PRIVILEGE_KEYS-from-dev-env
Make USE_DEV_PRIVILEGE_KEYS flag configurable
2018-02-26 12:48:29 -05:00
Manfred Karrer
ac082da72e
Refactoring: Rename AddOfferOfferBook to AddToOfferBook 2018-02-26 09:43:09 -05:00
Manfred Karrer
2c593559db
Merge 0.6.6 branch to master 2018-02-23 21:40:34 -05:00
Manfred Karrer
70a452a335
Reduce min. trade fee from 0.0002 BTC to 0.00005 BTC #1394 2018-02-23 19:12:05 -05:00
Manfred Karrer
0b6edbb883
Set version 0.6.6 2018-02-23 15:41:24 -05:00
Manfred Karrer
a04f96335b
Add new altcoins: Cassubian Detk, DigiMoney, SpeedCash, SOS Coin, AchieveCoin, vDinar (#1385, #1381, #1377, #1370, #1369, #1367) 2018-02-23 11:10:06 -05:00
Manfred Karrer
dac2b3f042
Change maxTradeLimitHighRisk to 0.16 BTC (#1347) 2018-02-23 10:07:22 -05:00
Manfred Karrer
3e3fd3ab45
Remove DOGE as basecurrency 2018-02-23 08:35:41 -05:00
Manfred Karrer
6b01493ded
Use 1 day for popmoney 2018-02-22 20:08:28 -05:00
Manfred Karrer
e606215062
Set maxTradeLimitHighRisk for new payment methods 2018-02-22 19:51:41 -05:00
Manfred Karrer
9800c3cc63
Fix bug with currency selection of multi currency accounts in create offer view 2018-02-22 19:49:11 -05:00
Manfred Karrer
e5a1953929
Add payment method Revolut #1312 2018-02-22 19:48:37 -05:00
Manfred Karrer
3048e0f385
Fix failed unit test 2018-02-22 12:23:30 -05:00
Manfred Karrer
43ce9f796f
Fix issue #1386: Offers with Cash deposit cannot be taken.
Fix handling for Sepa related accounts.
Optimize handling for same bank and specific banks.
Add comments
2018-02-22 12:10:25 -05:00
Bernard Labno
051694dfdb Make USE_DEV_PRIVILEGE_KEYS flag configurable 2018-02-21 16:29:57 +01:00
Chris Beams
22f54d1a9e
Indent multiline constructor args
The convention throughout most of the Bisq codebase is this kind of
stacked alignment for multiline constructor arguments.
2018-02-21 10:45:22 +01:00
Chris Beams
3e9e7490b7
Add @Override where appropriate 2018-02-21 10:45:21 +01:00
Chris Beams
1760fccc89
Move io.bisq.core.network.{* => .p2p.seed.*}
Prior to this change, the contents of io.bisq.core.network were in fact
all seednode-related, and the main public type in this package,
DefaultSeedNodeRepository, is an implementation of
io.bisq.network.p2p.seed.SeedNodeRepository. This repackaging makes
better reflects these facts, making it more obvious to the unitiated
what this package is all about, and preserving the unqualified
io.bisq.core.network package for future expansion into non-seednode
related areas.
2018-02-21 10:45:21 +01:00
Chris Beams
08ca7ee0f9
Sort static factory methods at bottom 2018-02-21 10:45:21 +01:00
Chris Beams
fb856aea95
Favor public visibility for non-private members of package-private types
Public members of package-private classes are in effect still
package-private. Leaving the public modifier in place on these members
(as opposed to marking all members package-private) is beneficial for
two reasons:

 1. It leaves these members looking "normal" to the trained Java eye.
Readers are not left wondering why constructors and methods are
package-private. They can notice, if and when appropriate, that the
class itself is package-private, and can understand the transitive
visibility of each member on that basis.  Otherwise, the class is left
looking conventional, unsurprising, and therefore as easy as possible to
read and understand.

 2. It leaves the visibility of these members controlled by a single
modifier at the class level as opposed to N+1 modifiers (one for every
member + the class itself). Should the class in question for some reason
need to be promoted to public visibility, for example if it were to be
moved to a different package, its members would automatically inherit
the now-public visibility of the class, which is likely to be the
desired state, because if the class needs to be public, at least some of
its members will need to be public too. The maintainer making that
change can (and should) reduce the visibility of any members that should
remain package-private (e.g. those that exist only for for testing
purposes), but in doing so, they make an explicit and self-documenting
decision that will show up at the level of a Git diff.
2018-02-21 10:45:21 +01:00
Chris Beams
a72bb72473
Rename classes from Node* => SeedNode* as appropriate
Each of the classes here are in fact specific to seed nodes, so have
been renamed accordingly, e.g. from NodeAddresses => SeedNodeAddresses.
2018-02-21 10:45:21 +01:00
Chris Beams
b392864661
Rename CoreSeedNodeRepository => DefaultSeedNodeRepository
The original name was intended to distinguish that this implementation
is the implentation that lives within Bisq's 'core' module. This commit
renames the class to DefaultSeedNodeRepository as this is more idiomatic
and intention-revealing. This implementation is in fact the only one
ever gets used; it is the 'default' (and only) implementation.
2018-02-21 10:33:20 +01:00
Chris Beams
4ac45d7fe8
Rename SeedNodesRepository => SeedNodeRepository
The idiomatic approach to naming domain-driven design (DDD)-style
repositories is to use the singular form of the object being
encapsulated by the repository, e.g. BookRepository vs. BooksRepository.

Thus far, the repository interfaces and implementations created here in
Bisq have used the latter, plural form, but going forward we should
revert to the norm. To this end, this commit renames SeedNodesRepository
and its single implementation to SeedNodeRepository and
CoreSeedNodeRepository respectively.
2018-02-21 10:33:20 +01:00
Chris Beams
a737194d39
Make CoreSeedNodesRepository#seedNodeAddresses final
Also remove the @NotThreadSafe annotation as this class is now stateless
and immutable and therefore naturally threadsafe.

See https://github.com/bisq-network/exchange/pull/1362#discussion_r169143759
for context.
2018-02-21 10:33:20 +01:00
Chris Beams
9c77f4ce57
Simplify CoreSeedNodesRepository#isSeedNode stream pipeline 2018-02-21 10:33:19 +01:00
Chris Beams
b5af59dee0
Remove NetworkStressTest to simplify CoreSeedNodesRepository
NetworkStressTest has been ignored for months because it had become
"outdated" and is therefore now dead code. It is the only place that the
CoreSeedNodesRepository#setTorSeedNodeAddresses
and #setLocalhostSeedNodeAddresses methods were called. Removing it
completely allows for removing these methods and marking the underlying
fields in CoreSeedNodesRepository as final.
2018-02-21 10:33:19 +01:00
tau3
5bb91a3fd3 Fixed factory method for NodeAddresses in case of empty string 2018-02-21 13:17:08 +04:00
sqrrm
86c3516890
Fix comments from PR 2018-02-19 13:53:57 +01:00
Manfred Karrer
1ee6117831
Fix Cashdeposit account bug 2018-02-19 06:55:19 -05:00