Commit Graph

5033 Commits

Author SHA1 Message Date
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
sqrrm
85237cb870
Merge pull request #4714 from ghubstan/13-canceloffer-impl
Implement 'canceloffer' api method
2020-11-02 12:59:56 +01:00
sqrrm
9e1466417f
Merge pull request #4713 from ghubstan/12-stub-canceloffer
Stub out 'canceloffer offer-id' api method
2020-11-02 12:59:03 +01:00
Christoph Atteneder
9ab65459df
Merge pull request #4736 from jmacxx/add_autoconf_service_filter
Admin filter for auto-confirmation service addresses
2020-11-02 10:47:22 +01:00
jmacxx
15b8e72059
Admin filter for auto-confirmation service addresses
A service address can be filtered out using the admin key.  This would
be useful if a federated server failed, it could be filtered out so
that the auto-confirmation operates with the remaining services.  If
all federated service addresses were filtered out the user would have to
either confirm manually or use their own explorer service.
2020-11-01 08:20:33 -06:00
sqrrm
89620a02da
Merge pull request #4706 from chimp1984/remove-outliers-at-bsq-rate
Remove outliers when calculating BSQ rate
2020-10-31 23:07:40 +01:00
chimp1984
cdace6d9f3
Update commit hash to d789282b 2020-10-31 13:54:01 -05:00
chimp1984
d789282b35
Use System.getProperty("line.separator") instead of \n 2020-10-31 13:53:10 -05:00
chimp1984
0847ddd7bf
Update commit hash to ae365e2d 2020-10-31 13:48:50 -05:00
ghubstan
fcdfc687e4
Verify closedTradableManager.getTradableById return value is a Trade instance
This change requested at https://github.com/bisq-network/bisq/pull/4711#discussion_r515520278
2020-10-31 15:44:14 -03:00
chimp1984
3d24a204e4
Update commit hash to 764d0fa4 2020-10-31 13:30:07 -05:00
chimp1984
764d0fa47a
Add linebreak to filtered seeds 2020-10-31 13:29:45 -05:00
sqrrm
f3c62d35c2
Merge pull request #4711 from ghubstan/10-closetrade-impls
Implement api methods 'keepfunds', 'withdrawfunds'
2020-10-31 18:41:05 +01:00
chimp1984
72abd54d02
Update commit hash to b0f8b968 2020-10-31 12:30:07 -05:00
chimp1984
b0f8b96809
Add filtered seed nodes info 2020-10-31 12:29:33 -05:00
chimp1984
157f715d1b
Update commit hash to 77666a6d 2020-10-31 12:20:23 -05:00
chimp1984
77666a6d64
Add commitHash entry 2020-10-31 12:19:54 -05:00
ghubstan
c27d5a6da8
Use Bisq's timer in API's 'unlockwallet timeout(s)'
This change was requested in
961703ecea

This replaces and closes PR https://github.com/bisq-network/bisq/pull/4558
2020-10-31 13:32:14 -03:00
chimp1984
37170abfd5
Ignore deviation at startup (2 min) 2020-10-31 11:23:24 -05:00
chimp1984
baaa100c01
Reset NumAllConnectionsLostEvents once we sent it to inventory monitor 2020-10-31 11:23:24 -05:00
chimp1984
af3e7fc9fe
Update params 2020-10-31 11:23:24 -05:00
chimp1984
db35eb282a
Add check for repeated warn/alerts in past requests
Change data model
Reduce request interval to 2 min.
Rename data dir
2020-10-31 11:23:24 -05:00
chimp1984
44d9efd735
Replace the 2 deviation maps with one with DeviationInfo as value
DeviationInfo carries deviation and deviationSeverity
2020-10-31 11:23:24 -05:00
chimp1984
3a9b3c97e1
Extract method 2020-10-31 11:23:24 -05:00
chimp1984
69b399780d
Adjust warn/alert tiggers 2020-10-31 11:23:24 -05:00
chimp1984
4f4f2c457b
Move deviation calculation to InventoryMonitor and store it in RequestInfo
Add display of number of past alerts and warning and show with tooltip the
request number when it happened.
2020-10-31 11:23:23 -05:00
sqrrm
605f4b3015
Merge pull request #4726 from chimp1984/add-transferwise-payment-method
Add transferwise account
2020-10-31 13:20:41 +01:00
sqrrm
1e1d1ffb70
Merge pull request #4732 from chimp1984/add-more-logs-at-trade-data-validation-exception
Avoid null pointers at TradeDataValidation
2020-10-31 12:35:26 +01:00
chimp1984
f817018410
Add null checks, remove verbose logs from IllegalArgumentException branch 2020-10-30 20:01:01 -05:00
chimp1984
7fe5b80d39
Add more logs 2020-10-30 19:20:20 -05:00
ghubstan
f764e9feb0
Simplify TradeUtil#getPaymentMethodNameWithCountryCode
These changes were requested in review of PR
https://github.com/bisq-network/bisq/pull/4699
2020-10-30 11:15:39 -03:00
sqrrm
c4e2021e37
Merge pull request #4709 from ghubstan/9-closetrade-protos
Stub out api methods 'keepfunds', 'withdrawfunds'
2020-10-30 14:05:16 +01:00