Commit b612458 1 parent 0ea2809 commit b612458 Copy full SHA for b612458
File tree 1 file changed +12
-10
lines changed
1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -63,13 +63,6 @@ message BlockInfo {
63
63
optional bytes bmm_commitment = 3 ;
64
64
}
65
65
66
- enum AckBundlesTag {
67
- ACK_BUNDLES_TAG_UNSPECIFIED = 0 ;
68
- ACK_BUNDLES_TAG_REPEAT_PREVIOUS = 1 ;
69
- ACK_BUNDLES_TAG_LEADING_BY_50 = 2 ;
70
- ACK_BUNDLES_TAG_UPVOTES = 3 ;
71
- }
72
-
73
66
service MainchainService {
74
67
rpc BroadcastWithdrawalBundle (BroadcastWithdrawalBundleRequest )
75
68
returns (BroadcastWithdrawalBundleResponse );
@@ -201,11 +194,20 @@ message GetCoinbasePSBTRequest {
201
194
google.protobuf.BytesValue bundle_txid = 2 ;
202
195
}
203
196
message AckBundles {
204
- AckBundlesTag tag = 1 ;
205
- repeated uint32 upvotes = 2 ;
197
+ message RepeatPrevious {
198
+ }
199
+ message LeadingBy50 {
200
+ }
201
+ message Upvotes {
202
+ repeated uint32 upvotes = 1 ;
203
+ }
204
+ oneof ack_bundles {
205
+ RepeatPrevious repeat_previous = 1 ;
206
+ LeadingBy50 leading_by_50 = 2 ;
207
+ Upvotes upvotes = 3 ;
208
+ }
206
209
}
207
210
208
-
209
211
repeated ProposeSidechain propose_sidechains = 1 ;
210
212
repeated AckSidechain ack_sidechains = 2 ;
211
213
repeated ProposeBundle propose_bundles = 3 ;
You can’t perform that action at this time.
0 commit comments