@@ -33,11 +33,11 @@ message ReceiverAddressAndAmount {
3333}
3434
3535message ContractualTxIds {
36- bytes depositTxId = 1 ;
37- bytes buyersWarningTxId = 2 ;
38- bytes sellersWarningTxId = 3 ;
39- bytes buyersRedirectTxId = 4 ;
40- bytes sellersRedirectTxId = 5 ;
36+ string depositTxId = 1 ;
37+ string buyersWarningTxId = 2 ;
38+ string sellersWarningTxId = 3 ;
39+ string buyersRedirectTxId = 4 ;
40+ string sellersRedirectTxId = 5 ;
4141}
4242
4343message PubKeySharesRequest {
@@ -48,41 +48,43 @@ message PubKeySharesRequest {
4848message PubKeySharesResponse {
4949 bytes buyerOutputPubKeyShare = 1 ;
5050 bytes sellerOutputPubKeyShare = 2 ;
51- uint32 currentBlockHeight = 3 ;
51+ // bytes multisigScriptKey = 3; TODO: Uncomment - provisionally added to Bisq2 side.
52+ uint32 currentBlockHeight = 4 ;
5253}
5354
5455message NonceSharesRequest {
5556 string tradeId = 1 ;
5657 bytes buyerOutputPeersPubKeyShare = 2 ;
5758 bytes sellerOutputPeersPubKeyShare = 3 ;
58- uint64 depositTxFeeRate = 4 ; // sats per kwu
59- uint64 preparedTxFeeRate = 5 ; // sats per kwu
60- uint64 tradeAmount = 6 ; // sats
61- uint64 buyersSecurityDeposit = 7 ; // sats
62- uint64 sellersSecurityDeposit = 8 ; // sats
63- ReceiverAddressAndAmount tradeFeeReceiver = 9 ;
59+ // bytes peersMultisigScriptKey = 4; TODO: Uncomment - provisionally added to Bisq2 side.
60+ uint64 depositTxFeeRate = 5 ; // sats per kwu
61+ uint64 preparedTxFeeRate = 6 ; // sats per kwu
62+ uint64 tradeAmount = 7 ; // sats
63+ uint64 buyersSecurityDeposit = 8 ; // sats
64+ uint64 sellersSecurityDeposit = 9 ; // sats
65+ optional ReceiverAddressAndAmount tradeFeeReceiver = 10 ;
6466}
6567
6668message NonceSharesMessage {
6769 string warningTxFeeBumpAddress = 1 ;
6870 string redirectTxFeeBumpAddress = 2 ;
69- string claimTxPayoutAddress = 11 ;
70- bytes halfDepositPsbt = 3 ;
71- uint64 redirectionAmountMsat = 14 ; // (millisatoshis)
72- bytes swapTxInputNonceShare = 4 ;
73- bytes buyersWarningTxBuyerInputNonceShare = 5 ;
74- bytes buyersWarningTxSellerInputNonceShare = 6 ;
75- bytes sellersWarningTxBuyerInputNonceShare = 7 ;
76- bytes sellersWarningTxSellerInputNonceShare = 8 ;
77- bytes buyersRedirectTxInputNonceShare = 9 ;
78- bytes sellersRedirectTxInputNonceShare = 10 ;
79- bytes buyersClaimTxInputNonceShare = 12 ;
80- bytes sellersClaimTxInputNonceShare = 13 ;
71+ string claimTxPayoutAddress = 3 ;
72+ bytes halfDepositPsbt = 4 ;
73+ uint64 redirectionAmountMsat = 5 ; // (millisatoshis)
74+ bytes swapTxInputNonceShare = 6 ;
75+ bytes buyersWarningTxBuyerInputNonceShare = 7 ;
76+ bytes buyersWarningTxSellerInputNonceShare = 8 ;
77+ bytes sellersWarningTxBuyerInputNonceShare = 9 ;
78+ bytes sellersWarningTxSellerInputNonceShare = 10 ;
79+ bytes buyersRedirectTxInputNonceShare = 11 ;
80+ bytes sellersRedirectTxInputNonceShare = 12 ;
81+ bytes buyersClaimTxInputNonceShare = 13 ;
82+ bytes sellersClaimTxInputNonceShare = 14 ;
8183}
8284
8385message PartialSignaturesRequest {
8486 string tradeId = 1 ;
85- NonceSharesMessage peersNonceShares = 2 ;
87+ optional NonceSharesMessage peersNonceShares = 2 ;
8688 repeated ReceiverAddressAndAmount redirectionReceivers = 3 ;
8789 bool buyerReadyToRelease = 4 ;
8890}
@@ -91,10 +93,10 @@ message PartialSignaturesMessage {
9193 bytes peersWarningTxBuyerInputPartialSignature = 1 ;
9294 bytes peersWarningTxSellerInputPartialSignature = 2 ;
9395 bytes peersRedirectTxInputPartialSignature = 3 ;
94- bytes peersClaimTxInputPartialSignature = 6 ;
95- optional bytes swapTxInputPartialSignature = 4 ;
96- optional bytes swapTxInputSighash = 5 ;
97- ContractualTxIds contractualTxIds = 7 ;
96+ bytes peersClaimTxInputPartialSignature = 4 ;
97+ optional bytes swapTxInputPartialSignature = 5 ;
98+ optional bytes swapTxInputSighash = 6 ;
99+ optional ContractualTxIds contractualTxIds = 7 ;
98100}
99101
100102message DepositTxSignatureRequest {
0 commit comments