https://github.com/keybase/stellarnet
https://github.com/keybase/stellarnet
Last synced: 16 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/keybase/stellarnet
- Owner: keybase
- License: bsd-3-clause
- Created: 2018-03-06T16:47:57.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-12-06T22:29:57.000Z (over 3 years ago)
- Last Synced: 2024-06-19T02:01:58.713Z (11 months ago)
- Language: Go
- Size: 9.16 MB
- Stars: 9
- Watchers: 17
- Forks: 16
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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/goAnd to remove it:
rm $(GOPATH)/src/github.com/stellar/go