Commit Graph

3693 Commits

Author SHA1 Message Date
wiz
322fe23ea7 Increase analytics operator bond amount from 1 to 2
As discussed in:
https://github.com/bisq-network/proposals/issues/115#issuecomment-529490565
2019-09-09 20:47:04 +02:00
chimp1984
bb806cfbc3 Add bsq price trend indicator (#3226)
* Change text field for median to average 30

The average 30 days price is more relevant information than the small
different between average and median price. To add a second tuple of
both would be another option would overload the screen with not that
relevant information.

In a follow up commit we want to add an ip/down indication so see
price trend.

Fixes also handling of 0 values.

* Apply reformat (no code change)

* Add support for columnIndex

* Add price trend indicator

If average 30 days price is > av. 90 days price we show a green
arrow up, otherwise a red arrow down. If same we don't show an arrow.

* Fix dev test change

Forgot to change back a small change to test directions...

* Fix padding issues
2019-09-09 12:39:08 +02:00
wiz
a3a3bf2b2a
Add new BondedRoleType for Analytics Operator 2019-09-09 11:56:17 +09:00
chimp1984
b210118821
Set old DAO Capabilities Deprecated
All nodes have DAO capabilities now so we can set those which are not
optional (DAO_FULL_NODE, RECEIVE_BSQ_BLOCK) as deprecated and remove
the CapabilityRequiringPayload interface from the relevant messages.

To support non-DAO nodes in the future if needed we can use the
existing options for deactivating the DAO.
2019-09-07 13:21:23 +02:00
Christoph Atteneder
7c034a49c6
Merge pull request #3212 from chimp1984/add-average-bsq-price
Add average bsq price
2019-09-06 17:10:25 +02:00
Florian Reimair
69d70f386e
Revert non-changes 2019-09-06 16:21:22 +02:00
Christoph Atteneder
211eb1b4f1
Merge pull request #3213 from christophsturm/cleanup-thread-handling
Simplify thread handling and ensure proper they all have names
2019-09-06 16:15:15 +02:00
Christoph Atteneder
ec0b657967
Merge pull request #3216 from christophsturm/optimize-logging
More logging optimisations.
2019-09-06 16:12:55 +02:00
Christoph Sturm
934e31d28c don't calculate values twice 2019-09-06 12:25:30 +02:00
Christoph Sturm
42311ea7d3 optimize debug logging. 2019-09-06 12:25:30 +02:00
chimp1984
9be4b71088
Add comments 2019-09-06 11:49:33 +02:00
chimp1984
7856722fa5
Remove CapabilityRequiringPayload from TradeStatistics2
We do not have any old versions anymore which might not support
TradeStatistics2, so we can remove it.
2019-09-06 11:49:21 +02:00
chimp1984
206c4bc6e1
Remove CapabilityRequiringPayload from AccountAgeWitness
We do not have any old versions anymore which might not support
AccountAgeWitness, so we can remove it.
2019-09-06 11:49:07 +02:00
Christoph Sturm
6273a58c3b Assign even more thread names at thread creation. 2019-09-06 11:07:34 +02:00
Christoph Sturm
bcaac51830 Assign more thread names at thread creation. 2019-09-06 11:07:34 +02:00
Christoph Sturm
6cb206c257 Inline unused variable 2019-09-06 11:07:34 +02:00
Christoph Sturm
175899486e Use try with resource. 2019-09-06 11:07:34 +02:00
Christoph Sturm
ac78f72c1e Set thread name at thread creation 2019-09-06 11:07:34 +02:00
chimp1984
5d4f9afa71
Add 90 days average and median BSQ price 2019-09-06 04:43:30 +02:00
battleofwizards
82e9672e91
Remove PGP keys from the KeyRing
The PGP support was envisioned in the KeyRing but never fully
implemented. This removes the (essentially) dead code.

The protobuf message compatibility is implemented with `reserved`.
2019-09-05 14:30:33 +02:00
Christoph Atteneder
5dcfa96741
Add portuguese (Brazil) locale 2019-09-05 10:35:35 +02:00
Christoph Atteneder
285e5f236d
Merge pull request #3189 from gordonel/patch-1
Change trader-facing language to gender-neutral
2019-09-04 10:33:23 +02:00
battleofwizards
1c580da5ed
Remove bouncycastle:bcprov from *direct* dependencies
We still depend on this jar *indirectly* via bouncycastle:bcpg,
which is used for PGP signature verification of Bisq Desktop updates.

This gets us closer to prospect of removing Bounce Castle dependency
entirely in the future.

Rationale for this direction:

* We are really only using Bouncy Castle for PGP sig verification
* Java's builtin cryptography got vastly better since 2000
* We should prefer boring and proven cryptography anyway
* Australian projects should be considered compromised,
  and Bouncy Castle is run by Australian non-profit organization
* Bouncy Castle is a heavy dependency totaling 3.6MB
2019-09-03 15:07:22 +02:00
Gordon E
7b2ab4adda
Update ApplyFilter.java 2019-09-03 12:36:42 +03:00
Gordon E
688bb4e423
Update displayStrings.properties 2019-09-03 12:35:38 +03:00
Gordon E
42a69c73bb
add missing corrections 2019-09-03 12:31:35 +03:00
Gordon E
e257df4244
Update displayStrings.properties 2019-09-03 12:12:19 +03:00
Christoph Atteneder
4139e022df
Update bitcoinj checkpoint 2019-09-02 15:14:42 +02:00
Christoph Atteneder
3fc19f92b8
Merge pull request #3182 from christophsturm/fix-npe
fix NPE in shutdown hook
2019-09-02 14:39:12 +02:00
chimp1984
3f885c21e5
Use ARBITRATION instead of MEDIATION 2019-09-02 14:15:15 +02:00
chimp1984
629a16f163
Change DisputeCommunicationMessage.Type enum
To support future mediation chats
2019-09-02 14:10:54 +02:00
Christoph Sturm
ba099d9262 fix NPE in shutdown hook 2019-09-02 13:04:29 +02:00
Chris Beams
fdecf6f33c
Remove cbeams pricenode from ProvidersRepository
The BitcoinAverage developer plan API keys in use for this node have
recently expired. Given that we already have four other pricenodes
up and running, there's no compelling reason to keep this fifth one in
place and to pay for hosting and API keys for it every month.
2019-09-02 12:34:22 +02:00
Christoph Atteneder
5d260ad42b
Update translations 2019-09-02 11:26:50 +02:00
Christoph Atteneder
a212a5889c
Merge pull request #3149 from ghubstan/validate-phone
Validate phone numbers
2019-09-02 09:47:11 +02:00
Christoph Atteneder
e0c91d22b3
Merge pull request #3176 from sqrrm/blocknotify-option
Add rpcBlockNotificationHost option
2019-09-02 09:20:13 +02:00
Christoph Atteneder
9c0be827c9
Merge pull request #3177 from chimp1984/fix-bsq-wallet-performance-issue
Fix performance issue in BsqWalletService
2019-09-02 09:19:55 +02:00
chimp1984
3412725a48
Update core/src/main/java/bisq/core/dao/monitoring/DaoStateMonitoringService.java
Co-Authored-By: sqrrm <sqrrm@users.noreply.github.com>
2019-09-02 01:29:54 +02:00
chimp1984
8521164adc
Add duration log for DaoStateMonitoringService
Creating the daoStateHash is quite expensive (about 20-30 ms/block).
As this happens while parsing it delays the parsing time (parsing is
very fast). We persist t the hashes so it is only done for new blocks.
For 1 month of blocks (4000) it would take about 80-120 seconds.
It is not blocking the user thread as it is done per block and those
are parsed one after another.
2019-09-01 23:24:08 +02:00
chimp1984
a876273c52
Reset daoFullNode in preferences if rpc data are not set 2019-09-01 22:58:51 +02:00
chimp1984
40de3c528d
Improve logging
- Add better logs and duration measurements for expensive operations
- Convert debug logs to trace to avoid flooding the output in debug log
mode.
- Cleanups
2019-09-01 22:57:40 +02:00
chimp1984
6dafafd7b1
Fix performance issue in BsqWalletService
The updateBsqWalletTransactions method got called at each block for all
transactions. During block download that wasted a lot of cpu and
led to stuck UI thread and lost connections.
The updateBsqBalance is not cheap (a few ms) and called for 100s of txs
at each block was very problematic.
Furthermore the listeners on the walletTransactions observableList got
triggered which made the situation worse.

We changed the observableList to a ArrayList and use a listener which
gets called after the list is updated.
We also make sure the onTransactionConfidenceChanged listener is not
calling updateBsqWalletTransactions if bsq parsing is not complete and
if the depth of the tx is > 1.
In the updateBsqWalletTransactions method we use a flag and a delay
to ensure that the updateBsqBalance is not called more then once
in 100 ms.

We changed also the getter to return a cloned version of the list to
avoid potential concurrent modification exceptions at clients.

Closes #3175
2019-09-01 22:47:10 +02:00
sqrrm
f30b68b39f
Fix tests 2019-09-01 19:10:26 +02:00
sqrrm
a13600f2f3
Add rpcBlockNotificationHost option 2019-09-01 18:42:48 +02:00
chimp1984
39e22ca44e
Fix bug with not showing system msg at peer who receives msg
- We only added the system msg when one opens the chat but not when
one received a message.
2019-08-31 01:14:43 +02:00
ghubstan
de4b59048b
Integrate PhoneNumberValidator into SwishForm
PhoneNumberValidator + Test Changes:
  Added no-arg constuctor required for Guice injection.
  Added isoCountryCode setter;  this field must be set before
  validation.
  Added validation of isoCountryCode.
  Added missing country code test.

SwishValidator Changes:
  SwishValidator now extends PhoneValidator.
  Added no-arg constuctor required for Guice injection.
  Set isoCountryCode = SE in constructor.

SwishForm Changes:
  Sets Swish acct phone number to normalized phone number if
  phone # validation is successful.
  Replaced Logger declaration with @Slf4j annotation.
  Formatted source.

Added 'validation.phone.missingCountryCode' property to i18n file.
2019-08-30 15:27:46 -03:00
Christoph Atteneder
b5f871b8ed
Merge pull request #3165 from chimp1984/trade-chat
Traders chat
2019-08-30 19:00:03 +02:00
chimp1984
50baa9b023
Close chat window if dispute gets closed 2019-08-30 18:44:43 +02:00
chimp1984
c615780333
Update tradeChat.rules 2019-08-30 17:07:35 +02:00
chimp1984
16d3bc5d26
Update core/src/main/resources/i18n/displayStrings.properties
Co-Authored-By: Steve Jain <mfiver@gmail.com>
2019-08-30 16:54:16 +02:00
chimp1984
fa307207ac
Update core/src/main/resources/i18n/displayStrings.properties
Co-Authored-By: Steve Jain <mfiver@gmail.com>
2019-08-30 16:53:39 +02:00
sqrrm
dec5982b2a
Add BRL as mature market
Move mature currency settings to CurrencyUtil as that seems a better fit
2019-08-30 13:57:23 +02:00
chimp1984
5e267fa461
Handle nullables 2019-08-30 01:01:29 +02:00
chimp1984
663d8591c4
Add chat rules system msg; cleanups 2019-08-30 00:58:06 +02:00
chimp1984
5c1999f180
Fix wrong pubkey 2019-08-30 00:57:21 +02:00
chimp1984
a2cd80866d
Add missing setWasDisplayed 2019-08-30 00:07:32 +02:00
sqrrm
cb55693d4e
Set active currencies as high chargeback risk 2019-08-30 00:01:40 +02:00
chimp1984
81a93b56b1
Add onAllServicesInitialized call, rename method 2019-08-29 22:55:02 +02:00
chimp1984
e0c1a85406
Add wasDisplayed field to chatMsg
- Fix logger
- Manage display state off trade chat msg (wip)
2019-08-29 22:29:36 +02:00
chimp1984
855cb4f620
Add missing allServicesInitialized check 2019-08-29 21:40:32 +02:00
chimp1984
fa43f03151
Merge branch 'master_upstream' into sq-add-trader-chat
# Conflicts:
#	desktop/src/main/java/bisq/desktop/main/disputes/trader/TraderDisputeView.java
2019-08-29 19:09:49 +02:00
chimp1984
bfb111da67
Add close handler to popup
- Close already open chat if new one opens
2019-08-29 18:56:11 +02:00
Christoph Atteneder
3ccae6922d
Merge pull request #3152 from wiz/darkmode
Dark Mode
2019-08-29 18:53:49 +02:00
chimp1984
2189cba41b
Show chat in popup instead of tab (WIP) 2019-08-29 17:50:14 +02:00
chimp1984
8e3a3514a3
Add comments, cleanup, fix wrong param name 2019-08-29 17:14:56 +02:00
chimp1984
cb673764df
Update string 2019-08-29 17:13:57 +02:00
chimp1984
5d338e693c
Fix merge issues 2019-08-29 17:07:39 +02:00
chimp1984
329572cc5d
Merge branch 'master_upstream' into sq-add-trader-chat
# Conflicts:
#	core/src/main/java/bisq/core/arbitration/DisputeManager.java
#	core/src/main/java/bisq/core/arbitration/messages/DisputeCommunicationMessage.java
#	core/src/main/java/bisq/core/trade/Trade.java
2019-08-29 16:50:32 +02:00
Florian Reimair
4e7cb04043
Merge pull request #3154 from chimp1984/Fix-small-P2P-network-issues
Fix small p2p network issues
2019-08-29 16:15:18 +02:00
wiz
4eb85b955e
Add toggle switch UI preference for Dark Mode on/off
* Store preference for Dark Mode as int32 css_theme
2019-08-29 20:20:25 +09:00
chimp1984
a0e690997a
Merge branch 'master_upstream' into Fix-small-P2P-network-issues
# Conflicts:
#	core/src/main/java/bisq/core/setup/CoreNetworkCapabilities.java
2019-08-28 19:49:18 +02:00
Devin Bileck
70a4009e85
Update backup operator 2019-08-28 09:16:06 -07:00
Devin Bileck
9c7c301860
Merge branch 'master' of https://github.com/bisq-network/bisq into add-seednode-backup
# Conflicts:
#	core/src/main/resources/btc_mainnet.seednodes
2019-08-28 09:14:14 -07:00
Christoph Atteneder
4478476763
Merge pull request #3151 from chimp1984/dont-send-bsq-blocks-to-full-nodes
Do not send BSQ blocks to full nodes
2019-08-28 12:42:16 +02:00
sqrrm
f8fe464ca3
Merge pull request #3121 from sqrrm/arbitrator-to-sign
Arbitrator to sign
2019-08-28 11:13:35 +02:00
wiz
80ce113cae
Add @nicolasdorier as backup seednode operator for jhgcy2won7xnslrb 2019-08-28 17:04:44 +09:00
chimp1984
79c08b6e04
Remove Capability.SIGNED_ACCOUNT_AGE_WITNESS 2019-08-28 01:20:10 +02:00
Devin Bileck
1790637c84
Add backup operator for seeds 3f3cu2yw7u457ztq and fl3mmribyxgrv63c 2019-08-27 15:32:55 -07:00
chimp1984
4bc6616e7a
Do not send BSQ blocks to full nodes 2019-08-27 19:27:39 +02:00
ghubstan
39d823a6fb
Validate phone numbers
Created new PhoneNumberValidator + Test. Validator hides
no arg constructor; public constructor requires two letter
ISO country code for validating inputs.

After successful validation, inputs are transformed into E.164
format and cached in a field, accessible via a getter method.
However, area and region codes are not checked for correctness.
End users are responsible for correctness of area/region codes.

Four i18n properties (validation.phone.*) were added to
displayStrings.properties

This is a partial fix for Issue #3042. The validator
will be integrated into the GUI if PR is approved & patch is
merged.

Question for Bisq devs:
Another new pkg protected class, CountryCallingCodes, contains
an immutable map of ISO country codes -> country calling codes;
it is the only non-validator class in its package. The map
declaration is too large to live in the PhoneNumberValidator class,
even after tweaking idea.properties in an attempt to prevent
the IDE from freezing. Is it OK to leave CountryCallingCodes
where it is, or is there a more appropriate home for it?
2019-08-27 12:19:52 -03:00
wiz
f5d75c4f60
Improve TempProposal processing (fixes #3143) 2019-08-27 22:36:37 +09:00
Christoph Atteneder
66e963aaa7
Merge pull request #3059 from camthegeek/list-masari
List Masari (MSR)
2019-08-27 14:19:11 +02:00
sqrrm
e3bd3a99e3
Merge remote-tracking branch 'origin/master' into arbitrator-to-sign 2019-08-27 11:27:33 +02:00
Christoph Atteneder
e93370ccd5
Merge pull request #3122 from christophsturm/fix-defaultseednoderepository
fix random test failure.
2019-08-27 10:01:16 +02:00
Christoph Atteneder
db823dda60
Merge pull request #3131 from christophsturm/improve-logging
fix logging of peer address
2019-08-27 09:43:23 +02:00
Christoph Atteneder
70e304e828
Merge pull request #3135 from TyphooN-/list-solo
List Solo (XSL)
2019-08-27 09:35:53 +02:00
sqrrm
74244c4ad9
Add non static ChargeBackRisk wrapper 2019-08-26 14:33:50 +02:00
sqrrm
972dda655b
Test BuyerDataItem, use lombok generated equals and hash 2019-08-26 11:33:42 +02:00
TyphooN
8e237b23ef
List Solo (XSL) 2019-08-23 17:11:51 -04:00
Christoph Sturm
31285b4419 Fix logging
don't log peer as optional [....onion]
2019-08-23 17:16:58 +02:00
Devin Bileck
7da3bab9ca
Suppress RPC service log entries when running as DAO lite node
When running as DAO lite node, the following would get logged:

> INFO  b.c.dao.node.full.RpcService: The value of rpchost is
> INFO b.c.dao.node.full.RpcService: Starting RPCService with btcd-cli4j
version 0.5.8.4 on 127.0.0.1:8332 with user null

So instead of logging it when instantiating the RPCService, log it when
setting up the service.
2019-08-23 01:38:08 -07:00
Christoph Sturm
5a67d9f092 fix random test failure. 2019-08-21 19:04:43 +02:00
sqrrm
61895102fd
Arbitrator sign accountAgeWitnesses
Automatically filter to only sign accounts that
- have chargeback risk
- bought BTC
- was winner in dispute
2019-08-21 17:43:29 +02:00
sqrrm
aed1e8027e
Publish signed witness 2019-08-21 17:35:43 +02:00
sqrrm
ad9715a2cd
Merge pull request #3108 from christophsturm/test-signed-witness
make sure that signed witness is immutable.
2019-08-21 16:31:37 +02:00
wiz
4d2a819a65
Add wiz's 2nd Bitcoin node 2019-08-21 18:17:18 +09:00
sqrrm
f2f62c7033
Merge pull request #3112 from freimair/optimizations
Various optimizations
2019-08-20 22:08:19 +02:00
Christoph Sturm
856630d1f0 Improve naming 2019-08-20 12:49:42 +02:00
Florian Reimair
ecd01fd91d
Adjust log levels of price feed service 2019-08-20 12:08:02 +02:00
Florian Reimair
5ff4bc2201
Adjust log level for DAO logging statements 2019-08-20 12:08:02 +02:00
Florian Reimair
bd3f999e5c
Only validate param change after parsing is done 2019-08-20 12:06:22 +02:00
Florian Reimair
0501412d8e
Fix performance issue with DaoResultView 2019-08-20 11:18:17 +02:00
Christoph Sturm
f3b3ca9fc4 make sure that signed witness is immutable.
btw I do hate byte arrays
2019-08-19 20:14:21 +02:00
Christoph Sturm
2ccecd2738 fix formatting 2019-08-19 18:26:39 +02:00
Christoph Sturm
aae430887e fix formatting, set method parameter wrapping to "chop if long" 2019-08-19 18:13:05 +02:00
Christoph Sturm
79b3e5baf3 inject storage where possible 2019-08-19 17:21:35 +02:00
Christoph Sturm
7694d4e7d1 change some storage creations to injection. ensure its not a singleton 2019-08-19 17:19:45 +02:00
Christoph Sturm
b77cff9e26 inject CorruptedDataFilesHandler instead of making it static 2019-08-19 16:54:46 +02:00
sqrrm
4381eea242
Merge pull request #3086 from christophsturm/p2ptest
inject publickeyring
2019-08-16 18:22:38 +02:00
battleofwizards
7ea3ce0443
Replace "P2P network" with "Bisq network" in GUI
Rationale: it is not obvious whether "P2P network" in GUI
refers to Bitcoin network, Tor network, traded altcoin network,
or Bisq.
2019-08-16 13:56:26 +02:00
sqrrm
b1e293efb3
Merge pull request #3093 from wiz/jhgcy2won7xnslrb-transfer
Takeover jhgcy2won7xnslrb.onion from @devinbileck
2019-08-15 09:20:08 +02:00
wiz
d39f9f7499
Takeover jhgcy2won7xnslrb.onion from @devinbileck 2019-08-15 16:07:12 +09:00
Florian Reimair
963d569382
Merge pull request #3088 from wiz/wiz-bitcoin-node
Add wiz bitcoin node to BtcNodes list
2019-08-14 18:51:30 +02:00
Christoph Sturm
9b41cb8f90 fix seednode guice config 2019-08-14 17:58:04 +02:00
Christoph Sturm
9eb174bc88 provide PubKeyRing and use it where appropriate instead of keyring 2019-08-14 17:58:04 +02:00
Christoph Sturm
ac6068b728 start testing MyProposalListService. 2019-08-14 17:58:04 +02:00
sqrrm
e010ba8fa1
Merge pull request #3081 from christophsturm/remove-powermock
fix build on jdk11 and jdk12. remove powermock and jmockit
2019-08-14 17:52:30 +02:00
wiz
32db1019b5
Add wiz bitcoin node to BtcNodes list 2019-08-14 23:23:25 +09:00
Christoph Sturm
bd06d2a7df document what this is for 2019-08-14 10:42:38 +02:00
Oscar65
a97b9078ea typo in usuario 2019-08-14 08:13:03 +02:00
Christoph Sturm
95b65976ad simplify 2019-08-13 19:55:03 +02:00
Christoph Sturm
0af6097ab0 make final classes final again 2019-08-13 19:54:30 +02:00
Christoph Sturm
0babe82d09 remove jmockit 2019-08-13 19:47:40 +02:00
Christoph Sturm
e9a45196a8 remove powermock from core. 2019-08-13 18:13:10 +02:00
Christoph Sturm
9a587609dd WIP remove powermock 2019-08-13 18:08:33 +02:00
Christoph Sturm
a8494a993a fix missing annotation 2019-08-13 15:58:14 +02:00
Christoph Sturm
c6f07ed945 singletonify the rest of the core module 2019-08-13 15:58:14 +02:00
Christoph Sturm
7500887484 even more singletoning 2019-08-13 15:58:14 +02:00
Christoph Sturm
3f097ebf63 more singletoning 2019-08-13 15:58:13 +02:00
Christoph Sturm
a4e8ec5ebf convert some of the core config 2019-08-13 15:58:13 +02:00
sqrrm
e52c255446
Merge pull request #3058 from christophsturm/bump-guice
use singleton annotation instead of binding as singleton
2019-08-13 15:19:41 +02:00
sqrrm
fb1c96d24c
Merge pull request #2976 from niyid/master
Fixes for issues #2741, #2944, #2955
2019-08-09 15:35:21 +02:00
sqrrm
b92b4becfb
Merge pull request #3040 from bisq-2106-2/master
Fix for #2106
2019-08-09 15:32:50 +02:00
Christoph Atteneder
8164116c86
Update bitcoinj checkpoint file 2019-08-08 09:44:37 +02:00
Christoph Atteneder
a1bc159df0
Update translations 2019-08-07 22:43:09 +02:00
sqrrm
26329281ec
Check that proposal is in correct cycle 2019-08-07 20:12:20 +02:00
camthegeek
f4cba8ccc1 list Masari 2019-08-06 17:09:31 -04:00
Christoph Sturm
643c0daef0 use singleton annotation instead of binding as singleton.
this is the correct way to do it. the way it is currently done means
that if a component is not declared in a module, guice still finds it
but does not use the singleton lifecycle

binding as singleton in the module is meant to be used for classes that
we don't have the sourcecode for (i.e. jdk classes)
2019-08-06 17:44:47 +02:00
sqrrm
47c7910e88
Move Clock binding to P2PModule 2019-08-01 11:43:43 +02:00
Niyi Dada
0fffbe670e Columns added to export but hidden from view table.
- Transaction Fee
 - Maker Fee
 - Buyer Deposit
 - Seller Deposit
2019-07-31 22:55:22 +01:00
sqrrm
360dc0b4e8
Merge pull request #3037 from christophsturm/inject-clock
inject clock for usage in isDateInTolerance
2019-07-30 16:12:48 +02:00
Christoph Sturm
de01018368 remove empty lines 2019-07-30 15:42:12 +02:00
Christoph Sturm
8d0a9b38ba make test nicer 2019-07-30 15:40:17 +02:00
Christoph Sturm
c715aa2d5d start unit testing SignedWitness 2019-07-30 15:40:17 +02:00
Christoph Sturm
022534643e rename 2019-07-30 15:40:08 +02:00
Christoph Sturm
c38ef06d04 inject clock for usage in isDateInTolerance 2019-07-30 15:27:32 +02:00
Christoph Sturm
e62e718d89 make local what can be local 2019-07-30 13:07:12 +02:00
Christoph Sturm
00c0168aea inline test method and simplify 2019-07-30 13:07:12 +02:00
Christoph Sturm
9f54f480e6 move all init code to setUp 2019-07-30 13:07:12 +02:00
Christoph Atteneder
ec6c23d09d Improve documentation 2019-07-30 11:41:30 +02:00
Christoph Atteneder
d0d819221d Remove old TODO and remove unused duplicate constant for safe account age date 2019-07-30 11:41:02 +02:00
Christoph Atteneder
5dc321cc43 Change scope of safe account age point in time as long as it is not used anywhere else 2019-07-30 11:40:20 +02:00
Christoph Atteneder
aa2e3eadcc Fix typos 2019-07-30 11:39:42 +02:00
Christoph Atteneder
fdf5364c47 Add domain layer for signed account age witnesses (credits ManfredKarrer and oscarguindzberg) 2019-07-30 11:38:57 +02:00
Christoph Atteneder
db25293d62
Merge branch 'master' of github.com:bisq-network/bisq into hotfix-for-v1.1.3
# 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
2019-07-29 19:00:37 +02:00
sqrrm
2570e9b728
Merge pull request #2999 from christophsturm/christoph/rename-clock
rename Clock to ClockWatcher
2019-07-29 14:39:22 +02:00
Christoph Atteneder
cec7d780c7
Update translations 2019-07-29 11:36:28 +02:00
J. Maurice
6eaa2e0072
Add Japanese translations 2019-07-29 11:33:25 +02:00
sqrrm
50f350445c
Add checkpoint at block 586920
A checkpoint at block 586920 with hash
523aaad4e760f6ac6196fec1b3ec9a2f42e5b272 to avoid that clients in
a corrupt state continue running.

Ignore checkpointing if ignoreDevMsg is set
2019-07-28 20:32:19 +02:00
sqrrm
70b7660e6c
Merge pull request #3005 from christophsturm/christoph/split-pb
split the pb.java file into multiple files
2019-07-26 16:14:57 +02:00
sqrrm
514f5e40a5
Merge pull request #3002 from devinbileck/update-seed-operator
Reflect change in operator for seed node jhgcy2won7xnslrb
2019-07-26 15:08:36 +02:00
sqrrm
36632030d1
Fix block without braces 2019-07-26 10:33:18 +02:00
sqrrm
63785b1db7
Avoid validating proposals during initial sync 2019-07-26 10:32:49 +02:00
huey735
37a996a117
Correct "County" typo 2019-07-25 22:06:04 +01:00
sqrrm
30b8e7b55d
Merge pull request #3003 from sqrrm/proposal-parsing-fix
Avoid validating proposals during initial sync
2019-07-25 15:15:08 +02:00
sqrrm
5170fd83ff
Fix block without braces 2019-07-25 14:23:18 +02:00
Christoph Sturm
de4e1d7b58 move protobuf to proto package 2019-07-25 14:08:00 +02:00
Christoph Sturm
1c0fe2673f split pb.java file into separate files. 2019-07-25 13:40:02 +02:00
Devin Bileck
2d204c1306
Reflect change in operator for seed node jhgcy2won7xnslrb 2019-07-24 15:49:44 -07:00
Christoph Sturm
c3d21806c4 rename Clock to ClockWatcher
* this class is not a clock but it watches the clock, detects standby
and runs periodic tasks.
* there is already a jdk method called clock
First i thought it should be called PeriodicTaskManager, now i find
ClockWatcher more fitting.
2019-07-24 16:39:03 +02:00
Niyi Dada
bd85dbc990 Fix for issue #2741 2019-07-23 20:19:13 +01:00
sqrrm
7547b3bb62
Avoid validating proposals during initial sync 2019-07-23 13:04:46 +02:00
Niyi Dada
6e8212e20f Fixed label name for median. 2019-07-23 09:04:18 +01:00
Mike Rosseel
9b6bc38f71
make rpc host configurable 2019-07-21 16:31:11 +02:00
Niyi Dada
91c3337c37 Fixes for issues 2944 and 2955 2019-07-18 18:58:55 +01:00
sqrrm
26c35cc0c0
Change log level from error to debug 2019-07-16 21:51:03 +02:00
Christoph Atteneder
f1bc157f57
Update btcj checkpoints 2019-07-15 10:21:12 +02:00
Christoph Atteneder
c48739fd3b
Update translations 2019-07-15 10:04:37 +02:00
sqrrm
a8bb8322af
Continue requesting blocks if not in sync 2019-07-15 00:30:20 +02:00
sqrrm
5c15e29f49
Parse block only if height is right 2019-07-15 00:30:16 +02:00
Christoph Atteneder
78865dc0ff
Merge pull request #2954 from sqrrm/ignore-local-node
Add option to ignore local bitcoin node
2019-07-12 18:55:29 +02:00
sqrrm
93cebf4145
Add option to ignore local bitcoin node 2019-07-12 16:03:04 +02:00
sqrrm
a0104c03ec
Limit number of blocks sent in GetBlocksResponse 2019-07-12 16:00:44 +02:00
Christoph Atteneder
d9e088f469
Merge pull request #2952 from freimair/envelope_of_envelopes
Envelope of envelopes #2
2019-07-12 10:29:22 +02:00
Christoph Atteneder
e2bb538202
Merge pull request #2937 from sqrrm/exclude-bsq-nontrade
Exclude non executed BSQ trade
2019-07-12 10:28:14 +02:00
sqrrm
b623092afb
Don't dump blockchain data during initial parsing 2019-07-12 00:17:32 +02:00
Florian Reimair
b44cb452f9
Rename stuff 2019-07-10 16:31:58 +02:00
Harry MacFinned
8914b5b96b
Add files via upload
add DAC + RDD to the list of removed assets.
Should solve #2189 for those assets
I built the code and it seems to work.
2019-07-09 17:24:29 +00:00
Christoph Atteneder
7b29511415
Merge pull request #2939 from freimair/envelope_of_envelopes
Bundle of envelopes
2019-07-08 19:45:34 +02:00
Florian Reimair
3fb8be3481
Rename 2019-07-08 09:33:50 +02:00
sqrrm
6d195725ec
Exclude non executed BSQ trade 2019-07-05 09:05:57 +02:00
Christoph Atteneder
a0debe1766
Merge pull request #2909 from devinbileck/update-checkpoints
Update BitcoinJ checkpoint files
2019-07-03 10:28:36 +02:00
a123b
affa1b16fa Use tempTradingPeerNodeAddress if the trade doesn't have a trading peer set yet
This should fix the errors on the maker side when there's a disagreement
about market price.

Fixes #2910
Fixes #2924
2019-06-28 13:22:37 +02:00
sqrrm
e13faba79a
Merge pull request #2920 from devinbileck/resurrect-testnet
Resurrect testnet
2019-06-24 22:49:03 +02:00
Devin Bileck
03bc06819f
Use new testnet genesis transaction 2019-06-24 13:15:38 -07:00
sqrrm
f62261719a
Include check for services in readyForTxBroadcast 2019-06-24 21:42:42 +02:00
Devin Bileck
2ba3c0f915
Update new testnet seednode address 2019-06-24 12:24:35 -07:00
Florian Reimair
b101035d99
Sketch of businesslogic regarding EnvelopeOfEnvelopes 2019-06-24 16:55:58 +02:00
Florian Reimair
16392f5f0a
Added EnvelopeOfEnvelopes Network Message 2019-06-24 16:53:53 +02:00
sqrrm
cf5c03f43d
Wait for initialized wallet before processing dispute msgs, fix #2914 2019-06-23 17:32:46 +02:00
Devin Bileck
1af7c99089
Update BitcoinJ checkpoint files 2019-06-20 12:45:06 -07:00
Christoph Atteneder
d53c3b387c
Merge pull request #2890 from sqrrm/display-param-change-value
Display changed param value at proposal time, fix #2692
2019-06-19 18:06:27 +02:00
Christoph Atteneder
e52cff8049
Merge pull request #2903 from sqrrm/better-null-tx-handling
Check not null tx
2019-06-19 18:03:24 +02:00
sqrrm
4243776aa5
Check not null tx 2019-06-19 14:32:06 +02:00
sqrrm
29c48e9548
Display changed param value at proposal time, fix #2692 2019-06-16 15:49:30 +02:00
sqrrm
12e46f027a
Indicate when vote wasn't included in result in proposalDisplay 2019-06-16 00:34:49 +02:00
sqrrm
2375880d3c
Change message box aid 2019-06-05 19:26:04 +02:00
sqrrm
0217c3d63f
Add comments on BSQ trade fee calculation 2019-06-05 14:57:37 +02:00
Christoph Atteneder
5db568f982
Update translations 2019-06-04 10:13:36 +02:00
Stephan Oeste
1f1c6be0d5
node1.emzy.de has moved to a new server
New IP address for node1.emzy.de is 167.86.90.239
2019-06-03 22:37:31 +02:00
sqrrm
b93e7bac56
Add trader chat
- Add communication messages to Trade protobuf message to be able to
save chat messages per trade
- Add Type enum and field to DisputeCommunicationMessage protobuf to
be able to dispatch Dispute and Trade chat messages properly
- Rename some function as isClient instead of isTrader to make it easier
to understand who is who when two traders are communicating with each
other
2019-06-02 15:40:50 +02:00
y3v63n
03d3125531
Update displayStrings.properties
Fixing linguistic issues in the English version
2019-05-31 14:31:18 +03:00
sqrrm
1b1dce1012
Add ChatManager
Move session classes to core. Break out DisputeCommunicationMessage
handling from DisputeManager and put in ChatMananger prepare for other
uses of ChatManager.

Renaming of DisputeCommunicationMessage would be nice but it's
representing the protobuf messages so the name has to stay.
2019-05-30 18:49:54 +02:00
Christoph Atteneder
126afd2d0f
Merge pull request #2854 from sqrrm/fix-peer-handling
Fix peer handling
2019-05-30 12:45:25 +02:00
Christoph Atteneder
a1477699af
Merge pull request #2811 from KrzysiekJ/list-burnt-blackcoin
List burnt BlackCoin (BLK-BURNT)
2019-05-30 12:41:50 +02:00
sqrrm
78a837ec68
Handle encrypted BSQ wallet 2019-05-28 18:27:27 +02:00
sqrrm
b1362a9a36
Separate most of Chat and arbitration
The naming of DisputeCommunicationMessage has to stay but they otherwise
fit what would be more aptly named ChatCommunicationMessage or something
in that spririt.
2019-05-25 16:22:15 +02:00
sqrrm
ce38cec1af
Use minTakerFee when calculating taker fee 2019-05-22 12:57:17 +02:00
Devin Bileck
7f83b5dc4f
Fix formatDurationAsWords when duration is multiple of 10 days
When the duration is a multiple of 10 days (e.g. 110 days) and not
showing zero values, it was incorrectly formatting it as "11" rather
than "110 days".
2019-05-17 14:36:40 -07:00
Manfred Karrer
a730cc5300
Merge pull request #2705 from devinbileck/proposal-url-validation
Add specific URL validation for proposal links
2019-05-16 14:01:45 +02:00
Devin Bileck
25d3d2d424
Update status text when BTC sync in progress
Changes the status text when BTC sync in progress from:
Synchronized with Bitcoin Mainnet (using Tor): 10.00%

to:
Synchronizing with Bitcoin Mainnet (using Tor): 10.00%
2019-05-15 23:22:36 -07:00
Manfred Karrer
299d36c294
Merge pull request #2609 from oscarguindzberg/fix-timeout
Bitcoin p2p: Use different timeouts
2019-05-14 23:41:23 +02:00
Manfred Karrer
2f5c587c87
Merge branch 'master' of https://github.com/bisq-network/bisq 2019-05-14 23:36:33 +02:00
Manfred Karrer
aa92c8131b
Merge branch 'logging' of https://github.com/oscarguindzberg/bisq into oscarguindzberg-logging
# Conflicts:
#	core/src/main/java/bisq/core/arbitration/DisputeManager.java
2019-05-14 23:35:17 +02:00
Manfred Karrer
25ee98dbce
Fixes https://github.com/bisq-network/bisq/issues/2804 and https://github.com/bisq-network/bisq/issues/2826 2019-05-14 15:05:12 +02:00
Manfred Karrer
b8cf1d7e67
Merge branch 'master' of https://github.com/bisq-network/bisq 2019-05-14 14:25:45 +02:00
Manfred Karrer
a8ed773e84
Update node operators 2019-05-14 14:25:26 +02:00
Manfred Karrer
fa07957c24
Call setAllowDisconnectSeedNodes from LiteNode after blocks received
Instead of the 3 minutes delay we set the flag from the lite node once
the blocks are received. We delay 20 seconds to allow multiple getBlocksRequests
to finish.
2019-05-11 12:55:09 +02:00
Manfred Karrer
ca08b7c272
Update seed node operators 2019-05-11 01:00:44 +02:00
Christoph Atteneder
d6c6373558
Update translations and change trusted account age from 15th of March to 1st of March 2019-05-06 10:46:04 +02:00
Manfred Karrer
9305bfed19
Reduce SAFE_ACCOUNT_AGE_DATE from 15.3. to 1.3.
We have one very suspicious case where the trader created his
account on 15. of March. To be more safe to exclude potential scammers
we decrease the check to 1st of march.
2019-05-05 21:18:11 -05:00
Manfred Karrer
28727ad56d
Fix bug that sellers are restricted as well
Only buyers should be restricted if their account age is too young.
2019-05-05 21:14:30 -05:00
Krzysztof Jurewicz
c229c10e95
List burnt BlackCoin (BLK-BURNT) 2019-05-05 20:29:06 +02:00
Devin Bileck
d01af3f3cf
Reflect mainnet seednode operator change
I have taken over one of the seednodes from @manfredkarrer.
2019-05-03 15:19:32 -07:00
Christoph Atteneder
7523fc5628
Merge pull request #2801 from ManfredKarrer/restrict-new-accounts
Add check for account age to apply restrictions
2019-05-03 12:09:50 +02:00
Manfred Karrer
87358927a6
Add null check 2019-05-02 22:40:54 -05:00
Manfred Karrer
8f56f4a262
Refactoring: Extract variable 2019-05-02 21:49:47 -05:00
Manfred Karrer
830e693ace
Refactoring: Rename CheckIfPeerIsBanned to ApplyFilter 2019-05-02 21:48:51 -05:00
Manfred Karrer
3b613bebce
Improve handling of filter 2019-05-02 21:48:13 -05:00
Manfred Karrer
c4e30e5aa9
Fix limitations 2019-05-02 20:54:31 -05:00
Manfred Karrer
e0cf683818
Update text 2019-05-02 17:46:25 -05:00
Manfred Karrer
e51844a7f1
Improve dispute handling of failed trades 2019-05-02 17:39:58 -05:00
Manfred Karrer
08cf993d0f
Add amount limit to take offer view 2019-05-02 16:22:20 -05:00
Manfred Karrer
9df54372dc
Fix verify task 2019-05-02 15:35:02 -05:00
Manfred Karrer
8e0ec54fb1
Refactor restriction handling 2019-05-02 15:15:13 -05:00
Manfred Karrer
4947352c03
Update text 2019-05-02 13:44:02 -05:00
Manfred Karrer
8ab348c495
Add check for account age to apply restrictions 2019-05-02 13:06:46 -05:00
Christoph Atteneder
92d75db604
Update translations 2019-05-02 17:39:33 +02:00
Oscar Guindzberg
16f686c757 Improve logging 2019-04-29 11:08:17 -03:00
Manfred Karrer
b1a8429066
Merge pull request #2752 from ManfredKarrer/add-filter-to-trade-history
Add filter to trade history
2019-04-27 15:53:33 -05:00
Christoph Atteneder
ca0387ad5b
Add prompt text for filter textfield 2019-04-25 12:23:54 +02:00
Christoph Atteneder
87cbc47b07
Merge pull request #2675 from m4hdi1995/list-parsicoin
List ParsiCoin (PARS)
2019-04-25 11:06:23 +02:00
Christoph Atteneder
451553f17c
Merge pull request #2769 from devinbileck/change-pricenode-operator
Reflect pricenode operator change in ProvidersRepository
2019-04-25 11:04:08 +02:00
Christoph Atteneder
07d2da6456
Merge pull request #2770 from devinbileck/update-relay-node-address
Update mobile notification relay node DEV_URL IP address
2019-04-25 11:03:48 +02:00
Christoph Atteneder
d2d6636544
Merge pull request #2753 from ManfredKarrer/fix-trade-peers-account-age
Fix account age display of peer
2019-04-24 11:33:27 +02:00
Devin Bileck
5fb08f81ab
Update mobile notification relay node DEV_URL IP address
I have taken over the relay node from Manfred. The onion address
remains the same, but the IP address used in the DEV_URL has
changed.

See bisq-network/roles#82
2019-04-23 00:11:40 -07:00
Devin Bileck
bfb38fb08e
Reflect pricenode operator change in ProvidersRepository
I have taken over one of the pricenodes from Manfred.

See bisq-network/roles#14
2019-04-23 00:04:51 -07:00
Manfred Karrer
25931c0fd7
Merge pull request #2757 from sqrrm/count-voting-cycles
Count cycles correctly, fix #2706
2019-04-21 18:06:50 -05:00
Manfred Karrer
dc773460a9
Merge branch 'master' into fix-trade-peers-account-age 2019-04-21 17:17:46 -05:00
Manfred Karrer
eb1c4fd25c
Merge pull request #2737 from ManfredKarrer/use-utf8-for-getBytes
Add UTF8 for getBytes calls
2019-04-21 17:16:34 -05:00
sqrrm
d0c0bd9a25
Count cycles correctly, fix #2706 2019-04-20 15:18:23 +02:00
Manfred Karrer
f23773b81c
Add account age to contract window 2019-04-19 22:14:34 -05:00
Manfred Karrer
1f00e8c3aa
Move method 2019-04-19 21:52:28 -05:00
Manfred Karrer
f88af6b450
Fix account age display of peer
We only showed makers account age before also at trade screens.
This PR fixes that so that the trade peers account age is displayed at
the peer info icon.
2019-04-19 21:31:26 -05:00
Manfred Karrer
25e2621ce5
Fix missing arguments 2019-04-19 20:37:19 -05:00
Manfred Karrer
59f31c7c6e
Merge branch 'master' into fix-dao-full-mode-settings-issue
# Conflicts:
#	common/src/main/proto/pb.proto
#	core/src/main/java/bisq/core/user/Preferences.java
#	core/src/main/java/bisq/core/user/PreferencesPayload.java
#	desktop/src/main/java/bisq/desktop/main/settings/preferences/PreferencesView.java
2019-04-19 20:32:11 -05:00
Manfred Karrer
ad4be15eea
Merge branch 'master' of https://github.com/bisq-network/bisq 2019-04-19 20:26:31 -05:00
Manfred Karrer
262fa851b6
Merge pull request #2742 from ripcurlx/set-lower-security-deposit-for-altcoins
Use different security deposit for fiat-crypto and crypto-crypto trades
2019-04-19 20:24:26 -05:00
Manfred Karrer
307bf73539
Show readable data in offer 2019-04-19 19:31:07 -05:00
Christoph Atteneder
55d09a308b
Use different security deposit for fiat-crypto and crypto-crypto trades 2019-04-18 19:37:46 +02:00
Christoph Atteneder
8481593370
Improve handling of editing of offers with invalid security deposit 2019-04-18 14:45:23 +02:00
Manfred Karrer
1008e9bc51
Add UTF8 for getBytes calls
Fixes https://github.com/bisq-network/bisq/issues/2729
2019-04-17 19:56:21 -05:00
Manfred Karrer
2119872c9b
Merge pull request #2730 from ManfredKarrer/request-block-if-not-received
Request blocks in case we have not received it
2019-04-17 19:12:02 -05:00
Manfred Karrer
da10470dc5
Request 1 block above our chain height 2019-04-17 18:40:31 -05:00
Manfred Karrer
6cd04a0d91
Merge pull request #2621 from ManfredKarrer/ignore-dust-utxo
Ignore dust utxo
2019-04-17 18:30:50 -05:00
Manfred Karrer
6f44dc5c1c
Fix issues with DAO full mode in preferences
There was missing the block notify port as well as the options have
not been applied correctly which led to the situation that when you
run the same application in full mode and later in lite mode that
data got persisted.

Added also to the footer a note if full mode is running.
2019-04-17 18:26:33 -05:00
Manfred Karrer
bebb48108f
Merge pull request #2732 from ManfredKarrer/add-nodeaddress-at-getblocks-request
Add nodeaddress and capabilities at getblocks request
2019-04-17 09:21:27 -05:00
Manfred Karrer
683301fc23
Use full address instead of hostname
Mixing usage of host name and full name caused a few bugs in the past.
We should use only full address by default.
2019-04-16 23:19:54 -05:00
Manfred Karrer
70a950ce94
Use fullAddress for ignored peers and in peer info 2019-04-16 23:18:36 -05:00
Manfred Karrer
ab0c81804c
Make GetBlocksRequest implement SendersNodeAddressMessage and SupportedCapabilitiesMessage
When we request at startup the blocks from a seed which has not yet
received out capabilities or node address we will not get a response.
We do not want to depend on the state in the getData domain in the
p2p network by using only a seed which has already responded but we
prefer to make sure the seednode will get all the data by our request
to be able to respond.
2019-04-16 22:52:20 -05:00
Manfred Karrer
fcbc3b659b
Ignore utxo below a user defined threshold to avoid dust attacks
Implements https://github.com/bisq-network/bisq/issues/2604
2019-04-16 20:42:13 -05:00
Manfred Karrer
7df35f3ce8
Request blocks in case we have not received it
Once we get a new block from BitcoinJ we start a timer and check in 10
seconds if we have received the block from the P2P network. If not we
request it from the seed nodes.
2019-04-16 20:36:58 -05:00
Manfred Karrer
3233a3adf7
Only apply FULL_DAO_NODE if arg value is "true" 2019-04-16 15:08:56 -05:00
Manfred Karrer
d4cb4f8f43
Add TODO 2019-04-16 15:08:06 -05:00
Christoph Atteneder
652b5ab277
Merge pull request #2719 from ManfredKarrer/forward-broadast-msg
Rebroadcast new blocks at lite nodes
2019-04-16 16:01:50 +02:00
Christoph Atteneder
02f6475470
Fix wrong calculation of percentage based security deposit 2019-04-16 11:27:59 +02:00
Manfred Karrer
188f3eee6d
Change log levels 2019-04-15 22:02:41 -05:00
Manfred Karrer
2fedc51a87
Change log levels 2019-04-15 21:55:43 -05:00
Manfred Karrer
7871aae3d8
Rebroadcast new blocks at lite nodes 2019-04-15 21:41:47 -05:00
Manfred Karrer
825d37450b
Set mainnet Genesis Tx ID 2019-04-15 10:10:17 -05:00
Manfred Karrer
6c98d98ce1
Merge branch 'master' into rc_v1.0.0 2019-04-15 09:00:31 -05:00
Christoph Atteneder
9a0cc1afa1
Update translations 2019-04-15 14:13:50 +02:00
Manfred Karrer
4442a2e8c1
Add missing parameter in test 2019-04-14 22:14:14 -05:00
Manfred Karrer
1f05e8ff75
Merge pull request #5 from ripcurlx/improve-sepa-form
Small improvements
2019-04-14 15:22:46 -05:00
Christoph Atteneder
f5404f8d20
Set new minimum deposit if deposit lower than minimum was persisted 2019-04-14 22:16:43 +02:00
Manfred Karrer
4da5c4ff1a
Make check case insensitive 2019-04-14 14:23:52 -05:00
Manfred Karrer
57ae8af3d7
Add requireUpdateToNewVersion check 2019-04-14 13:52:53 -05:00
Manfred Karrer
3eabc1e1a6
Reduce sec deposits 2019-04-14 13:26:22 -05:00
Manfred Karrer
a1bbb6c886
Change most payment methods from DEFAULT_TRADE_LIMIT_MID_RISK to DEFAULT_TRADE_LIMIT_HIGH_RISK 2019-04-14 12:30:53 -05:00
Devin Bileck
3bc76cacaf
Add specific URL validation for proposal links
Since all proposals should be created in GitHub, and we have URL
redirects in place in case we switch platforms in the future, enforce
proposal links to utilize the specific URL redirect.

Resolves #2473
2019-04-12 12:05:47 -07:00
Manfred Karrer
0179cfc8cb
Use new dummy genesis tx for mainnet 2019-04-12 01:39:48 -05:00
Manfred Karrer
cdff4d5222
Use betanet genesis for mainnet 2019-04-11 21:51:00 -05:00
Manfred Karrer
6b009d4af0
Merge branch 'master' into rc_v1.0.0 2019-04-11 14:15:22 -05:00
Manfred Karrer
2a1f8d5dad
Merge pull request #2697 from ripcurlx/remove-non-core-languages
Remove non core languages
2019-04-11 12:22:31 -05:00
Christoph Atteneder
ce9aae297d
Update transifex script with new core languages 2019-04-11 15:57:47 +02:00
Christoph Atteneder
d6615e1efd
Remove non-core languages based on discussion on Transifex 2019-04-11 15:13:37 +02:00
Christoph Atteneder
781194c32f
Merge pull request #2680 from HarryMacfinned/update-removed-assets-list
Update CurrencyUtil.java
2019-04-11 15:03:57 +02:00
Manfred Karrer
68436f5f85
Merge branch 'master' into rc_v1.0.0
# Conflicts:
#	common/src/main/proto/pb.proto
#	core/src/main/java/bisq/core/dao/governance/blindvote/storage/BlindVotePayload.java
2019-04-10 09:39:15 -05:00
Christoph Atteneder
94c1cf3499
Updated translations based on https://github.com/bisq-network/bisq/pull/2688#issuecomment-481709119 2019-04-10 16:31:57 +02:00
Christoph Atteneder
17d5f2ac4a
Add DAO launch popup 2019-04-10 12:29:51 +02:00
Christoph Atteneder
83770dbfd4
Add votes as shared translation 2019-04-10 12:29:51 +02:00
Christoph Atteneder
ce731564a3
Add proposal as shared translation 2019-04-10 12:29:51 +02:00
Harry MacFinned
5aa22cef93
Update CurrencyUtil.java
add BURST+STEEM to the list of removed assets
2019-04-09 07:27:39 +00:00
M4hdi1995
10ca0acaca List ParsiCoin (PARS) 2019-04-09 03:02:58 +02:00
Manfred Karrer
8e82fa6654
Handle dao state conflicts better
- Check if conflicting node is seed node or not. Show info in list entry
and only show resync button and red color in text if conflict is with
seed node.
- At resync move all p2p network data to a dedicated directory so they
will be reloaded from the seeds.
2019-04-08 16:39:13 -05:00
Christoph Atteneder
4bec31583e
Update translations 2019-04-08 11:05:58 +02:00
Christoph Atteneder
f4c65c4d6e
Merge pull request #2665 from ManfredKarrer/use-crypt-hash-at-role
Use cryptographic hash from protobuffer serialized data instead of hashCode
2019-04-08 10:44:30 +02:00
Christoph Atteneder
2846b1881b
Merge pull request #2667 from ManfredKarrer/protect-against-late-blind-vote-publishing
Protect against late blind vote publishing
2019-04-08 10:43:48 +02:00
Christoph Atteneder
2f3dd40623
Merge pull request #2670 from ManfredKarrer/add-new-filter-option
Add filter for min required version for DAO
2019-04-08 10:42:09 +02:00
Manfred Karrer
ef3081e89c
Fix incorrect equality check 2019-04-07 20:49:53 -05:00
Manfred Karrer
d916101564
Fix missing argument in test 2019-04-07 20:31:53 -05:00
Manfred Karrer
38a6d58254
Add filter for min required version for DAO 2019-04-07 18:58:17 -05:00
Manfred Karrer
ffb50b6406
Change lock time fro bonds from 75 days to 110 days.
See https://github.com/bisq-network/proposals/issues/53#issuecomment-480641730
2019-04-07 18:27:57 -05:00
Manfred Karrer
bd7358ffe4
Add date to BlindVote 2019-04-07 18:01:11 -05:00
Manfred Karrer
5d2dcb3539
Refactoring: Rename isInCorrectPhase to notInVoteRevealPhase 2019-04-07 14:21:05 -05:00
Manfred Karrer
6e9edc7b53
Merge pull request #2657 from ManfredKarrer/reduce-timeout
Reduce tx broadcast timeout
2019-04-07 09:12:46 -05:00
Manfred Karrer
d81498dc01
Remove date and DateTolerantPayload interface from BlindVotePayload 2019-04-06 21:49:18 -05:00
Manfred Karrer
e93284292c
Rename DaoStateStore3 db file to DaoStateStore 2019-04-06 21:46:40 -05:00
Manfred Karrer
a6a0c6ec70
Remove DAO testing feedback window 2019-04-06 21:39:42 -05:00
Manfred Karrer
eadc72c453
Check if not in voteReveal phase when receiving blindVotes
We do not accept blindVotePayloads when we are in the voteReveal phase
to protect against late publishing attacks.
2019-04-06 21:20:16 -05:00
Manfred Karrer
abebd76627
Remove republishing of blind votes at vote reveal
As we do not accept blind votes from the network during hte vote reveal
phase the republishing does not make sense.
2019-04-06 19:52:52 -05:00
Manfred Karrer
6b416ca278
Add TODO for removing the date from BlindVotePayload at mainnet launch
We don't want to break consensus and persisted data at current
dao_regtest by removing the date now. It is not used anywhere so it is
irrelevant but would break things as the hash would be different and
persisted data would not be readable anymore. So we delay that change
to the mainnet launch.
2019-04-06 19:46:58 -05:00
Manfred Karrer
419da79232
Republish only outside of voteReveal phase 2019-04-06 19:36:41 -05:00
Manfred Karrer
1df485a4fa
Remove DateTolerantPayload interface
The date check would not add real protection as the attacker could just
use a new date and we do not cross check the date with the tx date.
We could do that but it would add complexity and we have another
strategy which does not require that.
2019-04-06 19:29:31 -05:00
Manfred Karrer
2b15bd20af
Use cryptographic hash from protobuffer serialized data instead of hashcode
Fixes https://github.com/bisq-network/bisq/issues/2662
2019-04-06 19:16:19 -05:00
Manfred Karrer
5cfa2c77ac
Refactor: Rename method and parameter 2019-04-05 20:16:12 -05:00
Manfred Karrer
939c01f0fb
Reduce tx broadcast timeout
Currently there is a bug in BitcoinJ causing the timeout at all BSQ
transactions.
It is because BitcoinJ does not handle confidence object correctly in
case as tx got altered after the
Wallet.complete() method is called which is the case for all BSQ txs.
We will work on a fix for that but that
will take more time. In the meantime we reduce the timeout to 5
seconds to avoid that the trade protocol runs
into a timeout when using BSQ for trade fee.
2019-04-05 15:07:45 -05:00
Christoph Atteneder
400fbbd080
Merge pull request #2655 from ripcurlx/improve-tx-display-for-btc-withdrawal-from-bsq-wallet
Improve tx display for BTC withdrawal from BSQ wallet
2019-04-05 17:52:34 +02:00
Steve Jain
eda85bf2e9
Reword text in proposal fee pop-up 2019-04-05 11:10:00 -04:00
Christoph Atteneder
79376f3faf
Prevent user from creating transactions that will burn money (mining fees > amount to transfer) 2019-04-05 16:28:55 +02:00
Christoph Atteneder
3275dfed10
Improve transaction display for BTC withrawals from BSQ wallet 2019-04-05 16:28:08 +02:00
Manfred Karrer
32264070b7
Merge pull request #2643 from devinbileck/update-insufficient-funds-warning-for-proposal
Update insufficient BTC warning for issuance proposals
2019-04-04 18:28:37 -05:00
Manfred Karrer
9a6a03f1e5
Merge pull request #2646 from oscarguindzberg/regtest-fix
Bugfix for bitcoinRegtestHost=none mode
2019-04-04 18:27:30 -05:00
Manfred Karrer
9b3755cf84
Set Mainnet test genesis tx 2019-04-04 17:37:25 -05:00
Manfred Karrer
a6ec41aaeb
Set dao activated by default
We still keep the activation code just in case...
We can clean it up in a later release
2019-04-04 17:06:33 -05:00
Oscar Guindzberg
4cb5b9d37e Fix typo 2019-04-04 19:00:12 -03:00
Oscar Guindzberg
cc73c5e37b Bugfix for bitcoinRegtestHost=none mode 2019-04-04 18:58:09 -03:00
Devin Bileck
837e79248f
Update insufficient BTC warning for issuance proposals
When attempting to submit a compensation request or reimbursement
request with insufficient BTC, the warning message only indicated that
BTC is required for mining fees. It did not indicate that BTC is also
required for the BSQ issuance.

So another display string was added and displayed when submitting an
issuance proposal with insufficient BTC funds available.
2019-04-04 12:59:30 -07:00
Manfred Karrer
e0e1472fac
Merge pull request #2635 from ripcurlx/fix-wrong-crypto-name-in-removed-cryptos
Change wrong name for Siacoin in removed crypto list
2019-04-04 10:14:26 -05:00
Christoph Atteneder
b30f166e92
Add information of Satoshis needed for coloring 2019-04-04 13:19:30 +02:00