Commit graph

1249 commits

Author SHA1 Message Date
Manfred Karrer
64a72ddec1 Add comment 2017-06-10 23:57:47 +02:00
Manfred Karrer
a860f8c8d3 Support LTB for DAO as base currency 2017-06-10 13:56:30 +02:00
Manfred Karrer
f847900049 Rename BaseCryptoNetwork to BaseCurrencyNetwork 2017-06-10 13:06:24 +02:00
Manfred Karrer
f8c7149e68 Merge branch 'DAO' into altcoins 2017-06-10 11:29:36 +02:00
Manfred Karrer
934474f6d0 Fix incorrect handling of messageVersion. Make NetworkEnvelope a abstract class instead of Interface. 2017-06-09 17:36:16 +02:00
Mike Rosseel
f99a3c1238 Merge branch 'DAO' into altcoins
Conflicts:
	common/src/main/java/io/bisq/common/proto/ProtoUtil.java
	core/src/main/java/io/bisq/core/user/Preferences.java
2017-06-09 16:58:06 +02:00
Mike Rosseel
a61a350ec7 read preferred crypto network from property file 2017-06-09 16:45:41 +02:00
Manfred Karrer
e86edd8384 Migrate old trade statistic db to new data structure.
Use SignaturePubKeyBytes instead of PubKeyRing in TradeStatistics.
Use PersistedEntryMap instead of PersistableHashMap.
Use bytes as Hex encoded instead of toString call.
Use ConcurrentHashMap for SequenceNumberMap and PersistedEntryMap
2017-06-08 23:47:55 +02:00
Manfred Karrer
a1aa1021eb Apply code formatter 2017-06-08 18:06:17 +02:00
Manfred Karrer
65285bfe30 Apply code inspection 2017-06-08 18:02:05 +02:00
Manfred Karrer
8485e6655d Dont call closeDisputedTrade at onDisputedPayoutTxMessage.
Add RuntimeException if tx signing fails
2017-06-08 12:36:40 +02:00
Manfred Karrer
813d896295 Fix P2PDataStorage bug (missing super call for lombok equalsandhashcode) 2017-06-08 12:06:09 +02:00
Manfred Karrer
8c051c3873 Add missing initPersistedDataHosts calls. Refactorings 2017-06-08 12:05:06 +02:00
Manfred Karrer
677f6c81c6 Add missing contractHash from PB.Trade.
Dont set nullable trade objects if PB is not set.
Remove Serializable form Proto interface
Remove LookAheadObjectInputStream
2017-06-08 00:55:53 +02:00
Manfred Karrer
b64457e869 Fix missing ProtocolVersion in Offer.
Use getTTL() instead of Lombok Getter with instance field
2017-06-07 21:15:50 +02:00
Manfred Karrer
22d90f627c Use ProtoUtil.protoToNullableString and protoToToNullableByteArray instead of isEmpty checks and null assignement.
Use fromProto for BlockChainExplorer, Country, CryptoCurrency, FiatCurrency
Use @EqualsAndHashCode(callSuper = true) for PaymentAccounts
Replace Samenknoten with Seednodes in german translation
Clean up PB definitions.
2017-06-07 20:25:38 +02:00
Mike Rosseel
d50ff6c6dc added the LTC network id's, renamed bitcoinNetwork to baseCryptoNetwork.
Still a few places with BTC left, needs some more thought like TOR options, file to save the wallet to, ...
2017-06-06 11:14:15 +02:00
Manfred Karrer
1e01ef3650 Cleanup PB definitions and methods 2017-06-06 02:39:37 +02:00
Manfred Karrer
e5b775d07c Cleanup PB definitions and methods 2017-06-05 23:13:51 +02:00
Manfred Karrer
3f756d4923 Cleanup PB definitions and methods 2017-06-05 21:03:50 +02:00
Manfred Karrer
5558d2f39b Fix nullable fields in Dispute 2017-06-05 20:02:58 +02:00
Manfred Karrer
0c50fb9413 Fix missing check of isMyOwnRegisteredArbitrator 2017-06-04 00:13:42 +02:00
Manfred Karrer
37f8cb8127 Fix issues with dispute, trade, userpayload, persistance 2017-06-02 18:55:17 +02:00
Manfred Karrer
2a7f851936 Fix TradableList, impl. missing fromProto methods 2017-05-31 01:36:12 +02:00
Manfred Karrer
1efe4e8828 Fix PaymentAccount id issue 2017-05-30 22:20:48 +02:00
Manfred Karrer
4b88465b47 Remove AtomicBoolean 2017-05-30 19:52:06 +02:00
Manfred Karrer
bddeb381a6 Fix nullpointer, cleanups.... 2017-05-30 15:34:57 +02:00
Mike Rosseel
5cb30dbffb fix the bug where a persisted paymentaccount would have a wrong id by eliminating the duplicate id on PaymentAccount/PaymentAccountPayload 2017-05-30 14:07:13 +02:00
Mike Rosseel
3570f609a9 don't crash on empty OpenOffers 2017-05-26 14:42:02 +02:00
Mike Rosseel
5752fdc4b6 fix OpenOffer bug 2017-05-24 15:48:40 +02:00
Mike Rosseel
879d1ec392 Persisted_entry_map now saved, tradablelist fixes (wip) 2017-05-22 15:00:46 +02:00
Mike Rosseel
dc32bd24b1 fix don't show again bug. Better log text. 2017-05-18 17:04:05 +02:00
Mike Rosseel
790dfa80a7 fix startup bug by ensure the userPayload always has initialized lists, add try/catch in some places 2017-05-18 11:46:44 +02:00
Mike Rosseel
32d905e475 no need for atomic, only run on gui thread 2017-05-17 14:31:59 +02:00
Mike Rosseel
a9b8b51bd6 preferences refactoring 2017-05-16 16:13:09 +02:00
Manfred Karrer
6939145045 Merge branch 'WIP' into DAO
# Conflicts:
#	common/src/main/java/io/bisq/common/storage/FileManager.java
2017-05-15 14:13:19 +02:00
Manfred Karrer
3cc27fe89a Refactor User and Preferences (User still not working correctly) 2017-05-15 14:09:39 +02:00
Mike Rosseel
f0b342d91f Merge remote-tracking branch 'origin/DAO' into DAO
# Conflicts:
#	common/src/main/java/io/bisq/common/storage/FileManager.java
2017-05-14 20:23:18 +02:00
Mike Rosseel
f8a315a3d4 second part of the enum fix + logging fixes for filemanager 2017-05-14 18:40:10 +02:00
Manfred Karrer
028d26e23e Handle casting errors at ProtoUtil. Rename ProtoCommonUtil to ProtoUtil, remove ProtoCoreUtil 2017-05-14 15:09:55 +02:00
Manfred Karrer
f7ef638b1c Merge branch 'offerlist' into DAO
# Conflicts:
#	core/src/main/java/io/bisq/core/trade/TradableList.java
#	core/src/main/java/io/bisq/core/trade/protocol/ProcessModel.java
#	core/src/test/java/io/bisq/core/util/ProtoBufferUtilitiesTest.java
2017-05-14 14:48:20 +02:00
Manfred Karrer
f899d217c0 Fix missing impl of pb in tradingPeer and fix nullable data and incorrect enum values 2017-05-14 14:42:34 +02:00
Mike Rosseel
559eb59498 first part of the enum fix 2017-05-14 13:50:59 +02:00
Manfred Karrer
ce58862774 WIP 2017-05-14 01:22:23 +02:00
Manfred Karrer
70f81789f0 Fix issue with OpenOffer persistence. 2017-05-14 00:23:32 +02:00
Manfred Karrer
c2c64d9e9d Fix bug in AddressEntryList, add TradeStatisticsList 2017-05-13 23:24:27 +02:00
Manfred Karrer
62f5f3522c Refactored protobuffer AddressEntryList and Navigation 2017-05-13 22:33:10 +02:00
Manfred Karrer
07cd0b5f00 Refactored protobuffer AddressEntryList and PeerList 2017-05-13 21:21:40 +02:00
Manfred Karrer
f8be0f2c2e Add missing handling of nullable data 2017-05-13 20:16:20 +02:00
Manfred Karrer
3e6b338cc7 Refactored PaymentAccounts protobuffer handling 2017-05-13 20:03:28 +02:00