Commit Graph

1317 Commits

Author SHA1 Message Date
Manfred Karrer
9166494d69 Add filter checks in trade protocol 2017-06-21 19:10:12 +02:00
Manfred Karrer
5adefa2409 Fix price validator min. value. Add FiatPriceValidator to distinguish between volume (0.01) and price (0.0001) 2017-06-21 18:39:54 +02:00
Manfred Karrer
d7f00e48e6 Make tradeLimits custom per baseCurrency 2017-06-21 17:27:38 +02:00
Manfred Karrer
01cef04afd Add check if node addresses is in filter at process data at maker and taker 2017-06-16 01:16:42 +02:00
Manfred Karrer
0cb4223246 Add printing of stats for trades by currency 2017-06-16 00:40:29 +02:00
Manfred Karrer
1464beb200 Fix issue with not selecting market price at startup 2017-06-15 23:29:50 +02:00
Manfred Karrer
d35b512007 Add Blockcypher explorer 2017-06-15 18:15:04 +02:00
Manfred Karrer
af9b583a0a Add arbitratorPubKeyRing and mediatorPubKeyRing to trade. remove arbitrator from user at revoke 2017-06-15 15:03:56 +02:00
Manfred Karrer
93eecd17e4 Fix transient fields on OfferForJson. Dont dump json in iteration but after. 2017-06-14 23:46:57 +02:00
Manfred Karrer
3f164e7923 Update provider address 2017-06-14 21:32:37 +02:00
Manfred Karrer
ccad4334a7 Move getDefaultBaseCurrencyNetwork from BaseCurrencyNetwork to BisqEnvironment.
Reformat BisqEnvironment with statics on top.
2017-06-14 15:10:50 +02:00
Manfred Karrer
275ea6846b Move baseCurrency methods form BaseCurrencyNetwork to BisqEnvironment 2017-06-14 14:46:56 +02:00
Manfred Karrer
b334065af0 Use static BaseCurrencyNetwork.getBaseCurrencyNetwork() calls. Rename env to environment and type Environment to BisqEnvironment in concrete classes. 2017-06-14 13:51:34 +02:00
Manfred Karrer
362b0f9793 Add flags for deactivating dao and dao phase 2 features 2017-06-14 13:03:46 +02:00
Manfred Karrer
a348cf8bb1 Add DogecoinRegTestParams (placeholder, not impl yet) 2017-06-13 20:58:39 +02:00
Manfred Karrer
72a0c4168d Add readObject to cover transient fields from serialized data 2017-06-13 20:48:56 +02:00
Manfred Karrer
ac2fc814fd Add ltc and doge block explorers 2017-06-13 13:45:53 +02:00
Manfred Karrer
edb71d1d86 Add altcoin validation for btc. ltc and doge. change order of base currency network to avoid to break port assignment by enum ordinal. add btc to altcoin list if not base currency. 2017-06-13 12:44:25 +02:00
Manfred Karrer
7bd9ba6fb0 Convert btc based market price to ltc or doge based market price 2017-06-13 11:24:11 +02:00
Manfred Karrer
1b50bc9a3a Make minNonDustOutput base coin context specific 2017-06-13 10:41:41 +02:00
Manfred Karrer
b4fff9e1f6 Add market selection popup at startup 2017-06-13 08:53:13 +02:00
Manfred Karrer
9aba9e607a Make tx fee dynamic by base currency 2017-06-13 07:35:35 +02:00
Manfred Karrer
5a0d493d02 Use 100 000 Sat for 1 BSQ in formatter. Use localhost fee provider 2017-06-12 21:54:08 +02:00
Manfred Karrer
9337101a9b Change fee structure for ltc 2017-06-12 21:39:37 +02:00
Manfred Karrer
ed6b2d9974 Add LtcFeesProvider 2017-06-12 21:15:17 +02:00
Manfred Karrer
75ed3f3baf Don't check sig if no sig is there. 2017-06-12 17:49:21 +02:00
Manfred Karrer
9b5172b2de Add basic PB support for BSQChainState (java serialized atm) 2017-06-12 12:29:30 +02:00
Manfred Karrer
7e52f2f6b8 Replace usage of "BTC" in code with base currency. Set LTC genesis tx (dev) 2017-06-12 01:59:10 +02:00
Manfred Karrer
f9cd71c5c2 Replace usage of "BTC" in code with base currency. Remove denomination property in preferences 2017-06-11 23:39:41 +02:00
Manfred Karrer
d27c4a6d7f Use https://github.com/bitsquare/bitsquare instead of https://github.com/bisq/bisq 2017-06-11 22:52:47 +02:00
Manfred Karrer
ba3fcc2cd4 Apply string replace for BTC, Bitcoin and bitcoin to selected base currency 2017-06-11 22:49:26 +02:00
Manfred Karrer
bf377501ad Add seed node for ltc mainnnet 2017-06-11 22:18:28 +02:00
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