Commit graph

2752 commits

Author SHA1 Message Date
Manfred Karrer
cad16e0f92
Prevent connection to localhost bitcoin node if dao testnet is used (fix) 2019-02-21 13:24:09 -05:00
Manfred Karrer
0561c12a90
Prevent connection to localhost bitcoin node if dao testnet is used (fix) 2019-02-21 12:25:48 -05:00
Manfred Karrer
518fe724d9
Prevent connection to localhost bitcoin node if dao testnet is used 2019-02-21 12:00:35 -05:00
Christoph Atteneder
6315ca0056
Change from Testnet to DAO Testnet setting 2019-02-21 15:17:31 +01:00
Manfred Karrer
d47fec2620
Merge pull request #2447 from ManfredKarrer/dao-serverside-regtest
Dao serverside regtest
2019-02-21 07:32:40 -05:00
Manfred Karrer
0800301539
Use REGTEST as network for BTC_DAO_TESTNET
- As teh network is used for filtering asset types BSQ has 3 asset
types, one per network we need to use REGTEST as network. The methods
for checking which BaseCurrencyNetwork are using name() now instead of
network as we have 2 times REGTEST.

- Fix bug with not calling showFeeInfoAndPublishMyProposal for bonded
role proposals.
2019-02-20 21:49:05 -05:00
Manfred Karrer
a188aa6dfa
Use mainnet notwork id for test as testnet does not has any seed node defined 2019-02-20 20:49:02 -05:00
Manfred Karrer
8865ba6e9a
Merge pull request #2445 from devinbileck/bonded-role-unlock-time
Update bonded role unlock time
2019-02-20 20:07:00 -05:00
Devin Bileck
c5beda4d3d
Update display strings
Capitalized proper names (GitHub, YouTube, BTC) and initial character
for a few strings.
2019-02-20 16:45:56 -08:00
Devin Bileck
f8385a96d6
Update bonded role unlock time
Use the defined unlock time on mainnet, an arbitrarily low value on
regtest for dev testing, and a relatively short time on testnet for
testing purposes.
2019-02-20 16:17:15 -08:00
Manfred Karrer
ece8d50ff1
Add num tx to log when new block is parsed 2019-02-20 14:00:49 -05:00
Manfred Karrer
9da5bd3300
Use 104.248.31.39 as regTestHost if DaoTestNet is selected 2019-02-20 13:49:03 -05:00
Manfred Karrer
dbff4e1379
Change testnet seeds to regtest seeds 2019-02-20 10:12:20 -05:00
Manfred Karrer
8fc3ab9745
Add BTC_DAO_TEST_NET_EXPLORER 2019-02-19 17:54:48 -05:00
Manfred Karrer
7dbc135b1f
Add DAO_TESTNET_GENESIS_TX_ID
- Set BTC_DAO_TESTNET as last enum to not break existing regtest port
convention which is derived from enum order
- Remove BaseCurrencyNetwork.isBitcoin as always true
-
2019-02-19 16:21:32 -05:00
Manfred Karrer
0acbff6e60
Add DAO_TESTNET baseCurrencyNetwork enum 2019-02-19 15:18:04 -05:00
Manfred Karrer
570d08d4b3
Change CHECK_MEMORY_PERIOD_SEC from 10 sec to 5 min. 2019-02-19 14:46:55 -05:00
Manfred Karrer
4d017334ca
Change log level to debug 2019-02-19 14:42:02 -05:00
Manfred Karrer
6c5d5adbc7
Use fjr5w4eckjghqtnu as regtest seed node 2019-02-19 14:23:13 -05:00
Manfred Karrer
b4b5d0bb12
Merge pull request #2436 from ManfredKarrer/update-checkpoint-files
Update BitcoinJ checkpoint files
2019-02-18 22:46:26 -05:00
Manfred Karrer
6febfb06f0
Merge pull request #2438 from oscarguindzberg/clear-store
Replace NonMMappedSPVBlockStore by ClearableSPVBlockStore
2019-02-18 22:31:47 -05:00
Manfred Karrer
6a53769bf9
Add LitecoinZ as newly added coin. 2019-02-18 22:25:43 -05:00
Oscar Guindzberg
9ae0adec6c Replace NonMMappedSPVBlockStore by ClearableSPVBlockStore 2019-02-18 23:07:53 -03:00
Manfred Karrer
a7437883c5
Update BitcoinJ checkpoint files 2019-02-18 13:46:10 -05:00
Manfred Karrer
dc8fa91367
Merge pull request #2434 from ManfredKarrer/remove-not-traded-assets
Remove not traded assets
2019-02-18 12:33:31 -05:00
Manfred Karrer
744ff486e6
Add TODO 2019-02-18 12:20:06 -05:00
Christoph Atteneder
8e4c2c6338
Update translations 2019-02-18 18:08:50 +01:00
Manfred Karrer
59920bb994
Remove not traded assets
- Remove Gridcoin, LitecoinZ and ZeroOneCoin
- Update getMainCryptoCurrencies and getRemovedCryptoCurrencies methods
- Update isWarmingUp method

Insufficiently traded assets:
Gridcoin (GRC): Trade amount: 0.0055 BTC, number of trades: 1

Not traded assets:
01coin (ZOC)
LitecoinZ (LTZ)
2019-02-18 12:06:21 -05:00
Manfred Karrer
5d157832be
Merge pull request #2423 from ManfredKarrer/add-beam-popup
Add info popup for BEAM accounts. Improve GRIN info popup text.
2019-02-16 19:46:23 -05:00
Manfred Karrer
6a41517ad3
Improve text 2019-02-16 19:37:13 -05:00
Manfred Karrer
edb050a087
Merge pull request #2428 from ManfredKarrer/add-more-info-at-dispute-system-msg
Add more instructions at dispute system message
2019-02-16 19:32:02 -05:00
Manfred Karrer
a54594725a
Improve text 2019-02-16 19:04:14 -05:00
Manfred Karrer
94e702f165
Improve text. Use link to docs 2019-02-16 19:02:48 -05:00
Manfred Karrer
2daa4aa41b
Add more instructions at dispute system message
- Use redirect link for arbitr. doc
2019-02-15 19:03:53 -05:00
Manfred Karrer
6589d6ed8e
Add link for requestNowButton. Use redirect URL 2019-02-15 18:00:09 -05:00
Manfred Karrer
c619860d4d
Add info popup for BEAM accounts. Improve GRIN info popup text. 2019-02-15 13:20:01 -05:00
Christoph Atteneder
e5dd9a2187
Merge pull request #2413 from ManfredKarrer/increase-trade-limits
Increase trade limit. Make trade limit a DAO parameter
2019-02-15 11:15:02 +01:00
Manfred Karrer
b50f660349
Use Utilities.isWindows() instead of System.getProperty("os.name") 2019-02-14 17:02:29 -05:00
Manfred Karrer
93558ef2a2
Merge pull request #2399 from devinbileck/tor-setup-failure
Improve handling when unable to connect to tor
2019-02-14 16:45:26 -05:00
Manfred Karrer
076dea2284
Merge pull request #2403 from oscarguindzberg/remove-mmap
Use NonMMappedSPVBlockStore on windows.
2019-02-14 16:24:04 -05:00
Manfred Karrer
892f5493ea
Merge pull request #2421 from ripcurlx/adapt-dao-teaser-page
Adapt DAO news view for Mainnet
2019-02-14 15:44:18 -05:00
Manfred Karrer
2b954c35e7
Fix incorrect maxTradeLimit assignment from Offer
- Make all PaymentMethod constructors private
- Use PaymentMethod.getPaymentMethodById in Offer for getting the
PaymentMethod. This change a bit the context as now we always create the
PaymentMethod from the actual code base in contrast to the data which
have been used when creating the offer. As our fields as final and must
not change in software updates it should have no issues but we have to
keep that in mind to not alter the default values.
- Added a runtimeException in case the maxTradeLimit does not match one
of our default values.
- Use PaymentMethod.getDummyPaymentMethod(GUIUtil.SHOW_ALL_FLAG)
instead of new PaymentMethod(GUIUtil.SHOW_ALL_FLAG))
2019-02-14 15:16:33 -05:00
Christoph Atteneder
0220b33185
Remove DAO initialization info and change the Bitcoin network initialization information as well 2019-02-14 15:11:26 +01:00
Christoph Atteneder
12ea7186d2
Adapt DAO news view to match design 2019-02-14 15:03:33 +01:00
Manfred Karrer
11bc11fd24
Remove code for Venmo, Cashapp and OKPay
- We had an automate remove accounts for those payment methods for long
time, so we can assume that no traders have any of those accounts still
in their persisted user objects and it is safe to completely remove them.
Only part where we cannot remove it is the PB definitions (actually I
think we could remove those as well, but not 100% sure and it seems to
be more safe to mark those as deprecated and leave the entries).
2019-02-13 21:34:51 -05:00
Manfred Karrer
3fc9f45233
Refactor PaymentMethod
- Assign paymentMethods in static final field
- Add static fields for default trade limits
- Remove deprecated payment methods
- Remove onAllServicesInitialized and use static initializer instead
- Re-purpose maxTradeLimit for indicating risk factor
- Calculate real trade limit in the getMaxTradeLimitAsCoin method
- Rename getActivePaymentMethods to getPaymentMethods
2019-02-13 21:07:32 -05:00
Christoph Atteneder
3890c9cb51
Move teaser page into separate view 2019-02-13 16:09:51 +01:00
Manfred Karrer
0699c58c81
Increase trade limit. Make trade limit a DAO parameter
- Set max trade limit to 2 BTC (for altcoins)
- Add MAX_TRADE_LIMIT to Param
- Round first month trade limit to ensure we stick with precision 4 for
the btc amount
- Use risk factors to derive trade limits for different payment method
risk categories
2019-02-12 12:57:44 -05:00
Manfred Karrer
1a3b8b51a1
Remove BisqEnvironment.isBaseCurrencySupportingBsq()
We don't support any other base currencies anymore, so that method
resulted always to true and could be removed.
2019-02-12 11:22:35 -05:00
Manfred Karrer
2ef69c1ce8
Replace BisqEnvironment.isDAOActivated with DevEnv.isDaoActivated 2019-02-12 11:16:27 -05:00