Commit Graph

13608 Commits

Author SHA1 Message Date
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
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
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
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
Christoph Atteneder
0f7756267d
Merge branch 'master' of github.com:bisq-network/bisq into hotfix/v1.5.4
# Conflicts:
#	build.gradle
#	desktop/package/linux/Dockerfile
#	desktop/package/linux/package.sh
#	desktop/package/linux/release.sh
#	desktop/package/macosx/create_app.sh
#	desktop/package/macosx/finalize.sh
#	desktop/package/macosx/insert_snapshot_version.sh
#	desktop/package/windows/package.bat
#	desktop/package/windows/release.bat
#	relay/src/main/resources/version.txt
2020-12-31 14:00:12 +01:00
Christoph Atteneder
31ee62b6c0
Revert to SNAPSHOT version 2020-12-31 13:58:20 +01:00
sqrrm
6e12bad4b5
Merge pull request #5033 from chimp1984/add-date-check-at-republish=account-age-witness
[1.5.4] Only publish witness if we are in date tolerance
2020-12-31 11:57:44 +01:00
sqrrm
d633d13b88
Merge pull request #5032 from chimp1984/check-for-duplicates-at-onBundleOfEnvelopes
[1.5.4] Check for duplicate hashes at onBundleOfEnvelopes
2020-12-31 11:52:36 +01:00
sqrrm
4c14d4e232
Merge pull request #5030 from chimp1984/fix-incorrect-map-lookup-forhistorical-data-stores
[1.5.4] We need to use the getMapOfAllData method for HistoricalDataStoreServices
2020-12-31 11:28:30 +01:00
chimp1984
4d2e9c1f4f
Fix missing param in test 2020-12-31 07:18:53 +01:00
chimp1984
f79c155efd
Only publish witness if we are in date tolerance 2020-12-31 07:18:45 +01:00
chimp1984
9f51bbc627
Check for duplicate hashes at onBundleOfEnvelopes
Set log level to debug to not spam logs with it.
2020-12-31 07:18:08 +01:00
chimp1984
55c5d4e078
We need to use the getMapOfAllData method for HistoricalDataStoreServices 2020-12-31 07:17:50 +01:00
chimp1984
8c0346c23c
Revert dev values for NUM_SEEDS_FOR_PRELIMINARY_REQUEST and NUM_ADDITIONAL_SEEDS_FOR_UPDATE_REQUEST 2020-12-31 07:17:31 +01:00
chimp1984
35c6a9aca4
Force travis for rebuild 2020-12-31 00:56:21 -05:00
Christoph Atteneder
3914e5c198
Bump version number for v1.5.4 2020-12-31 06:55:20 +01:00
chimp1984
203a6e0681
Force travis for rebuild 2020-12-31 00:44:57 -05:00
chimp1984
a3e8d4d225
Fix missing param in test 2020-12-31 00:42:23 -05:00
chimp1984
381322f600
Only publish witness if we are in date tolerance 2020-12-30 23:20:38 -05:00
chimp1984
b9ca29988f
Check for duplicate hashes at onBundleOfEnvelopes
Set log level to debug to not spam logs with it.
2020-12-30 20:56:51 -05:00
chimp1984
6a35410c69
Log error (and throw exception if in devMode) if
HistoricalDataStoreService.getMap is called.

HistoricalDataStoreService.getMap should not be used by domain
clients but rather the custom methods getMapOfAllData,
getMapOfLiveData or getMapSinceVersion.

As we have not removed the calls from ProposalService and
other domains we return getMapOfAllData() instead of the live map.
This was prevented earlier for performance reasons. It is more safe
thought to return in case of an illegal access all data instead of
live data only.
2020-12-30 20:47:15 -05:00
chimp1984
4489e57849
Use concrete dataStorageServices instead
p2PService.getP2PDataStorage().getAppendOnlyDataStoreMap().

p2PService.getP2PDataStorage().getAppendOnlyDataStoreMap() iterates
over all services including the historical data store service. It used the
getMap method which should not be used at historical data store service as
it is not clear if the live data or all data should be accessed.
2020-12-30 20:38:42 -05:00
chimp1984
85caf88913
We need to use the getMapOfAllData method for HistoricalDataStoreServices 2020-12-30 20:20:57 -05:00