OSDN Git Service

Peer add announces new block message num limit
[bytom/vapor.git] / protocol / bc / bc.proto
index fd25c9e..59190d4 100644 (file)
@@ -31,6 +31,11 @@ message AssetAmount {
   uint64  amount   = 2;
 }
 
+message AssetDefinition {
+  Program issuance_program = 1;
+  Hash    data             = 2;
+}
+
 message ValueSource {
   Hash        ref      = 1;
   AssetAmount value    = 2;
@@ -101,6 +106,13 @@ message VoteOutput {
   bytes       vote            = 4;
 }
 
+message VetoInput {
+  Hash             spent_output_id     = 1;
+  ValueDestination witness_destination = 2;
+  repeated bytes   witness_arguments   = 3;
+  uint64           ordinal             = 4;
+}
+
 message Retirement {
   ValueSource source   = 1;
   uint64      ordinal  = 2;
@@ -114,10 +126,10 @@ message Spend {
 }
 
 message CrossChainInput {
-  Hash             mainchain_output_id = 1;
-  AssetAmount      value               = 2;
-  ValueDestination witness_destination = 3;
-  Program          control_program     = 4;
-  repeated bytes   witness_arguments   = 5;
-  uint64           ordinal             = 6;
-}
\ No newline at end of file
+  Hash             mainchain_output_id       = 1;
+  ValueDestination witness_destination       = 2;
+  Program          control_program           = 3;
+  AssetDefinition  asset_definition          = 4;
+  repeated bytes   witness_arguments         = 5;
+  uint64           ordinal                   = 6;
+}