mirror of
				https://github.com/0glabs/0g-chain.git
				synced 2025-11-04 15:37:27 +00:00 
			
		
		
		
	* sync all third party proto definitions * update cosmos swagger for new imported third party protos
		
			
				
	
	
		
			19 lines
		
	
	
		
			640 B
		
	
	
	
		
			Protocol Buffer
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			640 B
		
	
	
	
		
			Protocol Buffer
		
	
	
	
	
	
syntax = "proto3";
 | 
						|
package cosmos.crypto.multisig;
 | 
						|
 | 
						|
import "gogoproto/gogo.proto";
 | 
						|
import "google/protobuf/any.proto";
 | 
						|
 | 
						|
option go_package = "github.com/cosmos/cosmos-sdk/crypto/keys/multisig";
 | 
						|
 | 
						|
// LegacyAminoPubKey specifies a public key type
 | 
						|
// which nests multiple public keys and a threshold,
 | 
						|
// it uses legacy amino address rules.
 | 
						|
message LegacyAminoPubKey {
 | 
						|
  option (gogoproto.goproto_getters) = false;
 | 
						|
 | 
						|
  uint32   threshold                       = 1 [(gogoproto.moretags) = "yaml:\"threshold\""];
 | 
						|
  repeated google.protobuf.Any public_keys = 2
 | 
						|
      [(gogoproto.customname) = "PubKeys", (gogoproto.moretags) = "yaml:\"pubkeys\""];
 | 
						|
}
 |