Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PoST Service API #268

Merged
merged 13 commits into from
Oct 18, 2023
Merged

Add PoST Service API #268

merged 13 commits into from
Oct 18, 2023

Conversation

fasmat
Copy link
Member

@fasmat fasmat commented Sep 18, 2023

Closes #269

@fasmat fasmat requested a review from poszu September 18, 2023 13:57
@fasmat fasmat self-assigned this Sep 18, 2023
@fasmat fasmat marked this pull request as draft September 18, 2023 13:57
spacemesh/v1/post.proto Outdated Show resolved Hide resolved
spacemesh/v1/post_types.proto Outdated Show resolved Hide resolved
@fasmat fasmat added area/post enhancement New feature or request research labels Sep 19, 2023
spacemesh/v1/post.proto Show resolved Hide resolved
spacemesh/v1/post_types.proto Show resolved Hide resolved
@fasmat fasmat force-pushed the add-post-service-api branch from 39e7d7f to e3c1db1 Compare September 29, 2023 13:11
@fasmat fasmat marked this pull request as ready for review October 12, 2023 15:08
@fasmat
Copy link
Member Author

fasmat commented Oct 17, 2023

@poszu if you agree I would like to merge the current API as is. The initial implementation seems to work well and we can keep iterating on it in the future. With the API released we can merge spacemeshos/post-rs#133, release that version and integrate it into the node.

wdyt?

@fasmat fasmat merged commit cf5fa12 into master Oct 18, 2023
1 check passed
@fasmat fasmat deleted the add-post-service-api branch October 18, 2023 14:33
bors bot pushed a commit to spacemeshos/go-spacemesh that referenced this pull request Oct 19, 2023
## Motivation
Closes #5131

do not merge before spacemeshos/api#268 and spacemeshos/post#245

## Changes
- setup for gRPC servers has been moved from node startup into the `grpcserver` package
- `NewPublic`, `NewPrivate` and `NewTLS` create servers for the given purposes based on the configuration passed to them
- replaced more instances of `go-spacemesh/log` with `zap`

## Test Plan
- existing tests pass
- TODO: add new tests for mTLS connection

## TODO
<!-- This section should be removed when all items are complete -->
- [x] Explain motivation or link existing issue(s)
- [x] Test changes and document test plan
- [x] Update documentation as needed
- [x] Update [changelog](../CHANGELOG.md) as needed
bors bot pushed a commit to spacemeshos/go-spacemesh that referenced this pull request Oct 19, 2023
## Motivation
Closes #5131

do not merge before spacemeshos/api#268 and spacemeshos/post#245

## Changes
- setup for gRPC servers has been moved from node startup into the `grpcserver` package
- `NewPublic`, `NewPrivate` and `NewTLS` create servers for the given purposes based on the configuration passed to them
- replaced more instances of `go-spacemesh/log` with `zap`

## Test Plan
- existing tests pass
- TODO: add new tests for mTLS connection

## TODO
<!-- This section should be removed when all items are complete -->
- [x] Explain motivation or link existing issue(s)
- [x] Test changes and document test plan
- [x] Update documentation as needed
- [x] Update [changelog](../CHANGELOG.md) as needed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Draft API for Proof generation
3 participants