/
githubmirror
/
client
Обзор
Документация
Войти
/
githubmirror
/
client
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
protocol/avdl/stellar1/ui.avdl
18 строк
604 B
Chris Ball
Stellar: Hook up builtPayment reviewing (#15143)
04 янв 2019, 22:29
04 янв 2019, 22:29
ed3217b
Код
Авторство
О чём код?
@namespace("stellar.1") protocol ui { import idl "common.avdl"; // These notifications may be sent out of order, so only process one if // 1. BuildPaymentID matches // 2. reviewID is that of the latest call to reviewPaymentLocal (sessionID would work instead) // 3. seqno is greatest seen so far for this [BuildPaymentID x sesionID] record UIPaymentReviewed { BuildPaymentID bid; int reviewID; int seqno; array<SendBannerLocal> banners; string nextButton; // one of ["enabled", "disabled", "spinning"] } void paymentReviewed(int sessionID, UIPaymentReviewed msg); }