-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
490 additions
and
10 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
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,32 @@ | ||
syntax = "proto3"; | ||
|
||
package share.p2p.shwap; | ||
import "pb/proof.proto"; // celestiaorg/nmt/pb/proof.proto | ||
|
||
enum AxisType { | ||
Row = 0; | ||
Col = 1; | ||
} | ||
|
||
message Axis { | ||
bytes axis_id = 1; | ||
repeated bytes axis_half = 2; | ||
} | ||
|
||
enum SampleType { | ||
DataSample = 0; | ||
ParitySample = 1; | ||
} | ||
|
||
message Sample { | ||
bytes sample_id = 1; | ||
SampleType sample_type = 2; | ||
bytes sample_share = 3; | ||
proof.pb.Proof sample_proof = 4; | ||
} | ||
|
||
message Data { | ||
bytes data_id = 1; | ||
repeated bytes data_shares = 2; | ||
proof.pb.Proof data_proof = 3; | ||
} |
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
Oops, something went wrong.