Commit Graph

1994 Commits

Author SHA1 Message Date
Sergey Rozhnov
eea28c3d73 Implemented unit test for NodeAddressLookup 2018-02-15 17:10:53 +04:00
Sergey Rozhnov
60ca9fb14b Implemented unit test for NodeAddresses 2018-02-15 16:59:12 +04:00
Sergey Rozhnov
96528a0fc5 Implemented unit test for ImmutableSetDecorator 2018-02-15 16:41:02 +04:00
Sergey Rozhnov
9889144d90 Extracted AbstractImmutableSetDecorator class 2018-02-15 16:26:44 +04:00
Sergey Rozhnov
180eb6bf9f Refactored some TODOs in NodeAddress and NodeAddressLookup 2018-02-15 15:49:53 +04:00
Sergey Rozhnov
9c2f0d5c00 Refactored CoreSeedNodesRepository using NodeAddressLookup 2018-02-15 15:34:13 +04:00
Sergey Rozhnov
3e13a0f226 Extracted default addresses into a separate class 2018-02-15 15:19:51 +04:00
Sergey Rozhnov
628b14c93c Fixed compilation errors in CoreSeedNodeRepositoryFactory 2018-02-15 14:21:50 +04:00
Sergey Rozhnov
196137b30c Moved NodeAddresses into a separate class 2018-02-15 14:06:20 +04:00
Sergey Rozhnov
05f515741d Moved creation logic into a separate class 2018-02-14 23:32:51 +04:00
sqrrm
80a0829c2a
Some cleanup of CompensationRequestManager 2018-02-14 12:57:29 +01:00
Manfred Karrer
521dd62114
Change max. deviation of market price #1356 2018-02-13 21:10:55 -05:00
Manfred Karrer
ff629542e7
Use camelCase 2018-02-13 20:56:23 -05:00
Manfred Karrer
14035e58a6
Merge pull request #1355 from sqrrm/comp-req-refactor
Comp req refactor
2018-02-13 20:55:29 -05:00
Manfred Karrer
0a1dc70ec0
Fix sorting of altcoins 2018-02-13 20:37:26 -05:00
Manfred Karrer
bd6b70a8ba
Add new altcoins: Stellite, Dai Stablecoin, Obsidian, BitDaric, Yenten 2018-02-13 20:34:43 -05:00
Manfred Karrer
f8850dfd0a
Merge branch 'list-odn-coin' of https://github.com/Manbearpixel/exchange into Manbearpixel-list-odn-coin
# Conflicts:
#	core/src/main/java/io/bisq/core/trade/statistics/TradeStatisticsManager.java
2018-02-13 20:23:02 -05:00
Manfred Karrer
879d8e0660
Merge branch 'add-darx-altcoin' of https://github.com/bitdaric/exchange into bitdaric-add-darx-altcoin
# Conflicts:
#	core/src/main/java/io/bisq/core/trade/statistics/TradeStatisticsManager.java
#	gui/src/main/java/io/bisq/gui/util/validation/AltCoinAddressValidator.java
#	gui/src/test/java/io/bisq/gui/util/validation/AltCoinAddressValidatorTest.java
2018-02-13 20:19:14 -05:00
Manfred Karrer
22a3b94d40
Add Yenten 2018-02-13 20:16:53 -05:00
Manfred Karrer
2f04d1ca89
Merge pull request #1342 from reverendus/list-dai-token
Add DAI Token
2018-02-13 20:11:56 -05:00
Manfred Karrer
eb0a8b8d49
Add payment method MoneyBeam (#1349) 2018-02-13 20:00:35 -05:00
Manfred Karrer
ad56c26f7f
Add payment method Cash App (#1049) 2018-02-13 19:42:29 -05:00
Manfred Karrer
ead30822e5
Add payment method Uphold 2018-02-13 15:32:44 -05:00
Manfred Karrer
0064e5052f
Merge pull request #1332 from tau3/refactor/config-peer-nodes
Refactoring: WalletSetup#configPeerNodes
2018-02-13 13:14:16 -05:00
sqrrm
ab47148079
Move compensation request domain specifics out of gui 2018-02-13 15:26:03 +01:00
sqrrm
f73395f6f1
Fix log spelling 2018-02-13 14:03:08 +01:00
sqrrm
3fdb4fb860
Only warn on duplicate foreign compensation requests 2018-02-13 14:02:40 +01:00
sqrrm
d06746e78b
Change warning log to info 2018-02-13 13:48:48 +01:00
Manfred Karrer
e6001b17da
Fix wrong fee estimation (#1325) 2018-02-12 13:49:15 -05:00
Manbearpixel
abe20f1b97 Added ODN Address Validation 2018-02-11 14:02:21 -06:00
bitdaric
9ca3876472
add BitDaric 2018-02-11 10:45:26 +03:30
Poompon
fc94fb564e Add YENTEN [YTN] validaion 2018-02-10 15:34:52 +03:00
reverendus
0b83d9de23 Add DAI Token 2018-02-10 11:34:40 +01:00
Sergey Rozhnov
707fd5c986 Implemented unit test for BtcNodeConverter 2018-02-07 01:19:14 +04:00
Sergey Rozhnov
f9ab2614a8 Implemented unit test for PeerAddressRepository 2018-02-07 00:15:38 +04:00
Sergey Rozhnov
862de72666 Implemented unit test for WalletSetupPreferences 2018-02-06 23:38:00 +04:00
Sergey Rozhnov
cd05c8767c Implemented unit test for WalletNetworkConfig 2018-02-06 23:27:31 +04:00
Sergey Rozhnov
6c250b135a Minor refactorings in new code 2018-02-06 23:09:16 +04:00
sqrrm
8ec499888c
Simplyfy BsqParser test case setup 2018-02-06 19:26:09 +01:00
sqrrm
a6341ec7f1
Test parseBlocks and BsqBlockChain population 2018-02-06 19:21:37 +01:00
Sergey Rozhnov
bfb380e305 Replaced WalletsSetup#configPeerNodes method 2018-02-06 21:29:12 +04:00
Sergey Rozhnov
f68a997d04 Extracted ConfigPeerNodes.setUpMinBroadcastConnections method 2018-02-06 19:01:00 +04:00
Sergey Rozhnov
913873991c Implemented PeerAddressesRepository class 2018-02-06 18:23:57 +04:00
Sergey Rozhnov
9a621d064f Extracted tor nodes conversion into BtcNodeConverter 2018-02-06 17:36:40 +04:00
Sergey Rozhnov
b899304613 Added initial implementation of BtcNodeConverter class 2018-02-06 17:17:10 +04:00
Sergey Rozhnov
88e7fddc58 Split ConfigPeerNodes into smaller methods 2018-02-06 16:26:15 +04:00
Sergey Rozhnov
a62354a4bf Copied refactored method as is into a separate class 2018-02-06 15:21:03 +04:00
sqrrm
3f4a3afb2f
Remove comment, map is used in many ways 2018-02-02 13:35:37 +01:00
sqrrm
e4e376dead
Don't return genesis if no tx found 2018-02-02 13:22:02 +01:00
Manfred Karrer
ee9b133f65
Merge branch 'Development'
# Conflicts:
#	gui/src/main/java/io/bisq/gui/main/funds/transactions/TransactionsView.java
#	gui/src/main/java/io/bisq/gui/main/overlays/windows/TorNetworkSettingsWindow.java
2018-02-01 14:10:42 -05:00
Manfred Karrer
6bce8f0cc6
Merge branch 'feature/refactor-transaction-view' of https://github.com/tau3/exchange into tau3-feature/refactor-transaction-view 2018-02-01 13:38:29 -05:00
Manfred Karrer
7cd96363ff
Merge #1297 2018-02-01 13:29:25 -05:00
Manfred Karrer
26db1270a5
Merge branch 'feature/1285/account-offer-validation' of https://github.com/tau3/exchange into tau3-feature/1285/account-offer-validation 2018-02-01 13:08:47 -05:00
Manfred Karrer
664f094d99
Handle delete of spv chain file at startup for windows 2018-01-31 19:19:49 -05:00
Manfred Karrer
a7a19ceaad
Remove not needed check for old files 2018-01-31 15:16:33 -05:00
Manfred Karrer
bf244856b1
v0.6.5 2018-01-31 13:04:24 -05:00
Manfred Karrer
c2ed1e2627
Avoid need for adding tokens to both lists 2018-01-31 13:01:40 -05:00
Sergey Rozhnov
ec2a978f52 implemented TransactionAwareTradables 2018-01-31 17:52:45 +04:00
Manfred Karrer
bfc54f4d68
Add REF token 2018-01-30 19:42:14 -05:00
Manfred Karrer
8098e3c0c6
Merge remote-tracking branch 'origin/master' 2018-01-30 15:03:47 -05:00
Chris Beams
183389356f
Merge pull request #1294 from bisq-network/fix-custom-btc-nodes-issue-#1291
Fix issue with custom btc nodes
2018-01-30 20:59:19 +01:00
Manfred Karrer
1e13375b9c
Merge remote-tracking branch 'origin/master' 2018-01-30 14:45:16 -05:00
Manfred Karrer
8732aeab54
Merge pull request #1287 from bisq-network/TradePeriodStartsAfterConfirmation
Start trading period after deposit transaction confirmation
2018-01-30 14:45:01 -05:00
Manfred Karrer
aa06f3045b
Make useTorForBitcoinJ final again 2018-01-30 12:06:26 -05:00
Manfred Karrer
83f7cfbd8b
Refactor handling of empty list from custom nodes to avoid code duplication 2018-01-30 12:02:17 -05:00
Manfred Karrer
acab31955e
Use new flag useCustomNodes to not overload program argument value useAllProvidedNodes 2018-01-30 11:49:46 -05:00
Manfred Karrer
9ac49bd91a
Change guard logic for bitcoinNodesString 2018-01-30 11:41:42 -05:00
Sergey Rozhnov
0561e8e4cb implemented unit test for ReceiptValidator 2018-01-30 12:39:13 +04:00
Sergey Rozhnov
cadaac15e9 split AccountValidator into ReceiptValidator and ReceiptPredicates; implemented unit test for ReceiptPredicates 2018-01-29 18:36:23 +04:00
Manfred Karrer
d6d5993627
Merge MVT 2018-01-28 19:15:19 -05:00
Manfred Karrer
261af202d6
Support mixed clear net and onion custom nodes. Fall back to provided nodes if custom nodes are empty. 2018-01-28 19:08:10 -05:00
Manfred Karrer
45dc374176
Fix issue with custom btc nodes: #1291 2018-01-28 18:28:57 -05:00
Sergey Rozhnov
78d96037df extracted isEqualPaymentMethods and isValidByType methods in AccountValidator 2018-01-28 19:53:12 +04:00
Sergey Rozhnov
32dea5e203 extracted io.bisq.core.payment.AccountValidator.isValidForSameOrSpecificBankAccount method 2018-01-28 17:18:11 +04:00
Sergey Rozhnov
e88e53ed3f extracted io.bisq.core.payment.AccountValidator.isSameOrSpecificBank method 2018-01-28 16:53:25 +04:00
Sergey Rozhnov
35ee48510d extracted io.bisq.core.payment.AccountValidator.isMatchesCountryCodes method 2018-01-28 16:25:31 +04:00
Sergey Rozhnov
d85e23ae3d added isMatchingCurrency and isSepaRelated methods to AccountValidator 2018-01-28 16:17:54 +04:00
Sergey Rozhnov
2cff6aa06c extracted io.bisq.core.payment.PaymentAccountUtil.isPaymentAccountValidForOffer into a separate class for further refactoring 2018-01-28 16:02:47 +04:00
Manfred Karrer
b220c1a6e2
Add new strings. Cleanup. 2018-01-26 22:25:03 -05:00
Manfred Karrer
03cde2ad65
Reuse FileUtil.deleteFileIfExists 2018-01-26 22:19:56 -05:00
Manfred Karrer
da16a8169c
Add issuedReceiveAddresses to AddressEntryList at wallet restore #1288 2018-01-26 22:07:23 -05:00
Manfred Karrer
6d98ce4af2
Refactor: Move code from PendingTradesViewModel.getTimeWhenDisputeOpens to Trade.getTradeStartTime. 2018-01-26 20:11:03 -05:00
Manfred Karrer
3e32a71d64
Improve logic flow of getTimeWhenDisputeOpens. Cleanup. 2018-01-26 14:33:44 -05:00
Manfred Karrer
a70a810c76
Set boundaries for block date 2018-01-26 12:35:10 -05:00
Manfred Karrer
2a004a2f68
Merge branch 'master' into TradePeriodStartsAfterConfirmation
# Conflicts:
#	core/src/main/java/io/bisq/core/btc/wallet/WalletConfig.java
2018-01-26 12:22:45 -05:00
Manfred Karrer
020a333db1
Cleanup 2018-01-26 12:19:58 -05:00
Manfred Karrer
af03007bb7
Change bitcoin node poyvpdt762gllauu to 3xucqntxp5ddoaz5 2018-01-26 12:15:19 -05:00
Manfred Karrer
0a138c7c1c
Fix issue: User with Western Union account can accept Cash Deposit offers #1249 2018-01-26 11:45:23 -05:00
Manfred Karrer
4af14af595
Change price node rb2l2qale2pqzjyo to 62nvujg5iou3vu3i 2018-01-26 10:25:49 -05:00
Manfred Karrer
172c51a6c3
Change selection of randomized provider node 2018-01-26 08:45:36 -05:00
Manfred Karrer
9027db5c29
Improve logs 2018-01-25 22:45:10 -05:00
Manfred Karrer
cca9a62e3a
Reconnect to new provider if price data is outdated 2018-01-25 22:18:38 -05:00
Manfred Karrer
0d0c5e833c
Fix timeout and retry handling at PriceFeedService 2018-01-25 21:20:21 -05:00
Manfred Karrer
90def6de10
Fix handling of applying filter to ProvidersRepository. Refactoring of ProvidersRepository. 2018-01-25 19:23:17 -05:00
Manfred Karrer
1e9b6e40ea
Move code block in filter from onDataReceived to onUpdatedDataReceived 2018-01-25 18:42:32 -05:00
Manfred Karrer
d565c9fe0c
Refactoring: Rename onBootstrapComplete to onUpdatedDataReceived and onRequestingDataCompleted to onDataReceived. 2018-01-25 18:40:21 -05:00
sqrrm
95ecec6d12
Add command line option to set BSQ genesis tx id 2018-01-25 16:52:36 +01:00
sqrrm
14e5d69998
Minor cleanup and renaming 2018-01-25 16:42:57 +01:00
Manfred Karrer
6895ac9105
Refactoring: Rename methods 2018-01-24 20:43:30 -05:00
Manfred Karrer
f1d60ddcdb
Fix wrong argument at callFunctionWithWriteLock 2018-01-24 20:21:22 -05:00
Manfred Karrer
22d79b0f54
Remove unneeded Type 2018-01-24 20:18:18 -05:00
Manfred Karrer
125143c8f5
Merge branch 'bsqparser-test' of https://github.com/sqrrm/exchange into sqrrm-bsqparser-test 2018-01-24 20:13:59 -05:00
Manfred Karrer
34dd0b71d0
Merge branch 'Development' into dao
# Conflicts:
#	gui/src/main/java/io/bisq/gui/bisq.css
#	gui/src/main/java/io/bisq/gui/main/dao/compensation/active/ActiveCompensationRequestView.java
#	gui/src/main/java/io/bisq/gui/main/dao/compensation/create/CreateCompensationRequestView.java
#	gui/src/main/java/io/bisq/gui/main/dao/voting/vote/VoteView.java
#	gui/src/main/java/io/bisq/gui/main/dao/wallet/tx/BsqTxView.java
#	gui/src/main/java/io/bisq/gui/main/funds/transactions/TransactionsView.java
2018-01-24 19:44:01 -05:00
Christoph Fröschl
4620fb8b4b Add path character for litecoin blockcypher web address 2018-01-24 15:19:19 +01:00
sqrrm
99d9ea6619
bsqparsertest: add test for isBsqTx
Testing only the most basic cases of inputs.
2018-01-24 13:56:48 +01:00
sqrrm
4dd4c248ed
bsqparser: refactor isBsqTx and make atomic 2018-01-24 13:55:59 +01:00
Manfred Karrer
8075f9eef9
Fix NullPointer if faultHandler is null at initial request 2018-01-23 18:53:24 -05:00
sqrrm
e9e4a827ca
bsqblockchain: use write lock for atomic writes
A ReentrantReadWriteLock is used. By acquiring the write lock over the
atomic write all other locks acquired during the atomic operation will
work as expected.
2018-01-23 15:37:22 +01:00
Manfred Karrer
33eecd81aa
Release 0.6.4 2018-01-20 20:47:53 -05:00
Manfred Karrer
885e57fb62
Change default tx fee from 100 to 200 sat per byte 2018-01-20 19:52:16 -05:00
Manfred Karrer
0dc5d82983
Add XIN 2018-01-20 19:41:07 -05:00
Manfred Karrer
0594bddd0d
Add CREA coin 2018-01-20 19:38:00 -05:00
Manfred Karrer
8360f3b0e3
Cleanup 2018-01-20 19:24:18 -05:00
Manfred Karrer
ada683805b
Fix setting of new provider url after filter reset if no filter was set before 2018-01-20 19:23:59 -05:00
Manfred Karrer
0351db5f40
Fix wrong handling of initial request 2018-01-20 19:23:16 -05:00
Manfred Karrer
9cf9ce6ea4
Alwyas check for block download complete also if not localhost btc node 2018-01-20 08:44:18 -05:00
Manfred Karrer
33ed6c6d29
Add isReadyForTxBroadcast check for dispute messages 2018-01-20 08:24:32 -05:00
Manfred Karrer
fab97fcaf8
Show warning popup if not sufficient btc nodes or localhost btc node not synced 2018-01-19 21:58:26 -05:00
Manfred Karrer
a216e8e992
Change log level 2018-01-19 21:10:44 -05:00
Manfred Karrer
0e77361d96
Add method for localhost bitcoin node configPeerNodesForLocalHostBitcoinNode 2018-01-19 20:46:05 -05:00
Manfred Karrer
839ade1f4d
Move connectToLocalHost code from WalletConfig to walletSetup. Split configPeerNodes method to configPeerNodes and configPeerNodesForRegTest. 2018-01-19 20:42:00 -05:00
Manfred Karrer
a64359024e
Simplify hasSufficientPeersForBroadcast method 2018-01-19 20:36:42 -05:00
Manfred Karrer
c6691c91a1
Remove minBroadcastConnections as class field in WalletsSetup. Use walletConfig.setMinBroadcastConnections for regtest mode. 2018-01-19 20:36:19 -05:00
Manfred Karrer
410959d389
Use lombok getter/setter for WalletConfig.minBroadcastConnections. 2018-01-19 20:33:23 -05:00
Manfred Karrer
b47a40db4d
Add onion address to Bitcoin node btc.jochen-hoenicke.de 2018-01-14 17:32:22 +01:00
Manfred Karrer
10a2b53e3a
Merge branch 'master' into dao
# Conflicts:
#	core/src/main/java/io/bisq/core/app/SetupUtils.java
#	core/src/main/java/io/bisq/core/btc/wallet/BsqWalletService.java
#	core/src/main/java/io/bisq/core/btc/wallet/WalletService.java
#	gui/src/main/java/io/bisq/gui/bisq.css
#	gui/src/main/java/io/bisq/gui/main/dao/compensation/create/CreateCompensationRequestView.java
#	gui/src/main/java/io/bisq/gui/main/offer/offerbook/OfferBookViewModel.java
#	gui/src/main/resources/logback.xml
#	network/src/main/java/io/bisq/network/p2p/peers/getdata/GetDataRequestHandler.java
#	network/src/main/java/io/bisq/network/p2p/peers/getdata/RequestDataHandler.java
#	network/src/main/java/io/bisq/network/p2p/storage/P2PDataStorage.java
2018-01-12 23:21:22 +01:00
Manfred Karrer
775e687fe5
Merge branch 'master' into TradePeriodStartsAfterConfirmation 2018-01-12 22:43:31 +01:00
Manfred Karrer
6fccaca340
Fix getBlockDateForTx method 2018-01-12 22:41:48 +01:00
Manfred Karrer
b8448eb7fb
ix getBlockDateForTx method 2018-01-12 22:40:34 +01:00
Manfred Karrer
848bbdd9b1
Make tx parsing atomic by read/write lock (WIP). Add comments. 2018-01-12 18:26:33 +01:00
Manfred Karrer
d9c9345b59
Add comments. Cleanup 2018-01-12 16:48:05 +01:00
Manfred Karrer
33937e1b11
Not applying unconfimred output values to getValueSentToMeForTransaction and getValueSentFromMeForTransaction. Minor refactorings. 2018-01-12 15:59:51 +01:00
Manfred Karrer
f34cfb3e4a
Remove unneeded method call 2018-01-12 14:55:20 +01:00
Manfred Karrer
a458ba2e54
Update TODO 2018-01-12 14:54:10 +01:00
Manfred Karrer
27d1083380
Use 60 days for TTL for alert. Cleanups. 2018-01-10 22:21:32 +01:00
Manfred Karrer
7753586ea6
Merge branch 'FixWrongFeeCalculationForTaker'
# Conflicts:
#	gui/src/main/java/io/bisq/gui/main/offer/createoffer/CreateOfferViewModel.java
#	gui/src/main/java/io/bisq/gui/main/offer/takeoffer/TakeOfferDataModel.java
2018-01-10 20:56:04 +01:00
Manfred Karrer
dc310d9a50
Commit tx after timout triggers. Refactor: Move static broadcast method to Broadcaster class. 2018-01-10 20:54:00 +01:00
Manfred Karrer
382e2ccf86
Remove blockexplorer.com 2018-01-10 20:16:05 +01:00
Manfred Karrer
846aa494ca
Add check for min peers connected for broadcast 2018-01-10 19:41:26 +01:00
Manfred Karrer
c1d04cd435
Cleanup. Add comment 2018-01-10 18:59:33 +01:00
Manfred Karrer
43cc5598ca
Fix wrong fee estimation for taker. Improve logs. 2018-01-10 13:57:07 +01:00
Manfred Karrer
391844e41e
Don't delete tor files at startup. Cleanup 2018-01-10 00:54:00 +01:00
Manfred Karrer
aeec075c91
Prepare v0.6.3 2018-01-09 23:36:49 +01:00
Manfred Karrer
79e16a4b7a
Add support for start trade period timer after deposit tx has been confirmed. Not working yet. 2018-01-09 23:30:29 +01:00
Manfred Karrer
71a0fc5240
Revert removal of WalletDir optionkey 2018-01-09 22:32:46 +01:00
Manfred Karrer
c3e648dc6b
Disable dev mode 2018-01-09 22:13:55 +01:00
Manfred Karrer
5814bbaa9e
Merge branch 'dhingra-UI_issue_1123' into Development 2018-01-09 21:58:44 +01:00
Manfred Karrer
7d2879b8ae
Merge branch 'UI_issue_1123' of https://github.com/dhingra/exchange into dhingra-UI_issue_1123 2018-01-09 21:49:50 +01:00
Manfred Karrer
532f351b6e
Add WILD token 2018-01-09 21:36:51 +01:00
Manfred Karrer
7f0e871007
Delay callback of tx broadcaster 2018-01-09 21:15:58 +01:00