forked from BixBite-project/bixbite
-
Notifications
You must be signed in to change notification settings - Fork 0
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
0 parents
commit 14e9ce7
Showing
1,170 changed files
with
406,373 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
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 |
---|---|---|
@@ -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. |
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,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"] |
Oops, something went wrong.