Skip to content

Releases: spacemeshos/api

Genesis Jones

10 Sep 17:42
9701df0
Compare
Choose a tag to compare

First stable API release. Includes golang build only. Includes a number of breaking changes from last release.

Nearly fully implemented in go-spacemesh as of: spacemeshos/go-spacemesh@ce9d5da

Streaming Bones

08 Jun 15:56
8208880
Compare
Choose a tag to compare

Last major release planned in the current line. Includes all services and endpoints required for frontend app, as well as for explorer/dashboard backends.

Major changes:

  • neatly splits endpoints into queries (historical, paginated) and streams (live, new data only) (#37)
  • cleans up handling of transaction data per last week's design review
  • rename NodeTxService to TransactionService, and moves TransactionState into TransactionService

Smeshing Bones

28 May 08:22
1eff9ec
Compare
Choose a tag to compare

Adds a lot of services and RPC endpoints to serve Spacemesh app clients, including global state-related endpoints.

Breaking changes vs. v0.1.1:

proto/spacemesh/global_state.proto:40:23:RPC "AccountStream" on service "GlobalStateService" changed request type from ".google.protobuf.Empty" to ".spacemesh.AccountId".
proto/spacemesh/types.proto:95:5:Previously present enum value "6" on enum "TransactionStateType" was deleted without reserving the name "PROCESSED".
proto/spacemesh/types.proto:95:5:Previously present enum value "6" on enum "TransactionStateType" was deleted without reserving the number "6".
proto/spacemesh/types.proto:97:20:Enum value "1" on enum "TransactionStateType" changed name from "UNKNOWN" to "REJECTED".
proto/spacemesh/types.proto:98:30:Enum value "2" on enum "TransactionStateType" changed name from "REJECTED" to "INSUFFICIENT_FUNDS".
proto/spacemesh/types.proto:99:23:Enum value "3" on enum "TransactionStateType" changed name from "INSUFFICIENT_FUNDS" to "CONFLICTING".
proto/spacemesh/types.proto:100:19:Enum value "4" on enum "TransactionStateType" changed name from "CONFLICTING" to "PENDING".
proto/spacemesh/types.proto:101:21:Enum value "5" on enum "TransactionStateType" changed name from "PENDING" to "PROCESSED".
proto/spacemesh/types.proto:114:21:Enum value "4" on enum "TransactionType" changed name from "DEPLOY" to "SPAWN_APP".
proto/spacemesh/types.proto:156:5:Previously present enum value "3" on enum "LayerStatus" was deleted without reserving the name "CONFIRMED".
proto/spacemesh/types.proto:156:5:Previously present enum value "3" on enum "LayerStatus" was deleted without reserving the number "3".
proto/spacemesh/types.proto:158:20:Enum value "1" on enum "LayerStatus" changed name from "UNKNOWN" to "APPROVED".
proto/spacemesh/types.proto:159:21:Enum value "2" on enum "LayerStatus" changed name from "APPROVED" to "CONFIRMED".
proto/spacemesh/types.proto:169:1:Previously present field "6" with name "current_layer" on message "NodeStatus" was deleted without reserving the name "current_layer".
proto/spacemesh/types.proto:169:1:Previously present field "7" with name "verified_layer" on message "NodeStatus" was deleted without reserving the name "verified_layer".
proto/spacemesh/types.proto:169:1:Previously present field "6" with name "current_layer" on message "NodeStatus" was deleted without reserving the number "6".
proto/spacemesh/types.proto:169:1:Previously present field "7" with name "verified_layer" on message "NodeStatus" was deleted without reserving the number "7".
proto/spacemesh/types.proto:170:5:Field "1" with name "connected_peers" on message "NodeStatus" changed option "json_name" from "knownPeers" to "connectedPeers".
proto/spacemesh/types.proto:170:12:Field "1" on message "NodeStatus" changed name from "known_peers" to "connected_peers".
proto/spacemesh/types.proto:171:5:Field "2" with name "is_synced" on message "NodeStatus" changed option "json_name" from "minPeers" to "isSynced".
proto/spacemesh/types.proto:171:5:Field "2" on message "NodeStatus" changed type from "uint64" to "bool".
proto/spacemesh/types.proto:171:12:Field "2" on message "NodeStatus" changed name from "min_peers" to "is_synced".
proto/spacemesh/types.proto:172:5:Field "3" with name "synced_layer" on message "NodeStatus" changed option "json_name" from "maxPeers" to "syncedLayer".
proto/spacemesh/types.proto:172:12:Field "3" on message "NodeStatus" changed name from "max_peers" to "synced_layer".
proto/spacemesh/types.proto:173:5:Field "4" with name "top_layer" on message "NodeStatus" changed option "json_name" from "isSynced" to "topLayer".
proto/spacemesh/types.proto:173:5:Field "4" on message "NodeStatus" changed type from "bool" to "uint64".
proto/spacemesh/types.proto:173:12:Field "4" on message "NodeStatus" changed name from "is_synced" to "top_layer".
proto/spacemesh/types.proto:174:5:Field "5" with name "verified_layer" on message "NodeStatus" changed option "json_name" from "syncedLayer" to "verifiedLayer".
proto/spacemesh/types.proto:174:12:Field "5" on message "NodeStatus" changed name from "synced_layer" to "verified_layer".
proto/spacemesh/types.proto:207:5:Field "1" with name "error_type" on message "NodeError" changed option "json_name" from "type" to "errorType".
proto/spacemesh/types.proto:207:19:Field "1" on message "NodeError" changed name from "type" to "error_type".

Dancing Bones

22 May 15:17
c757d55
Compare
Choose a tag to compare

Fixes some minor issues identified in v0.1.

Bare Bones

04 May 20:54
a122245
Compare
Choose a tag to compare

Barebones API for consumption by explorer and dashboard applications. Focus on primarily streaming data.