Skip to content

Commit

Permalink
New init
Browse files Browse the repository at this point in the history
  • Loading branch information
BixBite-project committed May 10, 2018
0 parents commit 14e9ce7
Show file tree
Hide file tree
Showing 1,170 changed files with 406,373 additions and 0 deletions.
684 changes: 684 additions & 0 deletions CMakeLists.txt

Large diffs are not rendered by default.

36 changes: 36 additions & 0 deletions CONTRIBUTING
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
A good way to help is to test, and report bugs.
See http://www.chiark.greenend.org.uk/~sgtatham/bugs.html if you
want to help that way. Testing is invaluable in making a piece
of software solid and usable.

Patches are preferably to be sent via a github pull request. If that
can't be done, patches in "git format-patch" format can be sent
(eg, posted to fpaste.org with a long enough timeout and a link
posted to #monero-dev on irc.freenode.net).

Patches should be self contained. A good rule of thumb is to have
one patch per separate issue, feature, or logical change. Also, no
other changes, such as random whitespace changes or reindentation.
Following the code style of the particular chunk of code you're
modifying is encourgaged. Proper squashing should be done (eg, if
you're making a buggy patch, then a later patch to fix the bug,
both patches should be merged).

Commit messages should be sensible. That means a subject line that
describes the patch, with an optional longer body that gives details,
documentation, etc.

Comments are encouraged.

If modifying code for which Doxygen headers exist, that header must
be modified to match.

When submitting a pull request on github, make sure your branch is
rebased. No merge commits nor stray commits from other people in
your submitted branch, please. You may be asked to rebase if there
are conflicts (even trivially resolvable ones).

PGP signing commits is strongly encouraged. That should explain why
the previous paragraph is here.

Tests would be nice to have if you're adding functionality.
50 changes: 50 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Multistage docker build, requires docker 17.05

# builder stage
FROM ubuntu:16.04 as builder

RUN apt-get update && \
apt-get --no-install-recommends --yes install \
ca-certificates \
cmake \
g++ \
libboost1.58-all-dev \
libssl-dev \
libzmq3-dev \
libreadline-dev \
libsodium-dev \
make \
pkg-config \
graphviz \
doxygen \
git

WORKDIR /src
COPY . .

ARG NPROC
RUN rm -rf build && \
if [ -z "$NPROC" ];then make -j$(nproc) release-static;else make -j$NPROC release-static;fi

# runtime stage
FROM ubuntu:16.04

RUN apt-get update && \
apt-get --no-install-recommends --yes install ca-certificates && \
apt-get clean && \
rm -rf /var/lib/apt

COPY --from=builder /src/build/release/bin/* /usr/local/bin/

# Contains the blockchain
VOLUME /root/.Bixbite

# Generate your wallet via accessing the container and run:
# cd /wallet
# bixbite-wallet-cli
VOLUME /wallet

EXPOSE 44040
EXPOSE 44041

ENTRYPOINT ["Bixbited", "--p2p-bind-ip=0.0.0.0", "--p2p-bind-port=44040", "--rpc-bind-ip=0.0.0.0", "--rpc-bind-port=44041", "--non-interactive"]
Loading

0 comments on commit 14e9ce7

Please sign in to comment.