-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1690 from spacemeshos/tweak-node-event-smesher-ids
Display SmesherID for any NodeEvent that contain it
- Loading branch information
Showing
19 changed files
with
152 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
[submodule "vendor/api"] | ||
path = vendor/api | ||
url = https://github.com/spacemeshos/api | ||
branch = api-v2 | ||
url = https://github.com/spacemeshos/api |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// Original file: vendor/api/spacemesh/v1/debug_types.proto | ||
|
||
|
||
export interface ChangeLogLevelRequest { | ||
'module'?: (string); | ||
'level'?: (string); | ||
} | ||
|
||
export interface ChangeLogLevelRequest__Output { | ||
'module': (string); | ||
'level': (string); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// Original file: vendor/api/spacemesh/v1/post.proto | ||
|
||
import type * as grpc from '@grpc/grpc-js' | ||
import type { MethodDefinition } from '@grpc/proto-loader' | ||
import type { PostStatesRequest as _spacemesh_v1_PostStatesRequest, PostStatesRequest__Output as _spacemesh_v1_PostStatesRequest__Output } from '../../spacemesh/v1/PostStatesRequest'; | ||
import type { PostStatesResponse as _spacemesh_v1_PostStatesResponse, PostStatesResponse__Output as _spacemesh_v1_PostStatesResponse__Output } from '../../spacemesh/v1/PostStatesResponse'; | ||
|
||
export interface PostInfoServiceClient extends grpc.Client { | ||
PostStates(argument: _spacemesh_v1_PostStatesRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: (error?: grpc.ServiceError, result?: _spacemesh_v1_PostStatesResponse__Output) => void): grpc.ClientUnaryCall; | ||
PostStates(argument: _spacemesh_v1_PostStatesRequest, metadata: grpc.Metadata, callback: (error?: grpc.ServiceError, result?: _spacemesh_v1_PostStatesResponse__Output) => void): grpc.ClientUnaryCall; | ||
PostStates(argument: _spacemesh_v1_PostStatesRequest, options: grpc.CallOptions, callback: (error?: grpc.ServiceError, result?: _spacemesh_v1_PostStatesResponse__Output) => void): grpc.ClientUnaryCall; | ||
PostStates(argument: _spacemesh_v1_PostStatesRequest, callback: (error?: grpc.ServiceError, result?: _spacemesh_v1_PostStatesResponse__Output) => void): grpc.ClientUnaryCall; | ||
postStates(argument: _spacemesh_v1_PostStatesRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: (error?: grpc.ServiceError, result?: _spacemesh_v1_PostStatesResponse__Output) => void): grpc.ClientUnaryCall; | ||
postStates(argument: _spacemesh_v1_PostStatesRequest, metadata: grpc.Metadata, callback: (error?: grpc.ServiceError, result?: _spacemesh_v1_PostStatesResponse__Output) => void): grpc.ClientUnaryCall; | ||
postStates(argument: _spacemesh_v1_PostStatesRequest, options: grpc.CallOptions, callback: (error?: grpc.ServiceError, result?: _spacemesh_v1_PostStatesResponse__Output) => void): grpc.ClientUnaryCall; | ||
postStates(argument: _spacemesh_v1_PostStatesRequest, callback: (error?: grpc.ServiceError, result?: _spacemesh_v1_PostStatesResponse__Output) => void): grpc.ClientUnaryCall; | ||
|
||
} | ||
|
||
export interface PostInfoServiceHandlers extends grpc.UntypedServiceImplementation { | ||
PostStates: grpc.handleUnaryCall<_spacemesh_v1_PostStatesRequest__Output, _spacemesh_v1_PostStatesResponse>; | ||
|
||
} | ||
|
||
export interface PostInfoServiceDefinition extends grpc.ServiceDefinition { | ||
PostStates: MethodDefinition<_spacemesh_v1_PostStatesRequest, _spacemesh_v1_PostStatesResponse, _spacemesh_v1_PostStatesRequest__Output, _spacemesh_v1_PostStatesResponse__Output> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// Original file: vendor/api/spacemesh/v1/post_types.proto | ||
|
||
|
||
// Original file: vendor/api/spacemesh/v1/post_types.proto | ||
|
||
export enum _spacemesh_v1_PostState_State { | ||
_UNUSED = 0, | ||
IDLE = 1, | ||
PROVING = 2, | ||
} | ||
|
||
export interface PostState { | ||
'id'?: (Buffer | Uint8Array | string); | ||
'state'?: (_spacemesh_v1_PostState_State | keyof typeof _spacemesh_v1_PostState_State); | ||
'name'?: (string); | ||
} | ||
|
||
export interface PostState__Output { | ||
'id': (Buffer); | ||
'state': (_spacemesh_v1_PostState_State); | ||
'name': (string); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
// Original file: vendor/api/spacemesh/v1/post_types.proto | ||
|
||
|
||
export interface PostStatesRequest { | ||
} | ||
|
||
export interface PostStatesRequest__Output { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// Original file: vendor/api/spacemesh/v1/post_types.proto | ||
|
||
import type { PostState as _spacemesh_v1_PostState, PostState__Output as _spacemesh_v1_PostState__Output } from '../../spacemesh/v1/PostState'; | ||
|
||
export interface PostStatesResponse { | ||
'states'?: (_spacemesh_v1_PostState)[]; | ||
} | ||
|
||
export interface PostStatesResponse__Output { | ||
'states': (_spacemesh_v1_PostState__Output)[]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule api
updated
41 files