-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into js_uint64
- Loading branch information
Showing
15 changed files
with
147 additions
and
95 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 |
---|---|---|
|
@@ -10,14 +10,12 @@ jobs: | |
KOINOS_CI_TOKEN: ${{ secrets.KOINOS_CI_TOKEN }} | ||
steps: | ||
- run: | | ||
git clone https://[email protected]/koinos/koinos-proto-cpp.git | ||
for lang in cpp golang js embedded-cpp | ||
do | ||
repo=koinos-proto-$lang | ||
git clone https://[email protected]/koinos/`echo $repo`.git | ||
pushd koinos-proto-cpp | ||
git push https://[email protected]/koinos/koinos-proto-cpp.git --delete ${{ github.event.ref }} | ||
popd | ||
git clone https://[email protected]/koinos/koinos-proto-golang.git | ||
pushd koinos-proto-golang | ||
git push https://[email protected]/koinos/koinos-proto-golang.git --delete ${{ github.event.ref }} | ||
popd | ||
pushd $repo | ||
git push https://[email protected]/koinos/`echo $repo`.git --delete ${{ github.event.ref }} | ||
popd | ||
done |
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 |
---|---|---|
@@ -1,10 +1,11 @@ | ||
# Koinos Proto | ||
|
||
Koinos Proto contains Koinos Cap'n Proto schema definitions. | ||
Koinos Proto contains Koinos Protocol Buffers schema definitions. | ||
|
||
Changes to the schema are automatically propagated to language repos. | ||
|
||
Generated languages: | ||
|
||
- [C++](https://github.com/koinos/koinos-proto-cpp) | ||
- [Golang](https://github.com/koinos/koinos-proto-golang) | ||
- [JavaScript](https://github.com/koinos/koinos-proto-js) |
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 |
---|---|---|
@@ -1,21 +1,21 @@ | ||
syntax = "proto3"; | ||
|
||
package koinos.rpc.block_store; | ||
package koinos.block_store; | ||
option go_package = "github.com/koinos/koinos-proto-golang/koinos/rpc/block_store"; | ||
|
||
import "koinos/protocol/protocol.proto"; | ||
|
||
message block_item { | ||
bytes block_id = 1; | ||
uint64 block_height = 2 [jstype = JS_STRING]; | ||
optional protocol.block block = 3; | ||
optional protocol.block_receipt receipt = 4; | ||
protocol.block block = 3; //optional | ||
protocol.block_receipt receipt = 4; //optional | ||
} | ||
|
||
message block_record { | ||
bytes block_id = 1; | ||
uint64 block_height = 2 [jstype = JS_STRING]; | ||
protocol.block block = 3; | ||
optional protocol.block_receipt receipt = 4; | ||
protocol.block_receipt receipt = 4; //optional | ||
repeated bytes previous_block_ids = 5; | ||
} |
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
Oops, something went wrong.