mirror of
https://github.com/colinear-labs/chain.git
synced 2026-03-04 20:24:25 -08:00
hardware specs mandatory in auction creation msg
This commit is contained in:
@@ -5,6 +5,8 @@ package colinear.colinearcore;
|
||||
|
||||
option go_package = "colinear/x/colinearcore/types";
|
||||
|
||||
import "colinearcore/hardware.proto";
|
||||
|
||||
// Msg defines the Msg service.
|
||||
service Msg {
|
||||
rpc NewAuction(MsgNewAuction) returns (MsgNewAuctionResponse);
|
||||
@@ -26,6 +28,13 @@ message MsgNewAuction {
|
||||
// verified providers just specifies who's allowed to bid on the lease auction.
|
||||
// STORED IN MEMORY. DOES NOT GET WRITTEN TO CHAIN STATE.
|
||||
repeated string verifiedProviders = 7;
|
||||
|
||||
// hardware specs (mandatory)
|
||||
repeated string gpus = 8;
|
||||
uint64 cpuCores = 9;
|
||||
CpuArchitecture cpuArch = 10;
|
||||
uint64 memMb = 11;
|
||||
uint64 storageGb = 12;
|
||||
}
|
||||
|
||||
message MsgNewAuctionResponse {
|
||||
|
||||
Reference in New Issue
Block a user