Commit Graph

13629 Commits

Author SHA1 Message Date
chimp1984
86d0f96c6c
Remove PeerType from Connection. Use ConnectionState instead.
Remove unnecessary setPeerType calls. ConnectionState is handling that.
Only PeerManager does the setting of isSeedNode as we do not have the
required dependency in ConnectionState.
2021-01-05 20:50:46 -05:00
chimp1984
0f7a69d1b7
Add ConnectionState class 2021-01-05 20:42:14 -05:00
chimp1984
809484e65d
Refactoring: Rename INITIAL_DATA_REQUEST to INITIAL_DATA_EXCHANGE 2021-01-05 20:40:37 -05:00
chimp1984
15cd42de0c
Add InitialDataRequest and InitialDataResponse marker interface for
relevant classes
2021-01-05 20:39:52 -05:00
chimp1984
2c8c9ac519
Add onMessageSent method to MessageListener 2021-01-05 20:36:51 -05:00
chimp1984
f169cf1309
Refactoring: Move PeerType outside of Connection 2021-01-05 20:34:28 -05:00
sqrrm
6fc9ad4c9b
Merge pull request #5021 from ghubstan/fix-annotations
Adjust lombok annotations to reduce build warnings
2021-01-04 14:57:50 +01:00
sqrrm
ffb2aa8feb
Merge pull request #5052 from jmacxx/show_offer_stats_by_payment_method
Add a 'payment method details' screen
2021-01-04 13:08:22 +01:00
sqrrm
7bc9c102d0
Merge pull request #5045 from chimp1984/add-option-to-hide-non-supported-payment-methods
Add option to hide non supported payment methods
2021-01-04 12:06:41 +01:00
sqrrm
4127f75b36
Merge pull request #5042 from chimp1984/select-show-all-currencies-for-transferwise
Select show-all currencies if TransferWise is selected
2021-01-04 10:53:34 +01:00
sqrrm
4da1bb0c10
Merge pull request #5041 from chimp1984/request-only-not-seeds-if-no-seed-available
Request only non-seed nodes if no seed nodes are available
2021-01-04 10:50:10 +01:00
sqrrm
bf7a528bac
Merge pull request #5040 from chimp1984/update-inventory-code
Update inventory code
2021-01-04 10:45:18 +01:00
sqrrm
5ae2a0f5a9
Merge pull request #5039 from chimp1984/add-option-for-seeds-doShutdownSeedOnInterval
Add option to prevent periodic shutdown for seed nodes
2021-01-04 10:38:34 +01:00
sqrrm
14d5600107
Merge pull request #5038 from chimp1984/add-filter-support-on-network-level
Add filter support on network level
2021-01-04 10:36:54 +01:00
jmacxx
99f8f7cdfc
Rename tab titles per code review suggestion
Offers by Currency & Offers by Payment Method
2021-01-03 22:39:57 -06:00
jmacxx
3488c9eb07
Add a 'payment method details' screen in Bisq client 2021-01-03 19:59:45 -06:00
chimp1984
05b993e7b9
Rename bannedNodeAddress to nodeAddressesBannedFromTrading 2021-01-03 18:53:15 -05:00
chimp1984
77c405530d
Add comment, remove pointless code. 2021-01-03 18:48:07 -05:00
sqrrm
2be48226d9
Merge pull request #5037 from ripcurlx/fix-german-translation
Update translations and fix a broken German translation
2021-01-03 22:46:23 +01:00
sqrrm
0004dedb3b
Merge pull request #5036 from bisq-network/hotfix/v1.5.4
Merge v1.5.4 hotfix
2021-01-03 22:44:34 +01:00
sqrrm
df5baaf88e
Merge pull request #5031 from chimp1984/access-concrete-data-stores
Access concrete data stores
2021-01-03 22:43:52 +01:00
ghubstan
0c9c96165b
Re-add @EqualsAndHashCode 2021-01-03 13:39:37 -03:00
ghubstan
c2c1ac2087
Adjust class level annoations
as per suggested changes
    https://github.com/bisq-network/bisq/pull/5021#discussion_r550903787
    https://github.com/bisq-network/bisq/pull/5021#discussion_r550903843
    https://github.com/bisq-network/bisq/pull/5021#discussion_r550903860
2021-01-03 12:01:10 -03:00
ghubstan
0638701ca3
Merge branch 'master' into fix-annotations 2021-01-03 11:34:30 -03:00
sqrrm
f6efdedd35
Merge pull request #5047 from chimp1984/optimize-signed-witness-domain
Add cache for signature verification results and a lookup map by ownerPubKey
2021-01-03 13:59:27 +01:00
chimp1984
0ce9324cf4
Add cache for signature verification results and a lookup map by ownerPubKey 2021-01-02 17:34:08 -05:00
chimp1984
eddb7cb555
Add option in preferences to hide payment methods which are not part of the users accounts.
Default value is false, so same behaviour as before the change.
If no payment account is setup then we also show all payment methods.
In that case (no payment account) we disable the toggle as well as set it to false.
2021-01-01 21:52:34 -05:00
chimp1984
55ec8fa6b7
If we select TransferWise we switch to show all
currencies as TransferWise supports sending to
most currencies.
2021-01-01 20:44:26 -05:00
chimp1984
a2d6b52483
In case requests to all seed nodes fail we take
persisted and reported peers for requests.
Before we added also the seed nodes which would
delay connection to other nodes a lot.
2021-01-01 20:36:27 -05:00
chimp1984
00ef623185
Add shutdown routine, call showAsciiLogo later 2021-01-01 17:27:51 -05:00
chimp1984
16ff7c983d
Update commit hash 2021-01-01 17:27:22 -05:00
chimp1984
9e299f045c
Make dir if not exists 2021-01-01 17:27:11 -05:00
chimp1984
67c57eb202
Increase tolerance for OfferPayload 2021-01-01 17:26:59 -05:00
chimp1984
553f0b1271
Remove v2 nodes 2021-01-01 17:26:45 -05:00
chimp1984
d5ef7e66d1
Add option to prevent periodic shutdown for seed nodes 2021-01-01 17:17:29 -05:00
chimp1984
818c797f97
Refactor sendMessage method: Inline debug value 2021-01-01 16:51:25 -05:00
chimp1984
f57d4e041b
Refactor sendMessage method: Return early 2021-01-01 16:51:25 -05:00
chimp1984
cc433ab57d
Add checks if peer is banned at send msg and InputHandlers 2021-01-01 16:51:24 -05:00
chimp1984
c8bf1d469e
Add support to filter manager for network wide banned nodes 2021-01-01 16:51:24 -05:00
chimp1984
851a44ccb8
Make code more readable 2021-01-01 16:51:05 -05:00
chimp1984
3cf6c60354
Add NetworkFilter, remove BanList 2021-01-01 16:51:05 -05:00
chimp1984
9dfcc01acd
Improve logging of received data
The numbers did not match up from delivered response size and items as we did not count
in the overhead of the ProtectedStorageEntry (pub key+sig) and did estimate the size
with taking only first item and multiplying it. A measurement resulted in 20 ms costs
for the exact calculation (toProtoMessage().getSerializedSize() has some costs).
I guess that is acceptable to get correct metrics.
2021-01-01 14:07:17 -05:00
chimp1984
0aeaa5386c
Improve logs, optimize stream 2021-01-01 14:06:16 -05:00
chimp1984
15b8f64d91
Do not shutDown with CloseConnectionReason.PEER_BANNED if we received a
CloseConnectionMessage as it would trigger a wrong log on the peers side,
that he got banned.
2021-01-01 14:05:21 -05:00
chimp1984
28dd8404f7
Merge branch 'access-concrete-data-stores' into add-filter-support-on-network-level 2021-01-01 13:50:46 -05:00
Christoph Atteneder
13e8d63837
Update translations and fix a broken German translation
dao.wallet.send.sendFunds.details
2021-01-01 18:59:22 +01:00
sqrrm
d79799aaa3
Merge pull request #5006 from Jakub-CZ/instant-error-message-update
Display up-to-date error messages under text fields
2021-01-01 17:42:50 +01:00
sqrrm
fb3b3a357a
Merge pull request #5024 from ghubstan/01-misc
Tidy up apitest
2021-01-01 16:57:30 +01:00
ghubstan
f8cf109aed
Fix CLI --help formatting bugs 2020-12-31 12:18:33 -03:00
ghubstan
81371d477c
Merge branch 'master' into 01-misc 2020-12-31 11:58:18 -03:00