-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* export Blinder * Blind with blinders * MakeFile * blindreissuance test does not pass * WIP - blind outputs * disable caching in make test * random generator inside outputs loop * use BlindingData struct instead of pointers * log * add ci.yml * name in blinder.go * does not crawl all outputs when set the commitments/nonce * use make test in travis.yml * Sort ouput indexes before blinding * blinder factory using outputs to pub key map * add test case 1 conf output + 1 unconf output * export Blinder struct * drop NewBlinderByIndex * NewBlinderByIndex = NewBlinder Co-authored-by: altafan <pietro@vulpem.com>
- Loading branch information
1 parent
9656b2c
commit 35015e9
Showing
8 changed files
with
773 additions
and
160 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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Go | ||
|
||
on: | ||
push: | ||
branches: [master] | ||
pull_request: | ||
branches: [master] | ||
|
||
jobs: | ||
integration: | ||
name: Integration Tests | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Set up Go 1.14.x | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: ^1.14 | ||
id: go | ||
|
||
- name: Check out code into the Go module directory | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install Nigiri | ||
run: | | ||
mkdir ~/.nigiri; cd ~/.nigiri | ||
curl https://travis.nigiri.network | bash; cd | ||
docker-compose -f ~/.nigiri/docker-compose.yml up -d | ||
- name: Get dependencies | ||
run: go get -v -t -d ./... | ||
|
||
- name: Test | ||
run: make test |
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,8 @@ | ||
## help: prints this help message | ||
help: | ||
@echo "Usage: \n" | ||
@sed -n 's/^##//p' ${MAKEFILE_LIST} | column -t -s ':' | sed -e 's/^/ /' | ||
|
||
test: | ||
export API_URL=http://localhost:3001; \ | ||
go test -count=1 -v ./... |
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.