-
Notifications
You must be signed in to change notification settings - Fork 502
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* horizonclient/txnbuild README fixes (#1210) * fix client links in top-level readme * update clients README * mark old client deprecated in godoc short summary * fix code of conduct, standardise example * fix code of conduct/contributing links * txnbuild: enables multiple signatures (#1198) This PR enables multiple signatures on a transaction in the new Go SDK. It also lets every `Operation` type have a different source account than its `Transaction`. These changes are intertwined. Without multiple signatures, every operation in a transaction must share the transaction's source account. Differing source accounts are the most common use case for multiple signatures, and they also test it with greatest completeness. * root repo changelog links to sub-projects (#1214) * keystore: add update-keys endpoints to spec (#1215) We need an endpoint to update the encrypted seed when users forget their passwords. * move keystore to exp to fix build (#1223) * Add minimal files to fix build (#1225) * changelog for txnbuild 1.1
- Loading branch information
1 parent
2bf2dcd
commit 593f5ab
Showing
32 changed files
with
691 additions
and
162 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,29 +1,22 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this | ||
file. This project adheres to [Semantic Versioning](http://semver.org/). | ||
|
||
As this project is pre 1.0, breaking changes may happen for minor version | ||
bumps. A breaking change will get clearly notified in this log. | ||
|
||
NOTE: this changelog represents the changes that are associated with the library code in this repo (rather than the tools or services in this repo). | ||
|
||
## [Unreleased] | ||
|
||
### Added | ||
|
||
- xdr: added support for new signer types | ||
- build: `Signer` learned support for new signer types | ||
- strkey: added support for new signer types | ||
- network: Added the `HashTransaction` helper func to get the hash of a transaction targeted to a specific stellar network. | ||
- trades: Added Server-Sent Events endpoint to support streaming of trades | ||
- trades: add `base_offer_id` and `counter_offer_id` to trade resources. | ||
- trade aggregation: Added an optional `offset` parameter that lets you offset the bucket timestamps in hour-long increments. Can only be used if the `resolution` parameter is greater than 1 hour. `offset` must also be in whole-hours and less than 24 hours. | ||
|
||
|
||
### Changed: | ||
|
||
- build: _BREAKING CHANGE_: A transaction built and signed using the `build` package no longer default to the test network. | ||
- trades for offer endpoint will query for trades that match the given offer on either side of trades, rather than just the "sell" offer. | ||
|
||
[Unreleased]: https://github.com/stellar/go/commits/master | ||
This repository adheres to [Semantic Versioning](http://semver.org/). | ||
|
||
This monorepo contains a number of projects, individually versioned and released. Please consult the relevant changelog: | ||
|
||
* `horizon server` ([changelog](./services/horizon/CHANGELOG.md)) | ||
* `horizonclient` ([changelog](./clients/horizonclient/CHANGELOG.md)) | ||
* `txnbuild` ([changelog](./txnbuild/CHANGELOG.md)) | ||
* `bridge` ([changelog](./services/bridge/CHANGELOG.md)) | ||
* `compliance` ([changelog](./services/compliance/CHANGELOG.md)) | ||
* `federation` ([changelog](./services/federation/CHANGELOG.md)) | ||
* `bifrost` ([changelog](./services/bifrost/CHANGELOG.md)) | ||
* `ticker` (experimental) ([changelog](./exp/ticker/CHANGELOG.md)) | ||
* `stellar-vanity-gen` ([changelog](./tools/stellar-vanity-gen/CHANGELOG.md)) | ||
* `stellar-sign` ([changelog](./tools/stellar-sign/CHANGELOG.md)) | ||
* `stellar-archivist` ([changelog](./tools/stellar-archivist/CHANGELOG.md)) | ||
* `stellar-hd-wallet` ([changelog](./tools/stellar-hd-wallet/CHANGELOG.md)) | ||
|
||
If a project is pre-v1.0, breaking changes may happen for minor version | ||
bumps. A breaking change will be clearly notified in the corresponding changelog. | ||
|
||
Official project releases may be found here: https://github.com/stellar/go/releases |
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,11 +1,16 @@ | ||
# Clients package | ||
|
||
Packages contained by this package provide client libraries for accessing the ecosystem of stellar services. At present, it only contains a simple horizon client library, but in the future it will contain clients to interact with stellar-core, federation, the bridge server and more. | ||
Packages here provide client libraries for accessing the ecosystem of Stellar services. | ||
|
||
See [godoc](https://godoc.org/github.com/stellar/go/clients) for details about each package. | ||
* `horizonclient` - programmatic client access to Horizon (use in conjunction with [txnbuild](../txnbuild)) | ||
* `stellartoml` - parse Stellar.toml files from the internet | ||
* `federation` - resolve federation addresses into stellar account IDs, suitable for use within a transaction | ||
* `horizon` (DEPRECATED) - the original Horizon client, now superceded by `horizonclient` | ||
|
||
## Adding new client packages | ||
See [GoDoc](https://godoc.org/github.com/stellar/go/clients) for more details. | ||
|
||
## For developers: Adding new client packages | ||
|
||
Ideally, each one of our client packages will have commonalities in their API to ease the cost of learning each. It's recommended that we follow a pattern similar to the `net/http` package's client shape: | ||
|
||
A type, `Client`, is the central type of any client package, and its methods should provide the bulk of the functionality for the package. A `DefaultClient` var is provided for consumers that don't need client-level customization of behavior. Each method on the `Client` type should have a corresponding func at the package level that proxies a call through to the default client. For example, `http.Get()` is the equivalent of `http.DefaultClient.Get()`. | ||
A type, `Client`, is the central type of any client package, and its methods should provide the bulk of the functionality for the package. A `DefaultClient` var is provided for consumers that don't need client-level customization of behavior. Each method on the `Client` type should have a corresponding func at the package level that proxies a call through to the default client. For example, `http.Get()` is the equivalent of `http.DefaultClient.Get()`. |
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
File renamed without changes
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,3 @@ | ||
## 2019-04-25 | ||
|
||
Initial version |
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,6 @@ | ||
# Horizon cmp | ||
|
||
Tool that compares the responses of two Horizon servers and shows the diffs. | ||
Useful for checking for regressions. | ||
|
||
TODO: add more info |
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,3 @@ | ||
## 2019-04-25 | ||
|
||
Initial version |
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,9 @@ | ||
# Horizon verify | ||
|
||
Tool that checks some invariants about Horizon responses: | ||
|
||
- successful response codes when getting transactions from ledgers | ||
- successful transaction counts are correct | ||
- failed transaction counts are correct | ||
|
||
TODO: add more info |
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,12 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this | ||
file. This project adheres to [Semantic Versioning](http://semver.org/). | ||
|
||
## [v1.1.0](https://github.com/stellar/go/releases/tag/horizonclient-v1.1.0) - 2019-02-02 | ||
|
||
* Support for multiple signatures ([#1198](https://github.com/stellar/go/pull/1198)) | ||
|
||
## [v1.0.0](https://github.com/stellar/go/releases/tag/horizonclient-v1.0) - 2019-04-26 | ||
|
||
* Initial release |
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
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.