Skip to content

Commit 5be1322

Browse files
authored
Merge pull request #830 from sputn1ck/rpc_ntfn_stream
swapserverrpc: refactor reservation notifications
2 parents 96d321e + cc1d942 commit 5be1322

File tree

6 files changed

+845
-598
lines changed

6 files changed

+845
-598
lines changed

swapserverrpc/reservation.pb.go

Lines changed: 13 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

swapserverrpc/reservation.proto

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ service ReservationService {
1212
// ReservationNotificationStream is a server side stream that sends
1313
// notifications if the server wants to open a reservation to the client.
1414
rpc ReservationNotificationStream (ReservationNotificationRequest)
15-
returns (stream ServerReservationNotification);
15+
returns (stream ServerReservationNotification) {
16+
option deprecated = true;
17+
}
1618

1719
// OpenReservation requests a new reservation UTXO from the server.
1820
rpc OpenReservation (ServerOpenReservationRequest)

swapserverrpc/reservation_grpc.pb.go

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)