-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] Atomic bsq trades #5729
[WIP] Atomic bsq trades #5729
Commits on Sep 27, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 4a99d79 - Browse repository at this point
Copy the full SHA 4a99d79View commit details -
Refactor direct offerPayload access
Let Offer handle all OfferPayload data access.
Configuration menu - View commit details
-
Copy full SHA for 170bc8a - Browse repository at this point
Copy the full SHA 170bc8aView commit details -
An interface for OfferPayload currently only used by OfferPayload. Some features won't be available for newer payload types but to fit this into the Offer and Trade framework it's necessary to hack it a bit.
Configuration menu - View commit details
-
Copy full SHA for c46906f - Browse repository at this point
Copy the full SHA c46906fView commit details -
Offer protobuf has oneof FeeTxOfferPayload and AtomicOfferPayload. This is backwards compatible since the wire format is the same for the old Offer and the new one with offer_payload set since the index is the same.
Configuration menu - View commit details
-
Copy full SHA for d78ed1b - Browse repository at this point
Copy the full SHA d78ed1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 100c13c - Browse repository at this point
Copy the full SHA 100c13cView commit details -
Add a hidden account type that's automatically used for BSQ trades. This means old orders not using AtomicAccount can still complete the trades as per normal and new offers placed with AtomicAccount can be taken by anyone with an upgraded client, but won't be possible to take by users with older clients. The atomic account is added on startup if not already added. There is no data associated with the account, a new BSQ address will be chosen automatically during the atomic trade process.
Configuration menu - View commit details
-
Copy full SHA for 3762962 - Browse repository at this point
Copy the full SHA 3762962View commit details -
Configuration menu - View commit details
-
Copy full SHA for ff0c6c6 - Browse repository at this point
Copy the full SHA ff0c6c6View commit details -
Add UI for taking atomic offers
Copy paste of normal take offer code with extra steps removed Added AtomicTxBuilder prototype as a way to build the atomic tx, verify inputs and gather input requirements. Only the input requirement is used during the take offer process.
Configuration menu - View commit details
-
Copy full SHA for 7672576 - Browse repository at this point
Copy the full SHA 7672576View commit details -
Refactor: TradeManager handle Tradable
This prepares for letting TradeManager handle AtomicTrade that is a Tradable
Configuration menu - View commit details
-
Copy full SHA for ea5bf55 - Browse repository at this point
Copy the full SHA ea5bf55View commit details -
Configuration menu - View commit details
-
Copy full SHA for 72eb38d - Browse repository at this point
Copy the full SHA 72eb38dView commit details -
Configuration menu - View commit details
-
Copy full SHA for c108841 - Browse repository at this point
Copy the full SHA c108841View commit details -
Configuration menu - View commit details
-
Copy full SHA for 06352d9 - Browse repository at this point
Copy the full SHA 06352d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 74aee8d - Browse repository at this point
Copy the full SHA 74aee8dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7dc50d2 - Browse repository at this point
Copy the full SHA 7dc50d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 34e8f1d - Browse repository at this point
Copy the full SHA 34e8f1dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a0e79c0 - Browse repository at this point
Copy the full SHA a0e79c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for e57763a - Browse repository at this point
Copy the full SHA e57763aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ac28dd - Browse repository at this point
Copy the full SHA 7ac28ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for aa22b54 - Browse repository at this point
Copy the full SHA aa22b54View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a1d1df - Browse repository at this point
Copy the full SHA 9a1d1dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for ee18eb9 - Browse repository at this point
Copy the full SHA ee18eb9View commit details -
Display Atomic Trade info in transaction lists
Set txid when parsing AtomicTrade from protobuf
Configuration menu - View commit details
-
Copy full SHA for 5da71fb - Browse repository at this point
Copy the full SHA 5da71fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e7327a - Browse repository at this point
Copy the full SHA 7e7327aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 924236a - Browse repository at this point
Copy the full SHA 924236aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 644aee8 - Browse repository at this point
Copy the full SHA 644aee8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 823cc64 - Browse repository at this point
Copy the full SHA 823cc64View commit details -
Add atomic offer/trade grpc proto defs
- Add offers service protos: GetAtomicOffer, GetMyAtomicOffer, GetAtomicOffers, GetMyAtomicOffers, CreateAtomicOffer. - Add proto message AtomicOfferInfo. - Add bool tradeAtomic field to CreateCryptoCurrencyPaymentAccountRequest. - Add trades service protos: GetAtomicTrade, TakeAtomicOffer. - Add proto message AtomicTradeInfo.
Configuration menu - View commit details
-
Copy full SHA for dce5b4c - Browse repository at this point
Copy the full SHA dce5b4cView commit details -
Configuration menu - View commit details
-
Copy full SHA for cda293f - Browse repository at this point
Copy the full SHA cda293fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ea8b88 - Browse repository at this point
Copy the full SHA 6ea8b88View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0322830 - Browse repository at this point
Copy the full SHA 0322830View commit details -
Configuration menu - View commit details
-
Copy full SHA for bcdcc15 - Browse repository at this point
Copy the full SHA bcdcc15View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b3adfc - Browse repository at this point
Copy the full SHA 4b3adfcView commit details -
Configuration menu - View commit details
-
Copy full SHA for b751f53 - Browse repository at this point
Copy the full SHA b751f53View commit details -
Configuration menu - View commit details
-
Copy full SHA for 83e8fd6 - Browse repository at this point
Copy the full SHA 83e8fd6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e4c0fb - Browse repository at this point
Copy the full SHA 9e4c0fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 068a845 - Browse repository at this point
Copy the full SHA 068a845View commit details -
Configuration menu - View commit details
-
Copy full SHA for b5cee9b - Browse repository at this point
Copy the full SHA b5cee9bView commit details -
Core: remove BTC trade fee option for atomic trades
All trade fees are now paid using BSQ for atomic trades. The UI elements have still not been removed
Configuration menu - View commit details
-
Copy full SHA for e239425 - Browse repository at this point
Copy the full SHA e239425View commit details -
Desktop: remove trade fee option from UI
Clean up some copy paste residue from UI classes Remove unused AtomicModel
Configuration menu - View commit details
-
Copy full SHA for bec88fd - Browse repository at this point
Copy the full SHA bec88fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for a534b4a - Browse repository at this point
Copy the full SHA a534b4aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7fa31d9 - Browse repository at this point
Copy the full SHA 7fa31d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b8dbac - Browse repository at this point
Copy the full SHA 5b8dbacView commit details -
bitcoinj: update to better multi wallet handling
Use bitcoinj version that clones incoming transactions. This fixes inconsistent wallet problems caused by bisq creating transactions with outputs going to both the BSQ and BTC wallets.
Configuration menu - View commit details
-
Copy full SHA for 02f980f - Browse repository at this point
Copy the full SHA 02f980fView commit details
Commits on Sep 29, 2021
-
Configuration menu - View commit details
-
Copy full SHA for ca61054 - Browse repository at this point
Copy the full SHA ca61054View commit details -
Configuration menu - View commit details
-
Copy full SHA for 834d0c8 - Browse repository at this point
Copy the full SHA 834d0c8View commit details -
We need to use capabilities to check if we can send a msg to the peer containing BSQ_Swap offer data. Added also support for BundleOfEnvelopes in the noCapabilityRequiredOrCapabilityIsSupported method and refactored the method.
Configuration menu - View commit details
-
Copy full SHA for 65aa2e7 - Browse repository at this point
Copy the full SHA 65aa2e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 76cb61d - Browse repository at this point
Copy the full SHA 76cb61dView commit details -
Configuration menu - View commit details
-
Copy full SHA for df88ef7 - Browse repository at this point
Copy the full SHA df88ef7View commit details -
Remove handling for bundledEnvelopes in send method
The code was never executed as it is not usual that on one connection multiple messages are sent in a short period. The handling for bundledEnvelopes has been implemented later into the broadcast domain, there is does do its job.
Configuration menu - View commit details
-
Copy full SHA for 6993996 - Browse repository at this point
Copy the full SHA 6993996View commit details -
Configuration menu - View commit details
-
Copy full SHA for c447d14 - Browse repository at this point
Copy the full SHA c447d14View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c8f46c - Browse repository at this point
Copy the full SHA 5c8f46cView commit details -
Rename AtomicAccountPayload to BsqSwapAccountPayload
Remove generic_string (was not used)
Configuration menu - View commit details
-
Copy full SHA for 13b849f - Browse repository at this point
Copy the full SHA 13b849fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 77b6508 - Browse repository at this point
Copy the full SHA 77b6508View commit details -
Configuration menu - View commit details
-
Copy full SHA for c89e005 - Browse repository at this point
Copy the full SHA c89e005View commit details -
Configuration menu - View commit details
-
Copy full SHA for 13bdf2d - Browse repository at this point
Copy the full SHA 13bdf2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a717cfc - Browse repository at this point
Copy the full SHA a717cfcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f0f616 - Browse repository at this point
Copy the full SHA 1f0f616View commit details -
Configuration menu - View commit details
-
Copy full SHA for f022d70 - Browse repository at this point
Copy the full SHA f022d70View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e6a428 - Browse repository at this point
Copy the full SHA 8e6a428View commit details -
Configuration menu - View commit details
-
Copy full SHA for 914aaec - Browse repository at this point
Copy the full SHA 914aaecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d92651 - Browse repository at this point
Copy the full SHA 2d92651View commit details -
Move bisq.core.trade.atomic.AtomicTxBuilder to bisq.core.btc.AtomicTx…
…Builder As it is about transaction domain I think it fits better in the bitcoin domain
Configuration menu - View commit details
-
Copy full SHA for f9bbb61 - Browse repository at this point
Copy the full SHA f9bbb61View commit details -
Rename AtomicTxBuilder to BsqSwapTxHelper
Builder would suggest the builder pattern, so maybe better use helper.
Configuration menu - View commit details
-
Copy full SHA for 46b1a0f - Browse repository at this point
Copy the full SHA 46b1a0fView commit details -
Rename AtomicMakerProtocol to BsqSwapMakerProtocol
and AtomicTakerProtocol to BsqSwapTakerProtocol
Configuration menu - View commit details
-
Copy full SHA for b683664 - Browse repository at this point
Copy the full SHA b683664View commit details -
Move bisq.core.trade.protocol.BsqSwapProtocolModel to bisq.core.trade…
….atomic.protocol.BsqSwapProtocolModel
Configuration menu - View commit details
-
Copy full SHA for d856544 - Browse repository at this point
Copy the full SHA d856544View commit details -
Move trade model classes to bisq.core.trade.model package
Keep bsqSwap and normal trade separate. Leave common classed in base package. No good name yet for default trade (default cannot be used as package name)
Configuration menu - View commit details
-
Copy full SHA for 2388bd4 - Browse repository at this point
Copy the full SHA 2388bd4View commit details -
Configuration menu - View commit details
-
Copy full SHA for d94e633 - Browse repository at this point
Copy the full SHA d94e633View commit details -
Configuration menu - View commit details
-
Copy full SHA for 39866b0 - Browse repository at this point
Copy the full SHA 39866b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for c081281 - Browse repository at this point
Copy the full SHA c081281View commit details -
Configuration menu - View commit details
-
Copy full SHA for 20effc7 - Browse repository at this point
Copy the full SHA 20effc7View commit details -
Configuration menu - View commit details
-
Copy full SHA for e711378 - Browse repository at this point
Copy the full SHA e711378View commit details -
Configuration menu - View commit details
-
Copy full SHA for 75b1c7c - Browse repository at this point
Copy the full SHA 75b1c7cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f65f41 - Browse repository at this point
Copy the full SHA 5f65f41View commit details -
Remove Atomic prefixes for tasks
The package should be enough to qualify them as BsqSwap tasks. They are only used in the limited scope of the protocol package.
Configuration menu - View commit details
-
Copy full SHA for 50b78b1 - Browse repository at this point
Copy the full SHA 50b78b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for ceacbb7 - Browse repository at this point
Copy the full SHA ceacbb7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b8d947 - Browse repository at this point
Copy the full SHA 3b8d947View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4100af0 - Browse repository at this point
Copy the full SHA 4100af0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 52a022c - Browse repository at this point
Copy the full SHA 52a022cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 40e4582 - Browse repository at this point
Copy the full SHA 40e4582View commit details -
Replace TransactionResultHandler with Runnable
There is no tx set at bsqSwap place offer protocol
Configuration menu - View commit details
-
Copy full SHA for 19b0524 - Browse repository at this point
Copy the full SHA 19b0524View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7853f26 - Browse repository at this point
Copy the full SHA 7853f26View commit details -
Use OfferPayloadBase instead of ProtectedStoragePayload as type
As we are in the offer domain we should use the domain relevant type.
Configuration menu - View commit details
-
Copy full SHA for fea0018 - Browse repository at this point
Copy the full SHA fea0018View commit details -
Remove redundant OfferPayload.Direction
Move Direction one level up and rename to OfferDirection to match protobuf definition
Configuration menu - View commit details
-
Copy full SHA for a4059b4 - Browse repository at this point
Copy the full SHA a4059b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for b390743 - Browse repository at this point
Copy the full SHA b390743View commit details
Commits on Sep 30, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 163bcce - Browse repository at this point
Copy the full SHA 163bcceView commit details -
Refactor BsqSwapWalletWatcher and OpenOfferManager
I think the dependency should be inverted here, so that the OpenOfferManager does not know about the details about BsqSwap funding. Removed FundingListener, use listener on observable list instead and maintain a filtered list in the BsqSwapWalletWatcher.
Configuration menu - View commit details
-
Copy full SHA for cb81c6f - Browse repository at this point
Copy the full SHA cb81c6fView commit details
Commits on Oct 1, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 088b85b - Browse repository at this point
Copy the full SHA 088b85bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c74073 - Browse repository at this point
Copy the full SHA 7c74073View commit details
Commits on Oct 2, 2021
-
Configuration menu - View commit details
-
Copy full SHA for c4e129b - Browse repository at this point
Copy the full SHA c4e129bView commit details -
Add common interface for tradePeer.
Move TradingPeer to trade package. Only stub now...
Configuration menu - View commit details
-
Copy full SHA for 7872dbc - Browse repository at this point
Copy the full SHA 7872dbcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0354017 - Browse repository at this point
Copy the full SHA 0354017View commit details -
Configuration menu - View commit details
-
Copy full SHA for f9d384c - Browse repository at this point
Copy the full SHA f9d384cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3cc549b - Browse repository at this point
Copy the full SHA 3cc549bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 78ddc2d - Browse repository at this point
Copy the full SHA 78ddc2dView commit details -
Add the 4 variants to trade and protocols
Comment out all existing code in protocol domain. Will get re-added step by step...
Configuration menu - View commit details
-
Copy full SHA for 503a065 - Browse repository at this point
Copy the full SHA 503a065View commit details
Commits on Oct 4, 2021
-
Trade protocol update according to other trade protocol
- Follow the buyer/seller and maker/taker perspectives according to the domain context - Use the protocol model only for state data required as shared model for the tasks - Add a tradePeer model for holding the peers data - Keep logic in tasks and use a util class for re-used methods
Configuration menu - View commit details
-
Copy full SHA for 739811c - Browse repository at this point
Copy the full SHA 739811cView commit details
Commits on Oct 5, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 7022505 - Browse repository at this point
Copy the full SHA 7022505View commit details -
Configuration menu - View commit details
-
Copy full SHA for d77127d - Browse repository at this point
Copy the full SHA d77127dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 76982ff - Browse repository at this point
Copy the full SHA 76982ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for cadef15 - Browse repository at this point
Copy the full SHA cadef15View commit details -
Configuration menu - View commit details
-
Copy full SHA for 82d05dd - Browse repository at this point
Copy the full SHA 82d05ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8167d6d - Browse repository at this point
Copy the full SHA 8167d6dView commit details -
Move package bisq.core.trade.messages to bisq.core.trade.protocol.mes…
…sages As messages are part of the protocol its better inside the protocol package
Configuration menu - View commit details
-
Copy full SHA for 063dc93 - Browse repository at this point
Copy the full SHA 063dc93View commit details -
Configuration menu - View commit details
-
Copy full SHA for b432110 - Browse repository at this point
Copy the full SHA b432110View commit details -
Remove references from multisigbased trade domain from generic trade …
…classes Use interfaces for state and phase
Configuration menu - View commit details
-
Copy full SHA for 011c929 - Browse repository at this point
Copy the full SHA 011c929View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a5ba91 - Browse repository at this point
Copy the full SHA 7a5ba91View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a2fdb0 - Browse repository at this point
Copy the full SHA 8a2fdb0View commit details -
Use Trade as type in tradableList
Make delegates to bsqSwapTradeManager more explicit Cleanup stream concats Add BsqTradeDetailsWindow instead using OfferDetailsWindow (not impl. changes yet in window)
Configuration menu - View commit details
-
Copy full SHA for 853848d - Browse repository at this point
Copy the full SHA 853848dView commit details -
Remove offer only once trade is completed (tx visisble if maker is se…
…ller) Pass bsqWalletService to getTransaction as provider is not set for closed trades but we want to access it in views.
Configuration menu - View commit details
-
Copy full SHA for 1819356 - Browse repository at this point
Copy the full SHA 1819356View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f8d1c9 - Browse repository at this point
Copy the full SHA 0f8d1c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 030cff8 - Browse repository at this point
Copy the full SHA 030cff8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f5f844 - Browse repository at this point
Copy the full SHA 1f5f844View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a3c3a1 - Browse repository at this point
Copy the full SHA 6a3c3a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a36329 - Browse repository at this point
Copy the full SHA 9a36329View commit details
Commits on Oct 8, 2021
-
Configuration menu - View commit details
-
Copy full SHA for b45211e - Browse repository at this point
Copy the full SHA b45211eView commit details -
Rename BsqSwapWalletWatcher to BsqSwapOfferManager
Fix params in test
Configuration menu - View commit details
-
Copy full SHA for 07cdf70 - Browse repository at this point
Copy the full SHA 07cdf70View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b51fd7 - Browse repository at this point
Copy the full SHA 5b51fd7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 63f2d25 - Browse repository at this point
Copy the full SHA 63f2d25View commit details -
Configuration menu - View commit details
-
Copy full SHA for 499302b - Browse repository at this point
Copy the full SHA 499302bView commit details -
Let BsqSwapAccountPayload extend PaymentAccountPayload
We do not use an address but use that account only as proxy for marking Bsq Swaps
Configuration menu - View commit details
-
Copy full SHA for 6700ca6 - Browse repository at this point
Copy the full SHA 6700ca6View commit details -
Configuration menu - View commit details
-
Copy full SHA for aa83e5b - Browse repository at this point
Copy the full SHA aa83e5bView commit details -
Fee can be quite volatile so we allow larger deviations
Configuration menu - View commit details
-
Copy full SHA for fa0853a - Browse repository at this point
Copy the full SHA fa0853aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4da55ea - Browse repository at this point
Copy the full SHA 4da55eaView commit details -
Add getBsqTradeAmount to BsqSwapCalculation
Use that method in BsqTrade.getBsqTradeAmount()
Configuration menu - View commit details
-
Copy full SHA for 303b536 - Browse repository at this point
Copy the full SHA 303b536View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e8357a - Browse repository at this point
Copy the full SHA 3e8357aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 45b9921 - Browse repository at this point
Copy the full SHA 45b9921View commit details -
Configuration menu - View commit details
-
Copy full SHA for 827d603 - Browse repository at this point
Copy the full SHA 827d603View commit details -
Configuration menu - View commit details
-
Copy full SHA for a2fcaa0 - Browse repository at this point
Copy the full SHA a2fcaa0View commit details -
Refactor tx creation and verification
Add message with finalized tx to be sent to seller. Add Publish tx task to sellers side (only dont if tx not already received)
Configuration menu - View commit details
-
Copy full SHA for 725b8eb - Browse repository at this point
Copy the full SHA 725b8ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9242ab9 - Browse repository at this point
Copy the full SHA 9242ab9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3592625 - Browse repository at this point
Copy the full SHA 3592625View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb64320 - Browse repository at this point
Copy the full SHA bb64320View commit details
Commits on Oct 9, 2021
-
Configuration menu - View commit details
-
Copy full SHA for e44a431 - Browse repository at this point
Copy the full SHA e44a431View commit details -
Configuration menu - View commit details
-
Copy full SHA for fd56eef - Browse repository at this point
Copy the full SHA fd56eefView commit details -
Add scriptTypeId to RawTransactionInput
We will need that to know if its a segwit input or not. Add constructors for converting a TransactionInput to RawTransactionInput. Handle bitcoinSerialize according to segwit flag. This change should not break anything as we only add a field to protobuf and RawTransactionInput is not used in cases where we depend on the hash of the payload like in offers.
Configuration menu - View commit details
-
Copy full SHA for 9e109ce - Browse repository at this point
Copy the full SHA 9e109ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8dc34c0 - Browse repository at this point
Copy the full SHA 8dc34c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for efc5d0b - Browse repository at this point
Copy the full SHA efc5d0bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 095d780 - Browse repository at this point
Copy the full SHA 095d780View commit details -
Move getRawInputFromTransactionInput to TradeWalletService
Don't change old behaviour for normal trade protocol methods where we use segwit=false for serialisation.
Configuration menu - View commit details
-
Copy full SHA for 4e70e5b - Browse repository at this point
Copy the full SHA 4e70e5bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 73b897a - Browse repository at this point
Copy the full SHA 73b897aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e308e6 - Browse repository at this point
Copy the full SHA 8e308e6View commit details -
transactionInput.hasWitness would only work for signed inputs but we need to do the fee calculation before the signing. Adjust fee calculation values using vbytes according to https://bitcoin.stackexchange.com/questions/87275/how-to-calculate-segwit-transaction-fee-in-bytes
Configuration menu - View commit details
-
Copy full SHA for 138fa2a - Browse repository at this point
Copy the full SHA 138fa2aView commit details -
Add handling for InsufficientMoneyException
This need to be tested further...
Configuration menu - View commit details
-
Copy full SHA for b4c1b4e - Browse repository at this point
Copy the full SHA b4c1b4eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9858c26 - Browse repository at this point
Copy the full SHA 9858c26View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e80f18 - Browse repository at this point
Copy the full SHA 2e80f18View commit details -
Store sellersBsqPayoutAmount in protocolModel.setPayout
at process input task and reuse that value in next task
Configuration menu - View commit details
-
Copy full SHA for 0550fda - Browse repository at this point
Copy the full SHA 0550fdaView commit details -
Configuration menu - View commit details
-
Copy full SHA for b53c544 - Browse repository at this point
Copy the full SHA b53c544View commit details -
Configuration menu - View commit details
-
Copy full SHA for a266db8 - Browse repository at this point
Copy the full SHA a266db8View commit details -
Configuration menu - View commit details
-
Copy full SHA for aec5608 - Browse repository at this point
Copy the full SHA aec5608View commit details -
Fix handling for slightly overpaid BTC funds
If available funds is < dust it will add the dust change to miner fee If the If available funds is > dust but the additional change output would produce another dust change it will also add it to miner fees. In that case the added amount is > dust.
Configuration menu - View commit details
-
Copy full SHA for 0e54439 - Browse repository at this point
Copy the full SHA 0e54439View commit details
Commits on Oct 10, 2021
-
Configuration menu - View commit details
-
Copy full SHA for f5e19c0 - Browse repository at this point
Copy the full SHA f5e19c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b799f9 - Browse repository at this point
Copy the full SHA 6b799f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 13adb3a - Browse repository at this point
Copy the full SHA 13adb3aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a09bc0 - Browse repository at this point
Copy the full SHA 0a09bc0View commit details -
Cleanup, make constructors private and add deprecated annotation
Configuration menu - View commit details
-
Copy full SHA for 5981863 - Browse repository at this point
Copy the full SHA 5981863View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c13087 - Browse repository at this point
Copy the full SHA 4c13087View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c1c93e - Browse repository at this point
Copy the full SHA 7c1c93eView commit details -
Add getUnspentTxOutputValue method
Verify also sum of input values from DAO state data
Configuration menu - View commit details
-
Copy full SHA for f0fc08f - Browse repository at this point
Copy the full SHA f0fc08fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 30d025a - Browse repository at this point
Copy the full SHA 30d025aView commit details -
Merge pull request #16 from chimp1984/Complete-trade-protocol
Complete trade protocol
Configuration menu - View commit details
-
Copy full SHA for 9c7bdf3 - Browse repository at this point
Copy the full SHA 9c7bdf3View commit details