mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-23 23:06:39 +01:00
A decentralized bitcoin exchange network
We can cache an offer payload hash as soon as its `offerFeePaymentTxId` is set. (The payload hash cannot be calculated until the object can be transformed into a protobuf message, which requires a non-null offerFeePaymentTxId.) Another benefit is removal of the payload hash argument from the `OfferBookListItem` constructor. Changes include - `OfferPayload` Added `transient byte[] hash` field + getter method (where hash is calculated and cached). - `OfferBookService` Removed `P2PDataStorage.ByteArray hashOfPayload` parameter from `OfferBookChangedListener` listener methods `onAdded` & `onRemoved`. (Hash is cached in `OfferPayload`.) - `P2PDataStorage` Added null check to `ByteArray` class constructor. - `OfferBook` Adjusted for change to `OfferBookChangedListener`. Also removed redundant payload hash null checks. - `TakeOfferDataModel` and `MarketAlerts` Adjusted for change to `OfferBookChangedListener`. - `OfferBookListItem` Removed overloaded constructor with `@Nullable P2PDataStorage.ByteArray hashOfPayload` parameter. (Field value is set from cached offer payload hash.) - `OfferBookViewModelTest` and `OfferMaker` Adjusted test and test fixture: do not attempt to create offer payloads without an `offerFeePaymentTxId`. |
||
---|---|---|
.github | ||
.idea | ||
apitest | ||
assets/src | ||
cli/src | ||
common/src | ||
core | ||
daemon/src | ||
desktop | ||
docs | ||
gradle | ||
inventory/src/main | ||
monitor | ||
p2p/src | ||
pricenode | ||
proto/src/main/proto | ||
relay | ||
scripts | ||
seednode | ||
statsnode/src/main | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.travis.yml | ||
build.gradle | ||
CODEOWNERS | ||
CONTRIBUTING.md | ||
gradle.properties | ||
gradlew | ||
gradlew.bat | ||
LICENSE | ||
Makefile | ||
pull_request_template.md | ||
README.md | ||
settings.gradle |
Bisq
What is Bisq?
Bisq is a safe, private and decentralized way to exchange bitcoin for national currencies and other digital assets. Bisq uses peer-to-peer networking and multi-signature escrow to facilitate trading without a third party. Bisq is non-custodial and incorporates a human arbitration system to resolve disputes.
To learn more, see the doc and video at https://bisq.network/intro.
Get started using Bisq
Follow the step-by-step instructions at https://bisq.network/get-started.
Contribute to Bisq
See CONTRIBUTING.md and the developer docs.