mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 15:10:44 +01:00
Remove PublishTradeStatistics from buyer protocol
We let seller publish trade stats to avoid those issues with duplicated entries as trade date is different. We could fix that to use the same trade date, but it seems to be not needed that both traders are publishing and the risk if a trade stat does not get successfully published does not cause real problems. There is guarantee anyway that the data is broadcast even if both do it. In case we still want to do it from both sides we need to use the sellers trade date which is exchanged early in the trade protocol but yet not further used beside for account age check.
This commit is contained in:
parent
00bed02839
commit
406bcfb064
2 changed files with 1 additions and 5 deletions
|
@ -24,7 +24,6 @@ import bisq.core.trade.messages.DepositTxAndDelayedPayoutTxMessage;
|
|||
import bisq.core.trade.messages.PayoutTxPublishedMessage;
|
||||
import bisq.core.trade.messages.TradeMessage;
|
||||
import bisq.core.trade.protocol.tasks.ApplyFilter;
|
||||
import bisq.core.trade.protocol.tasks.PublishTradeStatistics;
|
||||
import bisq.core.trade.protocol.tasks.TradeTask;
|
||||
import bisq.core.trade.protocol.tasks.buyer.BuyerProcessDepositTxAndDelayedPayoutTxMessage;
|
||||
import bisq.core.trade.protocol.tasks.buyer.BuyerProcessPayoutTxPublishedMessage;
|
||||
|
@ -114,8 +113,7 @@ public abstract class BuyerProtocol extends DisputeProtocol {
|
|||
removeMailboxMessageAfterProcessing(message);
|
||||
}))
|
||||
.setup(tasks(BuyerProcessDepositTxAndDelayedPayoutTxMessage.class,
|
||||
BuyerVerifiesFinalDelayedPayoutTx.class,
|
||||
PublishTradeStatistics.class)
|
||||
BuyerVerifiesFinalDelayedPayoutTx.class)
|
||||
.using(new TradeTaskRunner(trade,
|
||||
() -> {
|
||||
stopTimeout();
|
||||
|
|
|
@ -179,7 +179,6 @@ public class DebugView extends InitializableView<GridPane, Void> {
|
|||
|
||||
BuyerProcessDepositTxAndDelayedPayoutTxMessage.class,
|
||||
BuyerVerifiesFinalDelayedPayoutTx.class,
|
||||
PublishTradeStatistics.class,
|
||||
|
||||
ApplyFilter.class,
|
||||
MakerVerifyTakerFeePayment.class,
|
||||
|
@ -216,7 +215,6 @@ public class DebugView extends InitializableView<GridPane, Void> {
|
|||
|
||||
BuyerProcessDepositTxAndDelayedPayoutTxMessage.class,
|
||||
BuyerVerifiesFinalDelayedPayoutTx.class,
|
||||
PublishTradeStatistics.class,
|
||||
|
||||
ApplyFilter.class,
|
||||
TakerVerifyMakerFeePayment.class,
|
||||
|
|
Loading…
Add table
Reference in a new issue