This repository has been archived by the owner on Jul 19, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Have it link to the coveralls.io metrics instead of the sheilds.io image
- Loading branch information
1 parent
c122018
commit df44915
Showing
1 changed file
with
2 additions
and
2 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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# ConsenSource state delta subscriber [![Build Status](https://travis-ci.org/target/consensource-sds.svg?branch=master)](https://travis-ci.org/target/consensource-sds) ![Coveralls github](https://img.shields.io/coveralls/github/target/consensource-sds) | ||
# ConsenSource state delta subscriber [![Build Status](https://travis-ci.org/target/consensource-sds.svg?branch=master)](https://travis-ci.org/target/consensource-sds) [![Coverage Status](https://img.shields.io/coveralls/github/target/consensource-sds)](https://coveralls.io/github/target/consensource-sds?branch=master) | ||
|
||
The state delta subscriber (SDS), also referred to as state delta export, provides a mechanism for exporting on-chain state values from a [Sawtooth validator](https://sawtooth.hyperledger.org/docs/core/releases/latest/cli/sawtooth-validator.html) to an external data store (e.g. a Postgres database). This allows applications to efficiently query their state values. | ||
|
||
The SDS implements an event subscription client that subscribes to [block commit events](https://sawtooth.hyperledger.org/docs/core/releases/latest/app_developers_guide/about_events.html) and [Sawtooth state deltas](https://sawtooth.hyperledger.org/docs/core/releases/latest/app_developers_guide/about_events.html) at specific addresses (in this case we will subscribe to all state delta events at the `certificate_registry` transaction family [namespace](https://sawtooth.hyperledger.org/docs/core/releases/latest/app_developers_guide/about_events.html)). Sawtooth sends these events whenever a validator’s state is updated. The events contain the raw state data at the updated addresses. The event subscription client processes the event data and uses it to update the reporting database, an off-chain copy of blockchain state. The [REST API](https://github.com/target/consensource-api) can query this database when a client needs to get information from the blockchain. | ||
The SDS implements an event subscription client that subscribes to [block commit events](https://sawtooth.hyperledger.org/docs/core/releases/latest/app_developers_guide/about_events.html) and [Sawtooth state deltas](https://sawtooth.hyperledger.org/docs/core/releases/latest/app_developers_guide/about_events.html) at specific addresses (in this case we will subscribe to all state delta events at the `certificate_registry` transaction family [namespace](https://sawtooth.hyperledger.org/docs/core/releases/latest/app_developers_guide/about_events.html)). Sawtooth sends these events whenever a validator’s state is updated. The events contain the raw state data at the updated addresses. The event subscription client processes the event data and uses it to update the reporting database, an off-chain copy of blockchain state. The [REST API](https://github.com/target/consensource-api) can query this database when a client needs to get information from the blockchain. |