Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read me. #62

Open
wants to merge 103 commits into
base: berkeleydb
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
103 commits
Select commit Hold shift + click to select a range
d5f1c8a
Added more text to BerkeleyDB flag.
conor10 Apr 11, 2018
acb40f6
1. Created README.
conor10 Apr 16, 2018
24a0f82
Spelt README correctly this time around.
conor10 Apr 16, 2018
3ace46b
Small updates to README.
conor10 Apr 16, 2018
ee137b9
1. Added sequence diagrams to README.
conor10 Apr 18, 2018
c28cb89
Changed label to header.
conor10 Apr 18, 2018
9acbace
Fix Key Genereation using Crux
Puneetha17 May 3, 2018
e29534d
Merge pull request #3 from Puneetha17/master
conor10 May 3, 2018
e8a915d
Added documentation to fix #2.
conor10 May 3, 2018
ec87ae2
Added pthread dependency to hopefully resolve BerkeleyDB build issues.
conor10 May 9, 2018
6b85b76
Added correct name for pthread dependency.
conor10 May 9, 2018
e03572a
Removed some of the compiler flags.
conor10 May 9, 2018
382722b
Add more testcases.
Puneetha17 May 21, 2018
aedc910
Incorporated the review comments
Puneetha17 May 23, 2018
d9bde54
Added comment
Puneetha17 May 24, 2018
8e9f95f
Added logical architecture diagram.
conor10 May 24, 2018
5e0efcb
Fixed logical architecture diagram URL.
conor10 May 24, 2018
1df9f4e
Merge pull request #5 from Puneetha17/master
conor10 May 24, 2018
e337e92
Added Codecoverage support
Puneetha17 May 24, 2018
804c9cc
Merge pull request #6 from Puneetha17/master
conor10 May 25, 2018
2767371
Fix codecoverage command in .gitlab-ci.yml
Puneetha17 May 25, 2018
ba048a4
Merge pull request #7 from Puneetha17/master
conor10 May 25, 2018
bf5bfd2
Updated .travis.yml file to use travis CI
Puneetha17 May 29, 2018
d141d8d
Fixed permission issue in travis.yml
Puneetha17 May 29, 2018
3b2c339
Tried to fix travis CI build
Puneetha17 May 29, 2018
6c06520
Fixed build issues in enclave.go
Puneetha17 May 29, 2018
c74901e
Added badge to display build status.
Puneetha17 May 29, 2018
72c9a56
Update README.md
Puneetha17 May 29, 2018
07ceb14
Merge pull request #8 from Puneetha17/master
conor10 May 29, 2018
9412cee
Add gRPC + protobuf support for basic functionality i.e, version & up…
Puneetha17 Jun 1, 2018
fb45bbf
Simple formatting crux.go
Puneetha17 Jun 1, 2018
3a6449a
Update .travis.yml to avoid reduntant go get
Puneetha17 Jun 1, 2018
91160ec
Fix Travis build
Puneetha17 Jun 1, 2018
e99ae80
Code refactoring
Puneetha17 Jun 4, 2018
0da1eef
Fix travis build failure
Puneetha17 Jun 4, 2018
00b0cbb
Updating protobufs according to the protobuf style guide
Puneetha17 Jun 5, 2018
177f062
Add send functionality using gRPC.
Puneetha17 Jun 7, 2018
add07b5
Add receive functionality using gRPC
Puneetha17 Jun 8, 2018
2458498
Merge pull request #9 from Puneetha17/master
conor10 Jun 8, 2018
2987c7d
Add the functionality to connect to othernodes using gRPC.
Puneetha17 Jun 11, 2018
24d4e5c
Format grpc.proto
Puneetha17 Jun 12, 2018
eb1bfc1
Ensure backward compatibility
Puneetha17 Jun 13, 2018
30816e7
Add TLS support to HTTP.
Puneetha17 Jun 19, 2018
8ce1503
Added a complete PartyInfo protobuf.
Puneetha17 Jun 21, 2018
b29021f
Refractor code.
Puneetha17 Jun 22, 2018
68c607a
Fix indenting in enclave.go
Puneetha17 Jun 22, 2018
20de471
Add push API using gRPC.
Puneetha17 Jun 22, 2018
b07507c
Add support to use TLS with gRPC.
Puneetha17 Jun 22, 2018
6848a87
Merge branch 'master' into tls
Puneetha17 Jun 22, 2018
b70fc49
Code refractoring.
Puneetha17 Jun 27, 2018
bc7c53f
Add tls flag
Puneetha17 Jul 2, 2018
0240b2e
Merge pull request #12 from Puneetha17/tls
conor10 Jul 2, 2018
c89a423
Merge pull request #13 from blk-io/tls
Puneetha17 Jul 2, 2018
e9dc107
Add CHANGELOG.md and update README.md
Puneetha17 Jul 3, 2018
0682a04
Update CHANGELOG.md
Puneetha17 Jul 3, 2018
caa0ee8
Merge pull request #14 from Puneetha17/master
conor10 Jul 3, 2018
9740f4a
Update Crux to sync with Quorumv2.0.2
Puneetha17 Jul 9, 2018
535504f
Fix partyinfo API
Puneetha17 Jul 16, 2018
6744f78
Merge pull request #15 from Puneetha17/master
conor10 Jul 16, 2018
1747986
Check for free port for starting REST server
Puneetha17 Jul 16, 2018
5dd9ae9
Implement partyinfo and push APIs using gRPC APIs
Puneetha17 Jul 19, 2018
137aeca
et gRPC flag default to true
Puneetha17 Jul 20, 2018
0dfb72b
Change gRPC variable(api & enclave) from string to bool.
Puneetha17 Jul 20, 2018
0b8d850
Merge pull request #17 from Puneetha17/master
conor10 Jul 20, 2018
c9bc8aa
Use chimera-api for protofiles (#18)
Puneetha17 Jul 24, 2018
f909bec
Update Crux to accomodate Chimera API changes (#20)
Puneetha17 Jul 26, 2018
9b3c884
Fix seg fault while updating partyinfo when othernodes is not up yet.…
Puneetha17 Jul 31, 2018
1a124b3
Update the gRPC address and add logs when connected to other nodes (#23)
Puneetha17 Aug 8, 2018
0921494
Add Docker files (#24)
Puneetha17 Aug 9, 2018
3f2d8eb
- Update instructions for using Docker images in README.
conor10 Aug 9, 2018
0b94471
Further README updates.
conor10 Aug 9, 2018
ef2ce8c
Update docker-compose to pull from registry (#25)
Puneetha17 Aug 9, 2018
28ee2e2
Update README.md
Puneetha17 Aug 10, 2018
adfa578
Update bootstrap.sh (#26)
Puneetha17 Aug 13, 2018
8a6b3a5
Update README.md
Puneetha17 Aug 16, 2018
74e4687
higher gasLimit, larger txpool, blockperiod 1 seconds
Aug 16, 2018
809fe67
docker-compose-local.yaml for building local docker container
Aug 16, 2018
4c9b07d
that version number is the docker compose file version, reverted to o…
Aug 16, 2018
afee371
for some reason it does not start mining when with '--istanbul.blockp…
Aug 16, 2018
6def7ae
it just needed patience. '--istanbul.blockperiod 1' is actually working
Aug 16, 2018
3b8eb22
still TPS drop after 14k transactions even with --cache 4096 --trie-c…
Aug 20, 2018
8fa90c5
command how to build locally
Aug 20, 2018
a71365e
Fixed issue with config file load
conor10 Aug 21, 2018
9a73e02
Add integration test (#30)
Puneetha17 Aug 23, 2018
44eda5a
Add delete and resend API implementation in Crux (#31)
Puneetha17 Aug 23, 2018
abb98b1
Update Gopkg.toml
Puneetha17 Sep 5, 2018
cacdb48
Merge from newest github.com/blk-io/crux
Sep 10, 2018
9ddcfda
Update bootstrap.sh
Puneetha17 Sep 10, 2018
9a0c4ef
Merge with parent repo's bugfix issue#37
Sep 10, 2018
f62b69b
Fix "apk WARNING Ignoring APKINDEX"
Sep 19, 2018
f2a1698
Merge pull request #40 from carlosfaria94/fix-docker-apk
Puneetha17 Sep 24, 2018
15cec20
Fix issues (#45)
Puneetha17 Sep 27, 2018
f0c8108
Update README.md
Puneetha17 Sep 27, 2018
f39db23
Include Goreport in README.md
Puneetha17 Sep 27, 2018
eebdb98
Add network interface parameter to configuration (#46)
atoulme Oct 2, 2018
f6f7b3a
Fix sending to self (#49)
Puneetha17 Oct 17, 2018
a6416d9
Document verbosity levels in CLI
Dec 28, 2018
d289936
Default to debug level logs for unexpected verbosity
Dec 28, 2018
92bcd86
Merge pull request #55 from Eximchain/better-verbosity-settings
Puneetha17 Jan 10, 2019
ddd126e
Merge pull request #29 from drandreaskrueger/master
Puneetha17 Jan 18, 2019
eeb63a9
Checkout the latest version of Crux for docker build
Puneetha17 Jan 18, 2019
bc1a1b4
job done in the loop before
Mar 21, 2019
7e5ecb5
Merge pull request #59 from alikefia/fix-multi-recipients
Puneetha17 Mar 21, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,6 @@
/.GOPATH
/bin
/vendor
/test/test1
/test/test2

15 changes: 12 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@ variables:
# repository in /go/src/gitlab.com/namespace/project
# Thus, making a symbolic link corrects this.
before_script:
- apt-get update -qq && apt-get install -y -qq libdb-dev # This is hopefully temporary until we completely remove BerkeleyDB.
- apt-get update -qq && apt-get install -y -qq libdb-dev libpthread-stubs0-dev # This is hopefully temporary until we completely remove BerkeleyDB.
- mkdir -p $GOPATH/src/$(dirname $REPO_NAME)
- ln -svf $CI_PROJECT_DIR $GOPATH/src/$REPO_NAME
- cd $GOPATH/src/$REPO_NAME
- go get ./...
- make setup

stages:
- build
Expand All @@ -25,12 +26,20 @@ format:
script:
- go fmt $(go list ./... | grep -v /vendor/)
- go vet $(go list ./... | grep -v /vendor/)
- go test -race $(go list ./... | grep -v /vendor/)
- make test

compile:
stage: build
script:
- go build -race -ldflags "-extldflags '-static'" -o $CI_PROJECT_DIR/crux
- make build
artifacts:
paths:
- crux

code_coverage:
stage: test
script:
- rm -f $GOPATH/cover/*.out $GOPATH/cover/all.merged
- mkdir -p $GOPATH/cover
- make cover

31 changes: 31 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
language: go

go:
- "1.10.x"
- tip

env:
REPO_NAME: github.com/blk-io/crux

before_install:
- sudo apt-get update -qq && sudo apt-get install -y -qq libdb-dev libpthread-stubs0-dev # This is hopefully temporary until we completely remove BerkeleyDB.
- mkdir -p $GOPATH/src/$(dirname $REPO_NAME)
- ln -svf $TRAVIS_BUILD_DIR $GOPATH/src/$REPO_NAME
- cd $GOPATH/src/$REPO_NAME
- curl -OL https://github.com/google/protobuf/releases/download/v3.5.1/protoc-3.5.1-linux-x86_64.zip
- unzip protoc-3.5.1-linux-x86_64.zip -d protoc3
- sudo mv protoc3/bin/* /usr/local/bin/
- sudo mv protoc3/include/* /usr/local/include/
- rm -r protoc3
- rm protoc-3.5.1-linux-x86_64.zip
- go get -u github.com/golang/protobuf/protoc-gen-go
- go get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway
- make setup

script:
- make build
- make test
- make cover

after_success:
- bash <(curl -s https://codecov.io/bash)
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
## 1.0.3 - 2018-10-17
### Added
- Network interface paramater to configuration
### Changed
- Fix formatting of entire project using `go fmt`
- Fix "apk WARNING Ignoring APKINDEX"
- Fix sending payload to multiple recipients

## 1.0.2 - 2018-09-06
### Added
- Delete and Resend API from Chimera included.

## 1.0.1 - 2018-08-22
### Changed
- Fix issue with config file load

## 1.0.0 - 2018-07-05
### Added
- Crux, a secure enclave for Quorum written in Golang
- Protobuf and gRPC support.
- TLS support
- Docker images

Loading