Skip to content

Commit

Permalink
More payment related stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardobl committed May 26, 2024
1 parent 70a7b24 commit 535a8de
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions proto/Job.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import "JobParam.proto";
import "JobInput.proto";
import "JobState.proto";
import "JobResult.proto";
import "Payment.proto";


option php_namespace = 'App\\Grpc\\nostr';
Expand Down Expand Up @@ -42,10 +43,9 @@ message Job {
string nodeId = 15;
string outputFormat = 16;
optional bool encrypted = 17;
// map<string,JobResult> results = 12;

// map<string,JobState> states = 11;

repeated Payment bids = 19;




Expand Down
3 changes: 3 additions & 0 deletions proto/JobState.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ syntax = "proto3";
import "Log.proto";
import "JobStatus.proto";
import "JobResult.proto";
import "Payment.proto";
option php_namespace = 'App\\Grpc\\nostr';
option php_metadata_namespace = 'App\\Grpc\\nostr\\GPBMetadata';

Expand All @@ -18,4 +19,6 @@ message JobState {

JobResult result = 19;
string acceptedByNode = 20;

repeated Payment paymentRequests = 21;
}

0 comments on commit 535a8de

Please sign in to comment.