Skip to content
This repository was archived by the owner on Feb 22, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/sdk-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "git",
"url": "git+https://github.com/catalyst-network/protocol.git"
},
"version": "0.0.4",
"version": "0.0.5",
"description": "Catalyst Protocol SDK-JS",
"main": "src/index.js",
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions src/Deltas.proto
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,5 @@ message Delta {
repeated Transaction.CoinbaseEntry coinbase_entries = 7; // one per active worker
bytes state_root = 8; // the hash of the state root
int64 delta_number = 9; // the consecutive delta number
int64 gas_used = 10; // the gas used in the delta
}
11 changes: 7 additions & 4 deletions src/IPPN.proto
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,17 @@ message PeerNeighborsResponse {
repeated Peer.PeerId peers = 1; // Random subset of a nodes peer db.
}

message PingRequest { }
message PingRequest {
}

message PingResponse { }
message PingResponse {
}

message LatestDeltaHashRequest { }

message LatestDeltaHashResponse {
Deltas.DeltaIndex result = 1; // K given del
bool isSync = 1;
Deltas.DeltaIndex deltaIndex = 2; // K given del
}

message DeltaHistoryRequest {
Expand All @@ -48,5 +51,5 @@ message DeltaHistoryRequest {
}

message DeltaHistoryResponse {
repeated Deltas.DeltaIndex result = 1; // K given del
repeated Deltas.DeltaIndex deltaIndex = 1; // K given del
}