-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
387 changed files
with
20,762 additions
and
5,836 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,26 @@ | ||
# build result | ||
/bin | ||
/build | ||
debug | ||
debug.test | ||
Gopkg.lock | ||
*.o | ||
*.a | ||
libtool/bin | ||
libtool/include | ||
libtool/lib | ||
libtool/share | ||
libtool/src/luajit/src/*.[ao] | ||
libtool/src/lmdb/libraries/liblmdb/*.[ao] | ||
|
||
# vim swp file | ||
*.swp | ||
*.tmp | ||
|
||
# IDE specific | ||
*.vscode | ||
*.idea | ||
*.iml | ||
|
||
# developer workspace specific | ||
/conf |
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 |
---|---|---|
|
@@ -22,3 +22,5 @@ Gopkg.lock | |
# developer workspace specific | ||
/conf | ||
|
||
# consensus test directory | ||
/consensus/**/tmp/ |
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,7 @@ | ||
FROM golang:1.12.5-alpine3.9 | ||
ARG GIT_TAG=master | ||
RUN apk update && apk add git cmake build-base m4 | ||
RUN git clone --branch ${GIT_TAG} --recursive https://github.com/aergoio/aergo.git \ | ||
&& cd aergo \ | ||
&& make aergosvr polaris colaris aergocli aergoluac brick | ||
|
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 @@ | ||
FROM alpine:3.9 | ||
RUN apk add libgcc | ||
COPY bin/aergosvr /usr/local/bin/ | ||
COPY lib/* /usr/local/lib/ | ||
COPY conf/* /aergo/ | ||
ENV LD_LIBRARY_PATH="/usr/local/lib:${LD_LIBRARY_PATH}" | ||
CMD ["aergosvr", "--home", "/aergo"] | ||
EXPOSE 7845 7846 6060 |
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,4 @@ | ||
FROM alpine:3.9 | ||
RUN apk add libgcc | ||
COPY bin/?olaris /usr/local/bin/ | ||
CMD ["polaris"] |
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 @@ | ||
FROM alpine:3.9 | ||
RUN apk add libgcc | ||
WORKDIR /tools/ | ||
COPY bin/aergocli bin/aergoluac bin/brick /usr/local/bin/ | ||
COPY bin/brick-arglog.toml arglog.toml | ||
COPY lib/* /usr/local/lib/ | ||
ENV LD_LIBRARY_PATH="/usr/local/lib:${LD_LIBRARY_PATH}" | ||
CMD ["aergocli"] |
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
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -1,16 +1,10 @@ | ||
FROM golang:1.12.5-alpine3.9 as builder | ||
RUN apk update && apk add git cmake build-base m4 | ||
ENV GOPATH $HOME/go | ||
ARG GIT_TAG | ||
RUN go get -d github.com/aergoio/aergo | ||
WORKDIR ${GOPATH}/src/github.com/aergoio/aergo | ||
RUN git checkout --detach ${GIT_TAG} && git submodule init && git submodule update | ||
RUN make polaris colaris | ||
COPY . aergo | ||
RUN cd aergo && make polaris colaris | ||
|
||
FROM alpine:3.9 | ||
RUN apk add libgcc | ||
COPY --from=builder $HOME/go/src/github.com/aergoio/aergo/bin/polaris /usr/local/bin/ | ||
COPY --from=builder $HOME/go/src/github.com/aergoio/aergo/bin/colaris /usr/local/bin/ | ||
|
||
COPY --from=builder go/aergo/bin/?olaris /usr/local/bin/ | ||
WORKDIR /tools/ | ||
CMD ["polaris"] |
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 |
---|---|---|
@@ -1,20 +1,13 @@ | ||
FROM golang:1.12.5-alpine3.9 as builder | ||
RUN apk update && apk add git cmake build-base m4 | ||
ENV GOPATH $HOME/go | ||
ARG GIT_TAG | ||
RUN go get -d github.com/aergoio/aergo | ||
WORKDIR ${GOPATH}/src/github.com/aergoio/aergo | ||
RUN git checkout --detach ${GIT_TAG} && git submodule init && git submodule update | ||
RUN make aergocli aergoluac brick | ||
COPY . aergo | ||
RUN cd aergo && make aergocli aergoluac brick | ||
|
||
FROM alpine:3.9 | ||
RUN apk add libgcc | ||
COPY --from=builder $HOME/go/src/github.com/aergoio/aergo/bin/aergocli /usr/local/bin/ | ||
COPY --from=builder $HOME/go/src/github.com/aergoio/aergo/bin/aergoluac /usr/local/bin/ | ||
COPY --from=builder $HOME/go/src/github.com/aergoio/aergo/bin/brick /usr/local/bin/ | ||
COPY --from=builder $HOME/go/src/github.com/aergoio/aergo/cmd/brick/arglog.toml /tools/arglog.toml | ||
COPY --from=builder $HOME/go/src/github.com/aergoio/aergo/libtool/lib/* /usr/local/lib/ | ||
|
||
COPY --from=builder /go/aergo/bin/* /usr/local/bin/ | ||
COPY --from=builder /go/aergo/cmd/brick/arglog.toml /tools/arglog.toml | ||
COPY --from=builder /go/aergo/libtool/lib/* /usr/local/lib/ | ||
ENV LD_LIBRARY_PATH="/usr/local/lib:${LD_LIBRARY_PATH}" | ||
WORKDIR /tools/ | ||
CMD ["aergocli"] |
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
Submodule aergo-protobuf
updated
10 files
+21 −2 | CHANGELOG.md | |
+1 −1 | proto/account.proto | |
+6 −3 | proto/blockchain.proto | |
+1 −1 | proto/metric.proto | |
+1 −1 | proto/node.proto | |
+3 −1 | proto/p2p.proto | |
+1 −1 | proto/pmap.proto | |
+1 −1 | proto/polarrpc.proto | |
+34 −6 | proto/raft.proto | |
+20 −1 | proto/rpc.proto |
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.