-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Kostas Christidis <[email protected]>
- Loading branch information
1 parent
e404758
commit a23d614
Showing
18 changed files
with
416 additions
and
551 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -4,16 +4,15 @@ A simulator for blockchain-based local energy markets. | |
|
||
## Dependencies | ||
|
||
* go | ||
* dep | ||
* vagrant | ||
* go >= 1.13 | ||
* vagrant >= 2.0 | ||
* vagrant-disksize | ||
* virtualbox | ||
* virtualbox >= 6.0 | ||
|
||
If you use [Homebrew](https://brew.sh/), pick up the latest versions of all of the above like so: | ||
|
||
```bash | ||
brew install go dep | ||
brew install go | ||
brew cask install virtualbox vagrant | ||
vagrant plugin install vagrant-disksize | ||
``` | ||
|
@@ -29,13 +28,7 @@ git clone [email protected]:kchristidis/island.git | |
|
||
We assume that the `fabric` repo cloned above lives in `$GOPATH/src/github.com/hyperledger/fabric`, and `island` lives in `$GOPATH/src/github.com/kchristidis/island`. If that is not the case, [edit the Vagrantfile accordingly](https://github.com/kchristidis/fabric/blob/901b8db0bb46a90cf9eb9fbb2e7cbd2fc9fcada3/devenv/Vagrantfile#L19..L20). | ||
|
||
Then cd into the `island` directory and: | ||
|
||
```bash | ||
dep ensure | ||
``` | ||
|
||
cd into the `trace` directory within `island`, and download `04-final-trace-2013.csv` ([link](https://drive.google.com/open?id=1snADVFVuzFOE52M9ynVvKXVvif5AJakV)) there. | ||
cd into the `trace` directory within the `island` repo, and download `04-final-trace-2013.csv` ([link](https://drive.google.com/open?id=1snADVFVuzFOE52M9ynVvKXVvif5AJakV)) there. | ||
|
||
Finally, cd into the `fabric` directory and: | ||
|
||
|
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
module github.com/kchristidis/island | ||
|
||
go 1.13 | ||
|
||
require ( | ||
github.com/Shopify/sarama v1.24.1 // indirect | ||
github.com/cloudflare/cfssl v0.0.0-20180323000720-5d63dbd981b5 // indirect | ||
github.com/fsouza/go-dockerclient v1.6.0 // indirect | ||
github.com/golang/protobuf v1.3.2 | ||
github.com/google/certificate-transparency-go v1.0.10-0.20180222191210-5ab67e519c93 // indirect | ||
github.com/grpc-ecosystem/go-grpc-middleware v1.1.0 // indirect | ||
github.com/hashicorp/go-version v1.2.0 // indirect | ||
github.com/hyperledger/fabric v1.4.4 | ||
github.com/hyperledger/fabric-amcl v0.0.0-20191220121445-72160e2d5195 // indirect | ||
github.com/hyperledger/fabric-protos-go v0.0.0-20190821180310-6b6ac9042dfd | ||
github.com/hyperledger/fabric-sdk-go v1.0.0-beta1 | ||
github.com/klauspost/cpuid v1.2.2 // indirect | ||
github.com/magiconair/properties v1.8.0 // indirect | ||
github.com/maxbrunsfeld/counterfeiter/v6 v6.2.2 | ||
github.com/miekg/pkcs11 v1.0.3 // indirect | ||
github.com/mitchellh/mapstructure v0.0.0-20180511142126-bb74f1db0675 // indirect | ||
github.com/onsi/gomega v1.5.0 | ||
github.com/op/go-logging v0.0.0-20160315200505-970db520ece7 // indirect | ||
github.com/pelletier/go-toml v1.2.0 // indirect | ||
github.com/spf13/afero v1.1.1 // indirect | ||
github.com/spf13/viper v1.0.3-0.20180507071007-15738813a09d // indirect | ||
github.com/stretchr/testify v1.4.0 | ||
github.com/sykesm/zap-logfmt v0.0.3 // indirect | ||
go.uber.org/zap v1.13.0 // indirect | ||
) |
Oops, something went wrong.