Commit graph

8656 commits

Author SHA1 Message Date
ArqTras
e4bd07959b
List Arqma (ARQ) 2019-03-04 15:20:14 +01:00
Manfred Karrer
db4c6f5fb8
Reduce timeout to 90 sec
- We had it initially at 60 sec. and increased it as attempt to fight
those timeout errors, but it did not help. So letting the user wait
longer as needed does not make sense.
2019-03-04 14:48:54 +01:00
Manfred Karrer
35dfc4b5bd
Delay broadcasting of taker fee tx
To avoid the issue with lost taker fees if the take-offer attempt fails,
we delay the publishing of the taker fee tx just before the deposit tx
gets published.
The taker fee tx must not be committed to the wallet to avoid that the
wallet would require a resync in case the tx is not published.
If the tx is not committed the addresses used there are not considered
as used and that would cause issues with the address entry context
assignment for the deposit tx. To avoid those issues we need to force
the creation of new addresses used for the multisig and payout address
entries. To be sure that happens before any of the following tasks make
use of those address entries we do that already in the createTakerFee
task.
For BSQ fee tx it behaves similar but needs separate testing.
2019-03-04 14:48:50 +01:00
Christoph Atteneder
b84b73712d
Merge pull request #2443 from mbroemme/master
List Galilel (GALI)
2019-03-04 14:17:42 +01:00
Christoph Atteneder
4c3fe95be9
Merge pull request #2494 from ManfredKarrer/improve-p2p-network-performance
Add program arguments for p2p network config
2019-03-04 14:11:45 +01:00
Maik Broemme
915793381a List Galilel (GALI) 2019-03-04 14:05:44 +01:00
Christoph Atteneder
a0c3ca369e
Merge pull request #2466 from davehlong/list-plenteum
List Plenteum (PLE)
2019-03-04 10:33:41 +01:00
Christoph Atteneder
9b698aebb4
Merge pull request #2454 from quantum13/list_xdr
List XDR (XDR)
2019-03-04 10:33:15 +01:00
Christoph Atteneder
129a57ca00
Merge pull request #2448 from Doichain/list-doichain-asset
List Doichain (DOI)
2019-03-04 10:32:58 +01:00
Christoph Atteneder
55127398e3
Merge pull request #2418 from typhoonsimon/list-litecoinplus
List LitecoinPlus (LCP)
2019-03-04 10:32:17 +01:00
Christoph Atteneder
793f958f9d
Merge pull request #2407 from WG91/master
List MirQuiX (MQX)
2019-03-04 10:31:56 +01:00
Christoph Atteneder
3e767fa711
Merge pull request #2385 from DSTRACoin/list-dstra-asset
List DSTRA (DST)
2019-03-04 10:26:17 +01:00
typhoonsimon
613285fb30
List LitecoinPlus (LCP) 2019-03-04 09:53:54 +01:00
Manfred Karrer
4c4084cf6d
Increase offer TTL and decrease refresh interval
- We get about 300 refresh msg / min. That causes quite  a bit of load
for the network. I think it is safe to increase TTL from 7 to 9 minutes
and change REFRESH_INTERVAL from 5 to 6 min. and
REPUBLISH_INTERVAL from 30 to 40 min.
2019-03-04 01:45:40 -05:00
Manfred Karrer
c65decfeaf
Add prog args for connection parameters
- Add program args: msgThrottlePerSec, msgThrottlePer10Sec,
sendMsgThrottleTrigger and sendMsgThrottleSleep
- Add ConnectionConfig class with static injected field in Connection
- Cleanups
2019-03-04 00:57:29 -05:00
Manfred Karrer
744bbe6ad7
Use class name instead of NetworkEnvelope in messageTimeStamps
- NetworkEnvelope was only used to print the class name if we exceed
throttle limits. Should reduce memory footprint
2019-03-03 23:39:55 -05:00
Manfred Karrer
afd9d9c03a
Fix table layout 2019-03-03 23:38:05 -05:00
Manfred Karrer
ed6fa7b1a3
Increase TTL for offer from 7 to 8 min.
We got reports that offers got removed and re-added even if the maker
had good network connections. Seems the network did not propagate the
refresh msg in time or get too crowded. Increasing the TTl should help
to make those cases more rare. To decrease the refresh rate from 5 min
to 4 min. might be more risky as it would create much more traffic.
2019-03-03 22:57:33 -05:00
Manfred Karrer
0711ab936d
Reduce timeout to 90 sec
- We had it initially at 60 sec. and increased it as attempt to fight
those timeout errors, but it did not help. So letting the user wait
longer as needed does not make sense.
2019-03-03 20:46:10 -05:00
Manfred Karrer
997819eab4
Add line break 2019-03-03 20:01:10 -05:00
Manfred Karrer
44f57984f6
Merge branch 'master' into add-live-trading 2019-03-03 19:24:10 -05:00
Manfred Karrer
f44e9b12cd
Merge branch 'master' into avoid-taker-fee-publishing-for-failed-trades 2019-03-03 18:57:56 -05:00
Manfred Karrer
67eed82a8a
Merge pull request #2492 from ben-kaufman/system-tray-dark-mode-mac
Fix system tray visibility for dark mode Mac
2019-03-03 18:56:55 -05:00
Manfred Karrer
b9bfa83015
Merge branch 'master' into avoid-taker-fee-publishing-for-failed-trades 2019-03-03 18:47:23 -05:00
Manfred Karrer
c5a383d777
Fix balance for confiscated bonds 2019-03-03 18:41:57 -05:00
Manfred Karrer
e414e91c46
Refactor: Rename onParseTxsCompleteAfterBatchProcessing to
onParseBlockCompleteAfterBatchProcessing
2019-03-03 17:56:43 -05:00
Manfred Karrer
8d73308796
Refactor: Rename onParseTxsComplete to onParseBlockComplete 2019-03-03 17:56:05 -05:00
Manfred Karrer
a0dd0101a7
Fix balance update in case at vote result. Rename methods
- To ensure the balance is updated in case we have a comp. request we
need to ensure that the vote result is completed before our balance
update is called.

- Remove updateBsqWalletTransactions call at constructor as nothing is
ready anyway here

- Refactor: Rename addBsqStateListener to addDaoStateListener
and removeBsqStateListener to removeDaoStateListener
2019-03-03 17:55:08 -05:00
Manfred Karrer
568be3def8
Add missing check for isAvailableForSpending at unverifiedBalance 2019-03-03 17:14:47 -05:00
Ben Kaufman
26a710d0c2 Fix system tray visibility for dark mode Mac 2019-03-03 22:37:05 +02:00
Manfred Karrer
1802508c7c
Fix BSQ balance display for unconfirmed change outputs
- Add verifiedBsqBalance and unconfirmedChangeBalance
- Remove totalBsqBalance
- Make text for different balances more explicit
2019-03-03 15:05:19 -05:00
Manfred Karrer
9475cf2897
Merge branch 'master' into allow-spending-unconfirmed-bsq-utxs 2019-03-03 12:12:22 -05:00
Manfred Karrer
ce109daf4d
Merge pull request #2483 from ben-kaufman/macos-setup-jdk
Add MacOS support in install_java.sh script
2019-03-03 12:11:01 -05:00
Manfred Karrer
992480d3a7
Refactoring: Renaming 2019-03-03 02:28:37 -05:00
Manfred Karrer
54e39c3067
Remove dev button, add "trade instant" checkbox 2019-03-03 02:09:52 -05:00
Manfred Karrer
11adc99f3c
Use super classes for cryptCurrencyAccount and payload 2019-03-03 01:31:26 -05:00
Manfred Karrer
6c11fc18c7
Add altcoin payment method for live trading
- Add LiveAsset account, payment method, AccountPayload
- Extract super classes for normal CryptoCurrenyAccount and payload and
LiveAssetAccount and payload
- Add isAsset method
- Add button for creating a live asset account

As it is a bit tricky to use the AccountForm for both methods and add a
checkbox there so defined which payment method to use I added a button
to add an AccountForm with the LiveAssets passed. This is just
temporary to be able to test a bit more and see if there are any
critical issues. We should unify that form but that might require a bit
of refactoring of the CryptoCurrencyForm.
2019-03-03 01:12:54 -05:00
Manfred Karrer
d600ff4dfb
Merge pull request #2487 from devinbileck/update-bond-lockup-prompt
Update bond lockup prompt
2019-03-02 11:55:09 -05:00
Manfred Karrer
e62557c759
Merge branch 'master' into allow-spending-unconfirmed-bsq-utxs 2019-03-02 01:45:32 -05:00
Manfred Karrer
dd96a185ea
Delay broadcasting of taker fee tx
To avoid the issue with lost taker fees if the take-offer attempt fails,
we delay the publishing of the taker fee tx just before the deposit tx
gets published.
The taker fee tx must not be committed to the wallet to avoid that the
wallet would require a resync in case the tx is not published.
If the tx is not committed the addresses used there are not considered
as used and that would cause issues with the address entry context
assignment for the deposit tx. To avoid those issues we need to force
the creation of new addresses used for the multisig and payout address
entries. To be sure that happens before any of the following tasks make
use of those address entries we do that already in the createTakerFee
task.
For BSQ fee tx it behaves similar but needs separate testing.
2019-03-01 22:56:46 -05:00
Devin Bileck
5293b4a494
Update bond lockup prompt
- Changed display string from "lockup time" to "unlock time"
otherwise it may be confused with how long it takes to lock
up the bond.
- Included estimated time duration (e.g. days) for the unlock time.
2019-03-01 16:37:02 -08:00
Manfred Karrer
4332c16886
Cleanup 2019-03-01 18:21:03 -05:00
Manfred Karrer
79865eb839
Merge pull request #2471 from ripcurlx/update-installer-background
Combine and update installer background
2019-03-01 17:55:09 -05:00
Ben Kaufman
faf27f8930 Add MacOS support in install_java.sh script 2019-03-01 10:14:11 +02:00
Manfred Karrer
03d0a22580
Allow spending of unconfirmed BSQ change outputs
When creating a BSQ transaction (actually at commit time as we can create a tx and then
cancel it in the confirmation popup) we store the change output (only that not the other
possible BSQ output) in a persisted list. The BsqCoinSelector will take that list to
allow spending those coins. We use the txType to find the index of the cahnge output.
We only have one change output in the transactions created in Bisq. Multiple change
outputs would be valid but our goal is only increased usability in the Bisq app and it is
not related to validation rules.

We update out list at each new block confirmation.

With that approach we avoid too much dependencies to the BitcoinJ side.

- Add UnconfirmedBsqChangeOutputListService and persisted UnconfirmedBsqChangeOutputList
for storing unconfirmed outputs
- Add lookup for unconfirmed BSQ change outputs at BsqCoinSelector and allow spending if
found
- Pass TxType for walletsManager.publishAndCommitBsqTx calls
- Add TxType to bsqWalletService.commitTx
- Refactor getPreparedSendTx methods for BSQ and BTC sending to one common method with a
coinselector parameter.
- Add getChangeAddress method to BsqWalletService to make change outputs more explicit
- Add unconfirmedChangeBalance to onUpdateBalances handlers
- Rename availableBalance to availableConfirmedBalance in onUpdateBalances
- Unify onUpdateBalances parameter names
2019-02-28 23:22:43 -05:00
Oscar Guindzberg
b55073cf1b Basic support for version 2 transactions. Cherry pick bitcoinj@850f219 2019-03-01 00:09:03 -03:00
Manfred Karrer
bb368d638c
Merge pull request #2481 from devinbileck/show-btc-valuation
Show valuation in BTC balance tooltips
2019-02-28 20:59:13 -05:00
Devin Bileck
1d55d06fce
Show valuation in BTC balance tooltips
When hovering over the available, reserved, and locked BTC balances
in the main view, show the market price valuation based on your
preferred currency.

Fixes https://github.com/bisq-network/bisq/issues/1770
2019-02-28 16:46:52 -08:00
Manfred Karrer
89c9fd20b0
Merge branch 'master' of https://github.com/bisq-network/bisq 2019-02-28 14:11:27 -05:00
Manfred Karrer
c565156b58
Change log level. Log notification sendMessage only if really sent. 2019-02-28 14:10:29 -05:00