Commit graph

11540 commits

Author SHA1 Message Date
pedromvpg
5a16db8440
Header and other visual tweaks 2020-08-04 02:03:13 -04:00
sqrrm
0931792fd4
Merge pull request #4396 from ripcurlx/only-show-signing-state-when-needed
Only show signing state if signing for payment method is required
2020-08-03 12:15:05 +02:00
Christoph Atteneder
a2302b3e0b
Only show signing state if signing for payment method is required 2020-08-03 12:03:52 +02:00
Christoph Atteneder
02b483f4d8
Merge pull request #4393 from wiz/shutdown-seednode-gracefully
Don't use `kill -9` to restart seednodes now that SIGTERM is handled
2020-08-03 11:03:46 +02:00
Christoph Atteneder
ff795ba648
Update data stores for v1.3.7 2020-08-02 14:30:42 +02:00
Christoph Atteneder
2f06a94171
Update bitcoinj checkpoints for v1.3.7 2020-08-02 14:30:31 +02:00
sqrrm
fb5dbcdbca
Merge pull request #4395 from ripcurlx/updates-for-v1.3.7
Data store updates for v1.3.7
2020-08-02 13:40:49 +02:00
Christoph Atteneder
d575ff3045
Update data stores for v1.3.7 2020-08-02 11:01:54 +02:00
Christoph Atteneder
53702a796c
Update bitcoinj checkpoints for v1.3.7 2020-08-02 10:44:24 +02:00
wiz
780f425738
Remove pricenode gztmprecgqjq64zh.onion operated by @wiz 2020-08-01 21:41:52 +02:00
Christoph Atteneder
f66c2404f7
Merge pull request #4392 from wiz/remove-pricenode-gztmprecgqjq64zh
Remove pricenode gztmprecgqjq64zh.onion operated by @wiz
2020-08-01 21:41:37 +02:00
wiz
0868ce89a8
Don't use kill -9 to restart seednodes now that SIGTERM is handled
Now that we can gracefully restart from #4047
2020-08-02 02:42:42 +09:00
wiz
3be3fe11d1
Remove pricenode gztmprecgqjq64zh.onion operated by @wiz 2020-08-01 22:49:32 +09:00
wiz
b222046fd6
Tweak popup text and trade rules for USPMO payment method
Co-Authored-By: Steve Jain <mfiver@gmail.com>
2020-08-01 11:11:51 +02:00
Christoph Atteneder
f930cfb9da
Merge pull request #4391 from wiz/tweak-postal-money-order-popup-text
Tweak popup text and trade rules for USPMO payment method
2020-08-01 11:11:25 +02:00
wiz
2a73e7b4ce
Tweak popup text and trade rules for USPMO payment method
Co-Authored-By: Steve Jain <mfiver@gmail.com>
2020-08-01 04:24:21 +09:00
Christoph Atteneder
dfc5eb0459
Update translations for v1.3.7 2020-07-30 10:21:12 +02:00
Christoph Atteneder
7475f17207
Bump version number for v1.3.7 2020-07-30 10:19:34 +02:00
Christoph Atteneder
41f7350217
Merge pull request #4382 from cd2357/patch-1
Force non-interactive install of git lfs
2020-07-30 09:50:40 +02:00
Christoph Atteneder
66d3589910
Merge pull request #4383 from jmacxx/fix_low_bsq_offer
Maintain floor amount of 5.46 BSQ to prevent dust errors
2020-07-29 11:00:35 +02:00
Christoph Atteneder
d9eb1d8435
Merge pull request #4373 from QuantumRipple/local-node-ip
Change IP for local node connection to Loopback address
2020-07-29 10:53:52 +02:00
Christoph Atteneder
88fcb3fc1f
Merge pull request #4240 from cd2357/remove-unused-maxBlocks-param-retry
Pricenode: Remove unused maxBlocks param
2020-07-29 10:37:29 +02:00
cd2357
33550caab2
Remove unused maxBlocks param from pricenode
As the new fee estimation API does not require this parameter
anymore, remove it and all references to it.

See bisq-network/projects#27
2020-07-28 22:11:46 +02:00
cd2357
8d335441c3
Fix Bitpay and CoinGecko altcoin rates
Correctly interpret the alt conversion rate reported by the API. For
alts, Bisq needs the Alt/BTC rate, whereas the API returns the BTC/Alt
one. Calculate the inverse of the reported values before storing them as
 Bisq internal datastructures (ExchangeRates).
2020-07-28 21:10:25 +02:00
ghubstan
8bb7e12f31
Clarify scaffold tear down error handling
The Scaffold#tearDown() method was split into two methods.  The
original tearDown() now passes the background process/task array
to a new shutDownAll() method.  This new method loops through the
tasks in a more readable way, plainly expressing the intent to log
all shutdown exceptions for each process being shut down, but not
throwing an exception while processes are being shut down.
The new shutDownAll() method returns the first shutdown exception
encountered, which in turn is passed up to the test case's @AfterAll
method.
2020-07-28 12:33:25 -03:00
jmacxx
2d5ab2a8d7
Maintain floor amount of 5.46 BSQ to prevent dust errors
When an offer is made using BSQ for trade fee, the BSQ amount
is burnt by doing a send-to-self.  However if the BSQ change
is below the bitcoin dust limit this causes an error.  We
fix this by maintaining a floor amount of 5.46 BSQ.

Fixes #4372
2020-07-28 09:50:54 -05:00
sqrrm
901af075c1
Merge pull request #4381 from chimp1984/add-input-verification
Add input validation
2020-07-28 14:58:06 +02:00
chimp1984
5e49de85c7
Add input validation 2020-07-27 22:09:39 -05:00
ghubstan
e2f00b7417
Remove extra whiteline 2020-07-27 16:43:43 -03:00
ghubstan
27ee4b8974
Do not leave orphaned processes after failed teardown
The test harness should not fail a test case's @AfterAll (teardown)
method on the first background instance shutdown exception.  This
change makes the shutdown logic similar to the startup's:  it caches
any exceptions that may have occurred during an instance shutdown,
logs them, then proceeds to shut down the next background instance.
An IllegalStateException (the 1st one) is passed up to @AfterAll method
only after the scaffolding teardown process is complete, to avoid leaving
any orphaned java or bitcoind processes running after a java system
exit.
2020-07-27 16:35:46 -03:00
Christoph Atteneder
34f26b1bb4
Merge pull request #4379 from jmacxx/fix_popups
Warn that seeds are not a data backup
2020-07-27 20:36:18 +02:00
cd2357
efda45fa78
Integrate Hitbtc exchange API
Add Hitbtc ExchangeRateProvider and corresponding unit test.
2020-07-27 18:55:11 +02:00
cd2357
b362b4c8d2
Integrate Huobi exchange API
Add Huobi ExchangeRateProvider and corresponding unit test.
2020-07-27 18:53:13 +02:00
cd2357
5a194420ed
Integrate Coinpaprika API
Add Coinpaprika ExchangeRateProvider and corresponding unit test.
2020-07-27 16:17:38 +02:00
jmacxx
bbc328b70c
Warn that seeds are not a data backup
Display a mandatory warning when the seed backup/restore
screen is shown.  The warning informs the user that a data
directory backup is necessary to restore the full state of
bisq, not just the wallet seed words.

Fixes #4375
2020-07-27 09:17:20 -05:00
cd2357
399f65d404
Integrate CoinGecko API
Add CoinGecko ExchangeRateProvider and corresponding unit test.
2020-07-27 14:53:03 +02:00
cd2357
9be2a5bbb4
Integrate Bitpay exchange rate API
Add a Bitpay exchange rate provider and corresponding unit test.
2020-07-27 14:52:36 +02:00
cd2357
637378b58a
Integrate more exchanges using knowm xchange
Add more exchange providers supported by the knowm xchange library.

This extends support for a few new currencies.
2020-07-27 13:02:25 +02:00
Christoph Atteneder
cf394bfa9a
Merge pull request #4377 from pedromvpg/tor-icon-replacement
Clean up TOR status icon
2020-07-27 10:38:34 +02:00
pedromvpg
a6f9015db9
Replace tor icon 2020-07-26 17:57:46 -04:00
QuantumRipple
a5cca0ee1e
Change IP for local node connection to Loopback address
If the local Bitcoin full node is bound to only listen on the loopback interface (127.0.0.1), attempting to open a socket to `InetAddress.getLocalHost()` - the return of which is variable but usually NOT 127.0.0.1 - will not work. Changing to `InetAddress.getLoopbackAddress()` resolves this.
2020-07-23 18:39:41 -05:00
Christoph Atteneder
9ab39c2a8b
Merge pull request #4362 from jmacxx/fix_altcoins_instant_acc
Fix altcoin instant account creation / deletion issues
2020-07-23 16:10:19 +02:00
Christoph Atteneder
efe346a4ae
Merge pull request #4365 from ddawson/ext-tor-nullptr
Fix NullPointerException with external tor usage
2020-07-23 16:09:02 +02:00
ghubstan
cf031e6883
Change 'missing bitcoind path' error msg
Since JUnit tests cannot take program arguments, change the
wording to instruct the user to configure the bitcoind path
in apitest.properties
2020-07-22 10:58:20 -03:00
ghubstan
13a8396b45
Remove unnecessary curly braces 2020-07-20 15:05:10 -03:00
ghubstan
999e9ec93b
Fix @BeforeClass error handling and use jupiter api
The Scaffold set up was calling System.exit(1) when it encountered a
configuration error, or a problem starting bitcoind & bisq instances.
This incorrect error handling was hiding errors from gradle, and
preventing tests that would otherwise successfully complete.

This change fixes the problem by throwing an IllegalStateException up
to the test case's @BeforeClass method -- to be caught and used in a
JUnit fail(ex) call.  An 'initializationError' triggered in @BeforeClass
correctly bubbles up to gradle, and will not block execution of remaining
tests.  A gradle Test Summary containing any initialization errors is also
produced in <project-dir>/apitest/build/reports/tests/test/index.html

This change also fixes many import statements and asserts to ensure
'org.junit.jupiter.api.*' is used in place of 'org.junit.*', for
proper gradle integration.
2020-07-20 14:53:00 -03:00
cd2357
7fc5191798
Reuse sets of supported currencies
Reuse sets of supported currencies between pricenode classes and tests.
2020-07-20 18:14:38 +02:00
cd2357
329188db1d
Reduce number of exchange API calls when polling
Retrieve the exchange rates in bulk, when possible. This reduces
the number of calls the pricenode makes to the exchange API from N =
"number of exchange rates to retrieve" to N = 1.

The replaced approach, which made a separate call to the exchange API
for each exchange rate, was sometimes failing due to reaching API rate
limits.
2020-07-20 18:14:38 +02:00
cd2357
aceb7eef15
Renamed ExchangeRateProvider test class
Give a more accurate name to the abstract test class
which contains common methods used by all
ExchangeRateProvider tests, like BinanceTest or KrakenTest.

Mark this test class as abstract, to indicate that it
should not be run as a standalone test.
2020-07-20 18:14:37 +02:00
cd2357
75a0a47a1e
Mark new ExchangeRateProviders as package-private
Remove public modifier in their class definitions to
preserve their package-private scope.
2020-07-20 18:14:37 +02:00