Commit graph

6367 commits

Author SHA1 Message Date
sqrrm
56f4caf7bc
Add basic UI for bond lockup 2018-06-25 13:53:33 +02:00
Christoph Atteneder
a16f6a8e53
Add nullable annotation 2018-06-25 12:09:40 +02:00
Christoph Atteneder
a323e2d9b9
Set default payment account for an edited offer to null 2018-06-25 11:56:00 +02:00
Manfred Karrer
e1c4a1fc76
Add support for AckMessage at offer availability protocol 2018-06-25 10:42:11 +02:00
Manfred Karrer
475875d7cc
Improve dispute AckMsg handling
- Show errors at send dispute msg and at ackMsg.

- Add supportedCapabilities of persisted or reported peers to a peer
from a new connection (which has empty supportedCapabilities).
2018-06-24 16:09:24 +02:00
Manfred Karrer
84a5b30c88
Add icons and message state text to disputes
We show now under the dispute msg the icon+text.

Icons:
- message arrived (ok sign, opacity 50%)
- messages stored in mailbox (letter sign, opacity 50%)
- arrival confirmed by receiver  (ok_circle sign, opacity 100%)
- error at receiver when processing msg (exclamation sign in red)

Beside that some display bug are fixed with msg state display.
2018-06-23 16:19:26 +02:00
Manfred Karrer
3c950c1d4a
Remove default values from constructor params 2018-06-23 10:59:17 +02:00
Manfred Karrer
84b346ffb0
Merge pull request #1563 from cbeams/dependency-verification
Rework recent changes to dependency verification
2018-06-22 18:41:30 +02:00
Manfred Karrer
0cc4f7b646
Merge pull request #1581 from ManfredKarrer/protobuffer-exception-handling
Handle unknown PB data from encrypted messages
2018-06-22 18:39:11 +02:00
Manfred Karrer
68c40893c9
Handle unknown PB data from encrypted messages
- Use ProtobufferException for
CoreNetworkProtoResolver.fromProto(PB.NetworkEnvelope proto)
- Add raw PB data in case if an exception
- log error if the encrypted data contains unknown PB data

Note: We should refactor the resolvers with checked exceptions instead
of the ProtobufferRuntimeException, but for the moment we leave that to
not add too much complexity/risk for that release.
2018-06-22 11:24:31 +02:00
Manfred Karrer
9b853cfeac
Persist MessageState in processModel 2018-06-21 18:33:11 +02:00
Manfred Karrer
511458b146
Dont show bitcoinLocalhostNode popup if dev mode 2018-06-20 08:44:35 +02:00
Manfred Karrer
61b8b5f28e
Merge branch 'merit' into voting 2018-06-19 19:53:43 +02:00
Manfred Karrer
a4debc7c87
Add merit implementation 2018-06-19 19:51:57 +02:00
Manfred Karrer
aab1f579ab
Merge branch 'voting' into merit 2018-06-16 21:18:27 +02:00
Manfred Karrer
a21fed6b52
Merge branch 'api-integration' into voting
# Conflicts:
#	src/main/java/bisq/core/arbitration/DisputeManager.java

Merge branch 'api-integration' into voting

# Conflicts:
#	build.gradle
#	src/main/java/bisq/desktop/main/dao/BaseProposalView.java
#	src/main/java/bisq/desktop/main/dao/proposal/ProposalListItem.java
#	src/main/java/bisq/desktop/main/dao/proposal/active/ActiveProposalsView.java
#	src/main/java/bisq/desktop/main/dao/proposal/closed/ClosedProposalsView.java
#	src/main/java/bisq/desktop/main/dao/proposal/make/MakeProposalView.java
#	src/main/java/bisq/desktop/main/dao/proposal/myvotes/MyVotesView.java
#	src/main/java/bisq/desktop/util/GUIUtil.java
2018-06-16 14:48:20 +02:00
Manfred Karrer
ba011d4629
Merge branch 'api-integration' into voting
# Conflicts:
#	src/main/java/bisq/core/arbitration/DisputeManager.java

Merge branch 'api-integration' into voting

# Conflicts:
#	build.gradle
#	src/main/java/bisq/desktop/main/dao/BaseProposalView.java
#	src/main/java/bisq/desktop/main/dao/proposal/ProposalListItem.java
#	src/main/java/bisq/desktop/main/dao/proposal/active/ActiveProposalsView.java
#	src/main/java/bisq/desktop/main/dao/proposal/closed/ClosedProposalsView.java
#	src/main/java/bisq/desktop/main/dao/proposal/make/MakeProposalView.java
#	src/main/java/bisq/desktop/main/dao/proposal/myvotes/MyVotesView.java
#	src/main/java/bisq/desktop/util/GUIUtil.java
2018-06-16 14:22:51 +02:00
Manfred Karrer
9c3865a331
Use verbosity in getBlock rpc call to get all txs
Update to btcd-cli4j cb5c474b
2018-06-16 13:39:27 +02:00
Manfred Karrer
ac17955dbe
Add mavenLocal to repositories 2018-06-16 13:15:58 +02:00
Manfred Karrer
a35aeb6e85
Merge pull request #1567 from ManfredKarrer/issue-1566
Fixes issue 1566
2018-06-14 15:00:01 +02:00
Manfred Karrer
15baead905
Add mavenLocal, updatte hashes 2018-06-08 13:42:58 +02:00
Manfred Karrer
b2aaed9c0d
Remove protectedDataStore at blindVote
- Fix issue with same address for change and issuance candidate (use freshReceiveAddress instead of currentReceiveAddress)
- Check if issuance candidate ended up in an issuance tx at StateService.isBsqTxOutputType
- Change dust value to 546
- Remove blockHash in BlindVoteAppendOnlyPayload
2018-06-08 13:25:23 +02:00
Manfred Karrer
de9ced06d3
Merge branch 'master' into voting 2018-06-07 09:01:47 +02:00
Manfred Karrer
f5c92097de
Complete API refactoring.
Supported demo use case:

Case 1: Run Desktop + API
- Run Bisq Desktop app with gRPC server (pass option key to enable it)
- Run gRPC client
- Fund Bisq Desktop with some BTC balance
- Call getBalance on gRPC client -> get satoshi of available balance

Case 2: Run gRPC API headless

The HTTP API classes are prepared and should work with the same model,
but there is nothing integrated fro the existing API project as that
will require bigger refactorings and changes on their side.
2018-06-06 19:05:49 +02:00
Manfred Karrer
bf46320cbc
Merge branch 'refactoring-mainviewmodel' into api-integration
# Conflicts:
#	build.gradle
#	src/main/java/bisq/desktop/main/portfolio/pendingtrades/PendingTradesViewModel.java
2018-06-06 15:10:54 +02:00
Manfred Karrer
07e3d64cc9
Add popup if bitcoinLocalhostNode detected 2018-06-06 12:01:42 +02:00
Manfred Karrer
a1baf59b16
Merge branch 'master' into refactoring-mainviewmodel 2018-06-06 11:54:47 +02:00
Manfred Karrer
b51d9a5a32
Fixes issue 1566
See https://github.com/bisq-network/bisq-desktop/issues/1566
2018-06-05 23:11:16 +02:00
Chris Beams
6467b557da
Update instructions for regenerating dependency verification hashes 2018-06-05 16:50:05 +02:00
Chris Beams
ba1419a515
Update libdohj and bitcoinj dependency verification hashes
This does the work that was intended to be done in commit
175e11d81c, but was done by first removing
the dependencyVerification block entirely, and then replacing it with
the output of the `calculateChecksums` task.

The entire process went like this:

 1. Remove existing dependencyVerification block from build.gradle
 2. Run `./gradlew -q calculateChecksums | grep -v network.bisq:bisq- >> build.gradle`
 3. Run `git diff` to see that only the checksums we expect to have
    changed have in fact changed (libdohj and bitcoinj in this case).
 4. Commit the changes (in this commit)

I'll update the instructions for the dependencyVerification block in a
subsequent commit to make this clearer in the future.
2018-06-05 16:40:31 +02:00
Chris Beams
536d13fbff
Revert "Update build.gradle to fix failing checksum tests"
This reverts commit 175e11d81c.
2018-06-05 16:39:02 +02:00
Manfred Karrer
35e5d82ece
Fix concurrent modification error 2018-06-05 13:24:41 +02:00
Manfred Karrer
175e11d81c
Update build.gradle to fix failing checksum tests
The calculated checksum from the calculateChecksums task did not
reflect updates of libdohj and bitcoinj.
libdohj is a dependency in common but seems the calculateChecksums task
in desktop did not resolve that correctly. It did not change the
checksum after the libdohj version has changed and led to build errors.
Adding the libdohj dependency in Desktop as well solves the issue.
@bceams: If there is a better solution to solve that feel free to
revert and apply....
2018-06-05 11:52:41 +02:00
Manfred Karrer
f1d9563c14
Add headless BisqCoreApp and BisqCoreAppMain 2018-06-03 21:11:26 +02:00
Manfred Karrer
59dbc34ff8
Move checkForCorrectOSArchitecture to BisqSetup 2018-06-03 20:08:35 +02:00
Manfred Karrer
598bcb10b8
Add MarketPricePresentation to guice module 2018-06-03 20:02:37 +02:00
Manfred Karrer
76879ac13b
Refactoring MainViewModel
- Move p2p network setup code code to P2PNetworkSetup
- Move wallet setup code code to WalletAppSetup
- Move marketPrice code to MarketPricePresentation
2018-06-03 20:00:29 +02:00
Manfred Karrer
d914eaab00
Group wallet init code
- Move filter code to CorruptedDatabaseFilesHandler.getCorruptedDatabaseFiles
- Add tradeManager.getSetOfAllTradeIds
2018-06-03 14:50:30 +02:00
Manfred Karrer
eba5389348
Remove checkIfOpenOffersMatchTradeProtocolVersion method 2018-06-03 14:34:56 +02:00
Manfred Karrer
0c6fb8688c
Remove removeOffersWithoutAccountAgeWitness method 2018-06-03 14:24:57 +02:00
Manfred Karrer
89389abd30
Refactor TradeManager startup code
- Group TradeManager startup code to initTradeManager
- Move applyTradePeriodState and updateTradePeriodState to TradeManager
2018-06-03 14:21:47 +02:00
Manfred Karrer
0aecfe4fed
Introduce presentation classes in core
- Add BalanceModel in core
- Add BalancePresentation, DisputePresentation and TradePresentation in core
- Remove balance calculation code from MainViewModel to BalanceModel
- Move BSFormatter and BSQFormatter to core
- Move onTradesChanged to TradeManager
- Add CorePresentationModule
2018-06-03 14:07:57 +02:00
Manfred Karrer
e3b10b89d9
Move onDisputesChangeListener to disputeManager 2018-06-03 13:15:29 +02:00
Manfred Karrer
3602d4eb0f
Add dependencies of http-api 2018-05-31 02:28:53 +02:00
Manfred Karrer
a22b24b6d5
Move BtcAddressValidator to core 2018-05-31 02:28:26 +02:00
Manfred Karrer
ef58b17d75
Cleanup 2018-05-31 01:50:06 +02:00
Manfred Karrer
8ddcd937c2
Add support for BisqHttpApi to DesktopMain
- Add option keys desktopWithHttpApi and desktopWithGrpcApi
- Add BisqDaemon to BisqApp
- Fix wrong package of BisqGrpcClient and BisqGrpcServer
- Add BisqHttpApi stub
- Add http-api and bisq-grpc to Desktop
2018-05-31 01:13:05 +02:00
Manfred Karrer
07cf5dbef7
Update idea files, update gradle 2018-05-31 00:21:30 +02:00
Manfred Karrer
c013130bb1
Merge pull request #1557 from ManfredKarrer/remove-venmo-cashapp
Remove venmo cashapp
2018-05-28 13:15:14 +02:00
Manfred Karrer
30ab8c86cf
Merge pull request #1556 from ManfredKarrer/mk_master
Fix reuse of change addresses
2018-05-28 13:14:58 +02:00