mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-08-14 09:25:37 -04:00
improve error handling in protocol pipelines
support getTrades() from grpc api consistently use timeouts in protocol pipelines remove trade and repost offer on protocol errors delete multisig wallet when trade removed protocol advances on ack messages instead of network onArrived() re-order protocol class methods to correct order
This commit is contained in:
parent
d2ddfad5bc
commit
7c9c35b1b8
21 changed files with 1096 additions and 930 deletions
|
@ -300,6 +300,8 @@ message StopReply {
|
|||
service Trades {
|
||||
rpc GetTrade (GetTradeRequest) returns (GetTradeReply) {
|
||||
}
|
||||
rpc GetTrades (GetTradesRequest) returns (GetTradesReply) {
|
||||
}
|
||||
rpc TakeOffer (TakeOfferRequest) returns (TakeOfferReply) {
|
||||
}
|
||||
rpc ConfirmPaymentStarted (ConfirmPaymentStartedRequest) returns (ConfirmPaymentStartedReply) {
|
||||
|
@ -344,6 +346,13 @@ message GetTradeReply {
|
|||
TradeInfo trade = 1;
|
||||
}
|
||||
|
||||
message GetTradesRequest {
|
||||
}
|
||||
|
||||
message GetTradesReply {
|
||||
repeated TradeInfo trades = 1;
|
||||
}
|
||||
|
||||
message KeepFundsRequest {
|
||||
string trade_id = 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue