Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions api-spec/openapi/swagger/ark/v1/service.openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -856,6 +856,9 @@
"heartbeat": {
"$ref": "#/components/schemas/Heartbeat"
},
"intentDisrupted": {
"$ref": "#/components/schemas/IntentDisruptedEvent"
},
"streamStarted": {
"$ref": "#/components/schemas/StreamStartedEvent"
},
Expand Down Expand Up @@ -1054,6 +1057,22 @@
}
}
},
"IntentDisruptedEvent": {
"title": "IntentDisruptedEvent",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "round id"
},
"intentId": {
"type": "string"
},
"reason": {
"type": "string"
}
}
},
"IntentFeeInfo": {
"title": "IntentFeeInfo",
"type": "object",
Expand Down
16 changes: 16 additions & 0 deletions api-spec/openapi/swagger/ark/v1/types.openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,22 @@
}
}
},
"IntentDisruptedEvent": {
"title": "IntentDisruptedEvent",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "round id"
},
"intentId": {
"type": "string"
},
"reason": {
"type": "string"
}
}
},
"IntentFeeInfo": {
"title": "IntentFeeInfo",
"type": "object",
Expand Down
1 change: 1 addition & 0 deletions api-spec/protobuf/ark/v1/service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ message GetEventStreamResponse {
TreeNoncesEvent tree_nonces = 9;
Heartbeat heartbeat = 10;
StreamStartedEvent stream_started = 11;
IntentDisruptedEvent intent_disrupted = 12;
}
}

Expand Down
6 changes: 6 additions & 0 deletions api-spec/protobuf/ark/v1/types.proto
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,12 @@ message BatchFailedEvent {
string reason = 2;
}

message IntentDisruptedEvent {
string id = 1; // round id
string intent_id = 2;
string reason = 3;
}

message TreeSigningStartedEvent {
string id = 1;
repeated string cosigners_pubkeys = 2;
Expand Down
4 changes: 2 additions & 2 deletions api-spec/protobuf/gen/ark/v1/indexer.pb.rgw.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

120 changes: 70 additions & 50 deletions api-spec/protobuf/gen/ark/v1/service.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading