Commit Graph

13644 Commits

Author SHA1 Message Date
chimp1984
a346db696f
Handle BundleOfEnvelopes in ConnectionState
Add ConnectionStatistics
Print statistics of all live connections periodically
2021-01-06 00:18:56 -05:00
chimp1984
347e68004c
Use OS independent double line breaks for better readability 2021-01-05 22:20:09 -05:00
chimp1984
3fa22427c7
Set expectedRequests to 5 in case of fullDaoNode as
it does not do the getBlocksRequest.
2021-01-05 22:19:26 -05:00
chimp1984
c7bc7720d8
Add safety filter to removeAnonymousPeers
Cleanups
2021-01-05 21:42:19 -05:00
chimp1984
769a78fe52
Behaviour change: Remove setAllowDisconnectSeedNodes method
We handle it in ConnectionState by counting
requests and responses and adding a timer
2021-01-05 21:42:18 -05:00
chimp1984
7414df0951
Behaviour change: Remove removeSuperfluousSeedNodes method
We handle the connections by INITIAL_DATA_EXCHANGE which
cover the seed nodes as well. Do have an parallel routine
is risky and make things more complex.
2021-01-05 21:41:57 -05:00
chimp1984
34230f43f6
Fix wrong return value for getMaxConnections 2021-01-05 21:21:58 -05:00
chimp1984
5628b7b85c
Refactor:
Rename maxConnectionsPeer to outBoundPeerTrigger
Rename maxConnectionsNonDirect to initialDataExchangeTrigger

Update comment
2021-01-05 21:21:17 -05:00
chimp1984
cf4d89dea2
Behaviour change:
In the 3rd attempt we filter for
INITIAL_DATA_EXCHANGE peers.
Before we excluded 2 types and as PEER have been
already filtered earlier we would look up for SEED_NODE.
This was only called by non-seedNodes.
2021-01-05 21:10:45 -05:00
chimp1984
4d64fac401
Refactor: Rename lastInitialDataExchangeMessageTimeStamp to lastInitialDataMsgTimeStamp 2021-01-05 21:03:16 -05:00
chimp1984
acad31fa63
Do sorting at candidates stream.
At INITIAL_DATA_EXCHANGE we sort
by lastInitialDataExchangeMessageTimeStamp
2021-01-05 21:02:09 -05:00
chimp1984
3d55c16c8b
Update display string and UI representation 2021-01-05 20:56:27 -05:00
chimp1984
e1b1781e66
Remove PeerType.SEED_NODE
Fix typo
2021-01-05 20:56:04 -05:00
chimp1984
5f977ffe6f
Use isSeedNode 2021-01-05 20:55:29 -05:00
chimp1984
0bb9d15653
Fix null pointer 2021-01-05 20:55:10 -05:00
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