An open API service indexing awesome lists of open source software.

https://github.com/keybase/stellarnet


https://github.com/keybase/stellarnet

Last synced: 16 days ago
JSON representation

Awesome Lists containing this project

README

        

# stellarnet

## Testing

This package uses the [vcr](https://github.com/keybase/vcr) package to record http responses. Running

go test

will use the pre-recorded responses to the stellar horizon requests.

To run against the test horizon servers:

go test -live

To record new responses from the test horizon servers:

go test -record

This makes `go test` very fast (0.02s) as it doesn't hit the network at all.
Currently, `go test -live` or `go test -record` takes 20s.

## Forks

To make a link so the tests use keybase's fork of the horizon client:

ln -s $(GOPATH)/src/github.com/keybase/stellar-org $(GOPATH)/src/github.com/stellar/go

And to remove it:

rm $(GOPATH)/src/github.com/stellar/go