Commit Graph

5064 Commits

Author SHA1 Message Date
chimp1984
2b807769d4
Update commit hash to 7f83d1b3 2020-11-12 15:58:58 -05:00
chimp1984
1b7c1ce49a
Only reset numAllConnectionsLostEvents if we have nodes connected 2020-11-12 15:58:57 -05:00
chimp1984
6a2583d5fa
Decrease deviationTolerance for numAllConnectionsLostEvents 2020-11-12 15:58:57 -05:00
chimp1984
bb095d413c
Increase timout to 90 sec 2020-11-12 15:58:57 -05:00
chimp1984
69802e232d
Reduce timeout 2020-11-12 15:58:57 -05:00
chimp1984
04ab507783
Update COMMIT_HASH to 627888f0 2020-11-12 15:58:57 -05:00
chimp1984
5e4156910a
Add hasError util method
Reformattings, cleanups
2020-11-12 15:58:57 -05:00
chimp1984
a0565425df
Add historical data for error msg
Rename 'Number of responses' to 'Number of requests'
Rename timeout err msg

@jmacxx: See comment at `getErrorMsgLine`... If you need those historical
error msg data in the json as well we need to refactor a bit more...
2020-11-12 15:58:57 -05:00
chimp1984
16880b2f6a
Change deviation limits for OfferPayload 2020-11-12 15:58:56 -05:00
chimp1984
33e378accd
Update COMMIT_HASH to fec8f6e3 2020-11-12 15:58:56 -05:00
chimp1984
b09ebdeeba
Update COMMIT_HASH to fd2a04a2 2020-11-12 15:58:56 -05:00
chimp1984
4d17e986a2
Update COMMIT_HASH to 04440f95 (after merged master) 2020-11-12 15:58:55 -05:00
Christoph Atteneder
50c7d6c126
Merge pull request #4774 from deusmax/market_offers_chart
Market Offers chart modifications
2020-11-12 14:34:39 +01:00
Christoph Atteneder
64fd3a607a
Merge pull request #4782 from sqrrm/cleanup-signed-witness
Refactor trade limit check
2020-11-12 09:38:03 +01:00
Christoph Atteneder
def2b7cc68
Merge pull request #4783 from m52go/account-limits-text
Adapt account limits language for 1.5.0
2020-11-12 09:30:51 +01:00
Christoph Atteneder
34c802d505
Merge pull request #4780 from jmacxx/fix_issue_4719
Add encrypted wallet password prompt when sending funds from BSQ wallet
2020-11-12 09:06:27 +01:00
m52go
adc58bf4d8
Adapt account limits language for 1.5.0 2020-11-11 10:14:19 -05:00
sqrrm
4180ea08fd
Refactor trade limit check
Return early for anything that doesn't have age dependent trade limits
Remove unnecessary method
Fix switch case
2020-11-11 15:15:51 +01:00
Christoph Atteneder
c707e63f35
Merge pull request #4781 from chimp1984/use-30-day-average-for-marektcap
Use 30 days average USD/BSQ price for market cap
2020-11-11 11:10:54 +01:00
Christoph Atteneder
0c47cf0e20
Merge pull request #4764 from jmacxx/fix_issue_4727
Don't allow trade start if BitcoinJ is not fully synced
2020-11-11 10:44:07 +01:00
jmacxx
48a515be01
Add encrypted wallet password prompt when sending funds from BSQ wallet
Correct wording of transaction confirmation popup to use 'mining fee'
instead of 'transaction fee' to make it consistent with wording of
the BTC confirmation popup.
2020-11-10 20:14:44 -06:00
chimp1984
9135397ded
Use 30 days average USD/BSQ price for market cap 2020-11-10 20:51:13 -05:00
Deus Max
c9936c5595
Improve view of market offers chart
* Both axes use autoRange, which results in better
    rounded values for the tick mark labels numbers.
  * Filter-out data outside the factor limits.
  * New constant chartDataFactor for factor limits.
  * Formatted tick label currency numbers:
    - Fiat: display with grouping separators
    - Cryptos: remove trailing zeros in fractional parts
  * Add CSS class axisy for y-axis formatting.
2020-11-10 22:27:04 +02:00
jmacxx
0ddd333ce6
Don't allow trade start if BitcoinJ is not fully synced
Adds a check that chain height is within 3 blocks of the reported
height from bitcoin peers -> if not the user cannot take an offer
or have an existing offer taken.  It shows a message informing the
user that Bisq is not currently synced, advising them to do an
SPV resync if necessary.

Additionally under Settings/Network a field has been added
to show the chain height of Bisq vs the Peer group.

Added after discussion with chimp1984:
- Correct initialization of chainHeight property
- Rename "Latest BTC block height" display field for clarity
- Enforce chain sync rule for Take Offer scenario
- Enforce chain synch rule for Check offer availability scenario
- change method name to be clearer
2020-11-10 14:15:39 -06:00
Christoph Atteneder
0345c795e2
Merge pull request #4767 from jmacxx/fix_issue_4765
Remove default fee rate from Bisq startup screen
2020-11-09 10:00:25 +01:00
Christoph Atteneder
470685b729
Merge pull request #4768 from chimp1984/add-new-birningman-address
Add new burningman address for delayed payout txs
2020-11-09 09:23:57 +01:00
chimp1984
8ab16e5e3a
Add new burningman address for delayed payout txs
See; https://github.com/bisq-network/roles/issues/80#issuecomment-723577776
2020-11-08 18:38:02 -05:00
jmacxx
8484398dee
Remove default fee rate from Bisq startup screen
The display of fee rate on the startup screen is misleading because
at startup a fee has not been received from the mempool fee service
and instead the default value of 50 sats is shown.

This change causes the fee rate not to be displayed until a response
has been received from the service.

Fixes #4765
2020-11-08 08:38:05 -06:00
chimp1984
f835396d71
Change log level 2020-11-05 15:50:02 -05:00
Bayer
7163344084
Update core/src/main/resources/i18n/displayStrings.properties
Co-authored-by: m52go <mfiver@gmail.com>
2020-11-05 09:47:31 +01:00
Bayer
80d87a728d
Apply suggestions from code review
Co-authored-by: m52go <mfiver@gmail.com>
2020-11-05 09:47:22 +01:00
Bayer
90c00097ac
Fix display strings lines 2968-3437 2020-11-05 09:47:11 +01:00
Christoph Atteneder
b8fbc74d6c
Merge pull request #4744 from sqrrm/cleanup-signed-witness
Cleanup signed witness
2020-11-05 09:42:46 +01:00
chimp1984
5817525776
Check for 0 and only apply the value in that case.
See comment at change for more background.
2020-11-04 12:54:35 -05:00
chimp1984
c9b3f9d457
Set initial value for bsqAverageTrimThreshold to 5% in case of an
update (using persisted preferences which would
have value set to 0 as it was not existing in old version)
2020-11-04 11:34:10 -05:00
chimp1984
5c7906980c
Clean up mailbox messages for closed trades
Util for removing pending mailbox messages in case the
trade has been closed by the seller after confirming receipt
and a AckMessage as mailbox message will be sent by the
buyer once they go online. In that case the seller's trade
is closed already and the TradeProtocol is not executing
the message processing, thus the mailbox message would not
be removed. To ensure that in such cases (as well other
potential cases in failure scenarios) the mailbox message
gets removed from the network we use that util.
2020-11-03 22:08:38 -05:00
Christoph Atteneder
63cae1ceb1
Merge pull request #4745 from chimp1984/fix-bug-with-reading-historical-data
Fix bug with reading historical data
2020-11-03 21:56:05 +01:00
chimp1984
ab5645b864
Fix issue with getting complete handler called twice from P2PService
We used a delegate method in P2PService for calling readPersisted on p2PDataStorage and peerManager.
This was from old times when those classed have not been injected classes. The complete handlers got
called from both p2PDataStorage and peerManager but we counted only P2PService as host, so the
countdown completed before the last host was really completed, leading to a nullpointer in
MainView (not always).

We removed now PersistedDataHost interface from P2PService and use P2PDataStorage and PeerManager to be added to hosts.
2020-11-03 13:01:35 -05:00
sqrrm
02e53304ed
Cleanup unused argument 2020-11-03 17:35:29 +01:00
sqrrm
7f734292f3
Cleanup line breaks 2020-11-03 16:59:15 +01:00
sqrrm
0f0b75c2ac
Change time dependent trade limits
This is in accordance with https://github.com/bisq-network/proposals/issues/264

Any account type that doesn't need signing can now trade the full
amount immediately, same goes for signed type accounts that are
selling.

Signed type accounts that are buying now has minimum limit (0.01 BTC) up until
30 days after getting signed, then the limit is increased to 0.5 times the max
limit (0.125 BTC) and after 60 days they get the full limits (0.25 BTC).
2020-11-03 16:58:14 +01:00
Christoph Atteneder
8fe8261a1e
Clean up code 2020-11-03 15:42:46 +01:00
Luis Aranguren
ecf9d49f65
Resolve conflicts with master 2020-11-03 15:42:23 +01:00
Christoph Atteneder
b49a3eb15b
Merge pull request #4738 from chimp1984/improve-logs
Change log level at registerProposalAsBallot. Don't log full filter a…
2020-11-03 09:07:11 +01:00
Christoph Atteneder
9da7100ef2
Merge pull request #4734 from chimp1984/show-past-deviation-in-monitor
Show past deviation in monitor
2020-11-03 09:03:14 +01:00
Christoph Atteneder
3d7273883c
Merge pull request #4733 from jmacxx/edit_explorer_details
Allow user-defined block explorers
2020-11-02 19:23:48 +01:00
chimp1984
483116dcd0
Change log level at registerProposalAsBallot. Don't log full filter at onFilterAddedFromNetwork 2020-11-02 12:51:41 -05:00
sqrrm
f03be6ad3d
Merge pull request #4628 from chimp1984/improve-read-file-handling
Use a thread in PersistenceManager for reading persisted files instead of using threads in client code
2020-11-02 17:36:21 +01:00
sqrrm
84ac65b163
Merge pull request #4731 from ghubstan/19-sqrrm-pr-changes
Resolve issues found in reviewed PRs 4699, 4703, 4711 [, ...]
2020-11-02 15:32:07 +01:00
jmacxx
8a9d05eba0
Allow user-defined block explorers
In Settings/General Preferences the Bitcoin Explorer and Bisq Explorer may
now be user defined in addition to the hard coded block explorer choices.

This implementation takes advantage of the existing Protobuf implementation
that stores a BlockExplorer Name/UrlTx/UrlAddress for BTC and for BSQ.

A new popup dialog is implemented which allows editing of the explorer
details (name, txUrl, and addressUrl).  Any of the system-defined
explorer details may be selected into the edit fields thus allowing
them to be used as templates, customized or an entirely new explorer to
be used.

If the user switches choice from a customized back to a pre-defined
explorer then the customized settings are gone; this is because the
Protobuf storage only allows saving one selection.

Fixes #4371
Closes #4634
2020-11-02 07:53:06 -06:00