Commit graph

4462 commits

Author SHA1 Message Date
Oscar Guindzberg
00c9f401c1
WalletConfig.preferredOutputScriptType: make it a method variable 2020-09-18 18:29:36 -03:00
Oscar Guindzberg
5a00770377
bitcoinj 0.15: BisqRiskAnalisys: Add commented out code to match original DefaultRiskAnalysis. 2020-09-18 18:29:35 -03:00
Oscar Guindzberg
d8e0ba752f
bitcoinj 0.15: Replace deprecated Script methods with ScriptPattern methods. 2020-09-18 18:29:34 -03:00
Oscar Guindzberg
76e6955aa4
bitcoinj 0.15: Replace deprecated Transaction.getHash() with Transaction.getTxId(). 2020-09-18 18:29:34 -03:00
Oscar Guindzberg
9a9b067d70
bitcoinj 0.15: Replace deprecated Transaction.getHashAsString with Transaction.getTxId().toString(). 2020-09-18 18:29:33 -03:00
Oscar Guindzberg
6e50996ae4
bitcoinj 0.15: Remove call to PeerGroup.setIgnoreHttpSeeds(true). 2020-09-18 18:29:33 -03:00
Oscar Guindzberg
e5fa24e909
bitcoinj 0.15: Bip44 refactor.
- WalletConfig was rewritten from scratch based on bitcoinj 0.15 WalletAppKit.
- bitcoinj 0.15 allows bip32 custom paths by constructor parameters, some subclasses were removed.
2020-09-18 18:29:33 -03:00
Oscar Guindzberg
7b172c1280
bitcoinj 0.15: PeerAddress: BtcNodeConverterTest fixes. 2020-09-18 18:29:32 -03:00
Oscar Guindzberg
3717323444
bitcoinj 0.15: PeerAddress: Use InetSocketAddress constructor instead of InetAddress+port. 2020-09-18 18:29:32 -03:00
Oscar Guindzberg
4348f663ca
bitcoinj 0.15: PeerAddress: don't set addr when already using hostname. 2020-09-18 18:29:32 -03:00
Oscar Guindzberg
8e45633dd8
bitcoinj 0.15: Use PeerAddress constructor with NetworkParameters parameter. 2020-09-18 18:29:31 -03:00
Oscar Guindzberg
e57c3010e3
bitcoinj 0.15: Replace Utils.closeUnchecked() to Closeables.closeQuietly() to match WalletAppKit. 2020-09-18 18:29:31 -03:00
Oscar Guindzberg
7e57bdb416
bitcoinj 0.15: Deal with methods throwing SignatureDecodeException. 2020-09-18 18:29:31 -03:00
Oscar Guindzberg
87481cdbf5
bitcoinj 0.15: Replace usage of bitcoinj's removed methods with new ones. 2020-09-18 18:29:30 -03:00
Oscar Guindzberg
26b20f0af7
bitcoinj 0.15: replace ECKey.toAddress() with LegacyAddress.fromKey(). 2020-09-18 18:29:30 -03:00
Oscar Guindzberg
7356b64f59
bitcoinj 0.15: Use LegacyAddress.fromBase58() instead of Address.fromBase58(). 2020-09-18 18:29:30 -03:00
Oscar Guindzberg
46f2ba6ee0
bitcoinj 0.15: WalletEventListener was replaced by more granular listeners. 2020-09-18 18:29:29 -03:00
Oscar Guindzberg
f0735a3b0c
bitcoinj 0.15: ScriptException moved to another package. 2020-09-18 18:29:29 -03:00
Oscar Guindzberg
d4ac45da21
bitcoinj 0.15: bitcoinj moved from spongycastle to bouncycastle. 2020-09-18 18:29:28 -03:00
Oscar Guindzberg
850ae9a6aa
bitcoinj 0.15: Use new Wallet.toString() with includeLookAhead boolean param. 2020-09-18 18:29:28 -03:00
Oscar Guindzberg
423ffa84e1
bitcoinj 0.15: Futures.addCallback() in guava 28 requires an executor. 2020-09-18 18:29:27 -03:00
Oscar Guindzberg
e9a8be372a
Use bitcoinj 0.15.8 (commit 86c7094) 2020-09-18 18:29:24 -03:00
sqrrm
b812a261cf
Merge pull request #4524 from ghubstan/1-register-regest-dispute-agents
Add core support for registration of regtest dispute agents via API
2020-09-16 16:33:18 +02:00
ghubstan
57423f4fdb
Refactor to fix dispute agent mgr usage 2020-09-16 11:14:30 -03:00
sqrrm
e8c2974f14
Merge pull request #4515 from m52go/refresh-strings-1
Refresh strings, 1/n
2020-09-16 14:46:06 +02:00
Christoph Atteneder
98b03937d8
Merge branch 'master' of github.com:bisq-network/bisq into release/v1.3.8
# Conflicts:
#	core/src/main/java/bisq/core/support/dispute/agent/MultipleHolderNameDetection.java
#	core/src/main/java/bisq/core/trade/txproof/xmr/XmrTxProofService.java
2020-09-15 13:24:06 +02:00
ghubstan
bbf4f09181
Add core impl for registering dispute agents
This change supports registering mediators and refund agents on
daemons running on regest or testnet chains.  Registering
arbitrators is not supported.
2020-09-14 11:04:10 -03:00
chimp1984
156559cb9a
Increase timeouts 2020-09-14 09:53:52 +02:00
chimp1984
76267afabf
Increase timeouts 2020-09-13 17:12:25 -05:00
Christoph Atteneder
a19c662b44
Merge pull request #4511 from sqrrm/return-on-null
Return if setting not present
2020-09-11 16:53:21 +02:00
Christoph Atteneder
2b9445d50f
Merge pull request #4507 from chimp1984/fix-bug-with-seed-restore-and-open-offers
Fix bug with seed restore and open offers
2020-09-11 16:52:11 +02:00
wiz
ab5aee5aab
Revert Tether USD for now due to various issues 2020-09-10 21:31:22 +02:00
wiz
de48b3b040
Revert Tether USD for now due to various issues 2020-09-11 00:51:19 +09:00
Devin Bileck
8dcb5dadd5
Add new Monero explorer xmrblocks.bisq.services with onion
As per https://github.com/bisq-network/proposals/issues/257
2020-09-10 14:01:38 +02:00
sqrrm
db8c02b40b
Return if setting not present 2020-09-10 10:29:05 +02:00
sqrrm
579c2c416b
Merge pull request #4510 from devinbileck/add-xmr-explorer
Add new Monero explorer xmrblocks.bisq.services with onion
2020-09-10 10:23:52 +02:00
Devin Bileck
18496b71e2
Add new Monero explorer xmrblocks.bisq.services with onion
As per https://github.com/bisq-network/proposals/issues/257
2020-09-09 21:17:15 -07:00
chimp1984
00d267e4db
Merge branch 'master_upstream' into fix-bug-with-seed-restore-and-open-offers 2020-09-09 14:29:27 -05:00
chimp1984
6821c582e9
Add check for open offers and remove them if present at restore from seed 2020-09-09 14:12:03 -05:00
chimp1984
1bea05d8c6
Fix bug with wallet restore with same seed and when there was
an open offer.

Improve handling of restore and add more checks to avoid invalid
entries.
2020-09-09 13:52:34 -05:00
chimp1984
77e5d71ca4
Remove unused method 2020-09-09 13:50:42 -05:00
chimp1984
7fb42f37eb
Improve toString method 2020-09-09 13:47:32 -05:00
chimp1984
38299a9498
Remove side effect in setUserName method and add extra handling for the
moment we save the account. Only at that moment we check if we need to
set the accountId with the value of the userName.
We do that in the domain layer to avoid more domain logic code in the UI
layer.

Fixes bug found at:
https://github.com/bisq-network/bisq/pull/4481#pullrequestreview-485066342
2020-09-09 20:42:48 +02:00
chimp1984
20cb98aa93
Remove side effect in setUserName method and add extra handling for the
moment we save the account. Only at that moment we check if we need to
set the accountId with the value of the userName.
We do that in the domain layer to avoid more domain logic code in the UI
layer.

Fixes bug found at:
https://github.com/bisq-network/bisq/pull/4481#pullrequestreview-485066342
2020-09-09 11:21:43 -05:00
wiz
e7016a3ede
Rename Monero Explorer to friendlier hostname explorer.monero.wiz.biz 2020-09-09 15:16:46 +02:00
wiz
bafd116c82
Tweak string for "Service Addresses" to "Monero Explorer URLs" 2020-09-09 15:12:16 +02:00
wiz
cc7e6559ff
Use lots of regex to add http or https for XMR explorer API endpoint
* If Tor *.onion hostname, use HTTP with Tor proxy
* If 127.0.0.1 or localhost, use HTTP without Tor proxy
* If LAN address or *.local FQDN, use HTTP without Tor proxy
* If any other FQDN hostname, use HTTPS with Tor proxy
2020-09-09 15:12:09 +02:00
chimp1984
5a53cc6a73
Move remove code from shutDown to onP2pNetworkAndWalletReady 2020-09-09 15:07:35 +02:00
chimp1984
dbefddf940
Improve handling of p2pNetworkAndWalletReady
The p2pNetworkAndWalletReady MonadicBinding might be removed from GC
if its a local variable. I observed that in BisqSetup with a similar
setup. It might be an implementation weakness in MonadicBinding
(usage of weak references?). A tester reported that he does not see any
result, which might be cause that the service never gets the
onP2pNetworkAndWalletReady triggered if the MonadicBinding is not there
anymore.
By removing the listener we need at shutdown we need it anyway as class
field (so codacy does not complain anymore). As well added a check if
all is already complete to skip the MonadicBinding at all
(not expected case in onAllServicesInitialized).
2020-09-09 15:07:29 +02:00
wiz
8949eaa7e2
Tweak strings of "BSQ Explorer" -> "Bisq Explorer" and "Bitcoin Explorer" 2020-09-09 15:05:56 +02:00