Commit Graph

11513 Commits

Author SHA1 Message Date
ghubstan
e0c27eedcf
Add main resource files
* apitest.properties - config file for customizing ApiTestConfig
  options

* logback.xml - logging config file, will override logback files
  found in classpath

* bitcoin.conf - bitcoin-core regtest config file, overwritten
  during startup with correct path to blocknofity

* blocknotify - bitcoin-core blocknotify config file
2020-07-09 15:27:01 -03:00
ghubstan
88b5e9dbad
Add configuration support
ApiTestConfig works like :common Config, but specific to this subproject.

BisqAppConfig is an enumeration specifying Bisq desktop and daemon
options for running seednode, arbnode, bob & alices nodes in regtest /
full-dao mode.
2020-07-09 15:11:42 -03:00
Daniel Dawson
8c526d4b8c
Fix NullPointerException with external tor usage
If torControlPort is specified, but neither torControlPassword nor
torControlCookieFile are specified, we have cookieFile == null in
bisq.network.p2p.network.RunningTor, but RunningTor.getTor() assumes a
cookie file has been specified and tries to check that the file exists,
causing the thread to crash. Added a check for null to fix this.
2020-07-09 09:25:38 -07:00
jmacxx
25c8c74bbc
Fix altcoin instant account creation issue
Upon creating an altcoin instant account the limitations field
should reflect that the trade duration is 1 hour.  This was not
working.  The fix is to update that field dynamically based on the
setting of the 'Trade instant' checkbox.

Fixes #4361
2020-07-08 22:37:37 -05:00
Christoph Atteneder
125c394076
Update translations for v1.3.6 2020-07-08 15:44:11 +02:00
Christoph Atteneder
e9bb95e77a
Update data stores for v1.3.6 2020-07-08 15:44:05 +02:00
Christoph Atteneder
2a0783d7c1
Update bitcoinj checkpoints 2020-07-08 15:43:56 +02:00
sqrrm
e1fcbfac18
Merge pull request #4357 from ripcurlx/update-data-stores-for-v1.3.6
Update of data stores for v1.3.6
2020-07-08 15:43:05 +02:00
Christoph Atteneder
4e858f5698
Merge pull request #4358 from jmacxx/fix_transactions_csv
Fix nullpointer exception in transactions csv report
2020-07-08 14:33:07 +02:00
Christoph Atteneder
618e797bc7
Merge pull request #4360 from jmacxx/fix_popups
Fix popup window ordering problem
2020-07-08 14:31:21 +02:00
wiz
0eaf9cea8b
Add V3 seednode sn2bisq 2020-07-08 13:29:07 +02:00
Christoph Atteneder
6d39d2e9b6
Merge pull request #4359 from wiz/add-miker-torv3-seednode
Add V3 seednode sn2bisq
2020-07-08 13:28:34 +02:00
jmacxx
0c9b4a142c
Fix popup window ordering problem
There is a race condition in PopupManager when with a stack of 2 popups,
the top popup is being replaced by another top-level popup. The base
layer popup ends up on top of the z-order, obscuring the correct one.

The race condition in PopupManager was within the onHidden() method
which invokes the next window in the queue.  The call to displayNext()
needs to be asynchronous so that a newer popup can take precedence.

Fixes #4293
2020-07-07 16:39:42 -05:00
wiz
f18e7d711a
Add V3 seednode sn2bisq 2020-07-08 01:15:46 +09:00
pedromvpg
4b2bed3d65
Increase contrast in date picker colors 2020-07-07 16:13:31 +02:00
Christoph Atteneder
dd033daa44
Merge pull request #4355 from wiz/dark-theme-v2-fix-date-picker
Increase contrast of date picker colors in Dark Theme v2
2020-07-07 16:12:41 +02:00
jmacxx
3f8a3c78f3
Fix nullpointer exception in transactions CSV report
1. number of columns in header was incorrect
2. memo field can be null, needed to be converted to empty string

Fixes #4333
2020-07-07 09:07:40 -05:00
Christoph Atteneder
a25680ffa2
Update translations for v1.3.6 2020-07-07 15:57:38 +02:00
Christoph Atteneder
1d8353555c
Update data stores for v1.3.6 2020-07-07 15:56:06 +02:00
Christoph Atteneder
3b49acdf12
Update bitcoinj checkpoints 2020-07-07 15:37:00 +02:00
sqrrm
b984ff7ae0
Fix taker use all BSQ for fee payment
Issue: if a taker used exactly all BSQ from the BSQ inputs to pay the
trading fee, there was no BSQ change in the takeOfferFeeTx. It was
assumed that the second output was the reservedForTrade output, but in
the case of missing BSQ change it was the first output.

Fix: added a check to make sure the value of the inputs to the deposit
tx match the expected inputAmount.

Added a check that if there is no BSQ outputs in the bsqTradingFeeTx a
change output is added of value 1 satoshi more than the BSQ input value.
This ensures that the second output is always the reservedForTrade
output. It also ensures that the BSQ is burnt, even in the very unlikely
case that the amount of BSQ burnt is larger than the reservedForTrade
amount.
2020-07-07 15:33:44 +02:00
Christoph Atteneder
2050f08be9
Merge pull request #4354 from sqrrm/fee-overpay-bug
Fix taker use all BSQ for fee payment
2020-07-07 15:32:55 +02:00
pedromvpg
fd535801ba
Increase contrast in date picker colors 2020-07-07 03:17:05 +09:00
sqrrm
a8e4b51709
Fix taker use all BSQ for fee payment
Issue: if a taker used exactly all BSQ from the BSQ inputs to pay the
trading fee, there was no BSQ change in the takeOfferFeeTx. It was
assumed that the second output was the reservedForTrade output, but in
the case of missing BSQ change it was the first output.

Fix: added a check to make sure the value of the inputs to the deposit
tx match the expected inputAmount.

Added a check that if there is no BSQ outputs in the bsqTradingFeeTx a
change output is added of value 1 satoshi more than the BSQ input value.
This ensures that the second output is always the reservedForTrade
output. It also ensures that the BSQ is burnt, even in the very unlikely
case that the amount of BSQ burnt is larger than the reservedForTrade
amount.
2020-07-06 18:36:30 +02:00
Christoph Atteneder
7613912c75
Bump version number for v1.3.6 2020-07-04 21:02:29 +02:00
Christoph Atteneder
716947a799
Merge pull request #4334 from wiz/dark-theme-v2
Update Dark Theme to V2 with new CSS and images by Pedro
2020-07-04 21:00:06 +02:00
Christoph Atteneder
cfc3252f7b
Merge pull request #4347 from sqrrm/deposit-improvements
Deposit improvements
2020-07-03 21:20:27 +02:00
Christoph Atteneder
17fbc8d22a
Add comparator for sorting deposits 2020-07-03 21:10:42 +02:00
Christoph Atteneder
ad374bd6ec
Improve layout to prevent truncation in most common use-cases 2020-07-03 19:08:00 +02:00
sqrrm
45a9803c9f
Merge pull request #4316 from petrhejna/fix-darkmode
Fix darkmode color of warning-box
2020-07-03 18:32:58 +02:00
Christoph Atteneder
592cfa1ca0
Merge pull request #4353 from sqrrm/signer-send-witness-to-signee
Signer send witness to signee
2020-07-03 18:22:03 +02:00
sqrrm
4e7283cc2c
Remove unused argument 2020-07-03 18:14:10 +02:00
sqrrm
22814d15f8
Publish own witness received as trade message 2020-07-03 18:14:10 +02:00
sqrrm
71ff0712a7
Signer send SignedWitness to peer after signing 2020-07-03 18:14:10 +02:00
sqrrm
44c71bd704
Add TraderSignedWitnessMessage 2020-07-03 18:14:10 +02:00
sqrrm
6cd395c227
Change signAccountAgeWitness signature
Return the signed witness when signed by a trader
2020-07-03 18:14:10 +02:00
Christoph Atteneder
c190f4200f
Merge pull request #4280 from sqrrm/arbitrator-witness-signing
Arbitrator witness signing
2020-07-03 17:57:17 +02:00
sqrrm
9a8622c410
Fix codacy comments 2020-07-03 17:35:54 +02:00
sqrrm
fabd592938
Merge remote-tracking branch 'origin/master' into HEAD 2020-07-03 16:58:13 +02:00
sqrrm
ac2f37f968
Merge pull request #4345 from jmacxx/fix_offer_fee_changed
Create order using the same tx fee specified at funding
2020-07-03 13:20:18 +02:00
sqrrm
3630abdeb8
Improve MovingAverage
Don't include outliers (20% deviation from moving average) in moving
average calculation. It's quite likely that low liquidity markets or
markets with large spreads can't calculate deposit suggestion and will
then suggest deposit from preferences.

Added test for moving average class
2020-07-02 23:03:26 +02:00
Christoph Atteneder
149cf1381a
Merge pull request #4346 from jmacxx/fix_regex_tor3
Fix tor v3 address validation
2020-07-02 14:14:09 +02:00
Christoph Atteneder
a0ec617063
Merge pull request #4350 from m52go/zelle-update
Improve zelle payment account info text
2020-07-02 14:12:43 +02:00
Christoph Atteneder
5edb0d2eb8
Merge pull request #4349 from m52go/account-limits-update
Improve account limits popup text
2020-07-02 14:12:18 +02:00
sqrrm
11ff27b892
Fix annoying log typo 2020-07-01 22:52:46 +02:00
m52go
ba5496205f
Improve account limits popup text 2020-07-01 11:47:18 -04:00
m52go
ef96fd3be8
Improve zelle payment account info text 2020-07-01 10:21:16 -04:00
sqrrm
44bdce7b5c
Merge pull request #4342 from wiz/update-mempool-explorer-urls
Update Bitcoin explorer URLs and Tor V3 onions for wiz and emzy
2020-07-01 15:53:20 +02:00
sqrrm
0fa0b639ba
Merge pull request #4341 from cbeams/update-codeowners
Remove @cbeams as build and pricenode code owner
2020-07-01 15:51:13 +02:00
sqrrm
79f05bcfa3
Merge pull request #4320 from devinbileck/add-v3-seednode
Add V3 seednode devinv3r
2020-07-01 15:48:30 +02:00