- 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).
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.
- 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.
- 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
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.
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.
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....