-
Notifications
You must be signed in to change notification settings - Fork 45
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
1 parent
3b690b2
commit 69f033f
Showing
3,787 changed files
with
1,604,102 additions
and
0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
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,23 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2009-2017 The Bitcoin Core developers | ||
Copyright (c) 2017 The Raven Core developers | ||
Copyright (c) 2009-2017 Raven Developers | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. |
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,91 @@ | ||
A. Solo Mining | ||
1. Download Wallet https://github.com/MSFTserver/RavenCoin-Wallet-With-Miners/releases/tag/6.0 | ||
|
||
- then launch Raven-QT, Encrypt wallet(optional), wait for wallet to sync. | ||
|
||
2. Start the Miner | ||
- On top menu, click "Help" and select "Debug Window". In the new window, select the "Console" tab (We recommend making sure your processor heat sink is free of dust, and you use a temp monitor like http://openhardwaremonitor.org/ to ensure you do not reach temps that could damage your hardware.) | ||
|
||
- Type `setgenerate true X` where X is the number of processor cores you want to mine with, into the console, hit enter. | ||
|
||
- Wait a minute. Then type `getmininginfo` into the console, hit enter. Your current hashspeed will be to the left of "hashespersec" if you've got a value other than 0, you're mining! | ||
|
||
|
||
B. Pool Mining | ||
1. Choose a Pool | ||
|
||
2. Download a Miner | ||
- GitHub Repo Containing Everything: | ||
- https://github.com/MSFTserver/RavenCoin-Wallet-With-Miners | ||
- CPU Windows: | ||
- https://github.com/MSFTserver/RavenCoin-Wallet-With-Miners/releases/download/6.0/cpuminer-multi-rvn-windows.zip | ||
- CPU Linux (credit Epsylon3): | ||
- https://github.com/MSFTserver/RavenCoin-Wallet-With-Miners/releases/download/6.0/cpuminer-multi-rvn-source.zip | ||
- GPU Miner COMPLETE: | ||
- https://github.com/MSFTserver/RavenCoin-Wallet-With-Miners/releases/download/6.0/ccminer-2.2.5-rvn-windows.zip | ||
- (Credit: @tpruvot) | ||
|
||
3. Configure your miner. | ||
- Settings for Stratum (config file) | ||
- ``` | ||
STRATUM: STRATUM-URL | ||
PORT: XXXX | ||
Username: Weblogin.Worker/Address | ||
Password: Worker Password (optional now) | ||
- CPU Miner Command Line | ||
- `cpuminer.exe -a x16r -o STRATUM-URL:PORT -u Weblogin.Worker/Address` | ||
- GPU Miner Command Line | ||
- `ccminer-x64.exe -a x16r -o STRATUM-URL:PORT -u Weblogin.Worker/Address` | ||
- You then need to change `-u Weblogin.Worker/Address` and the other options to reflect your pool and your own account or wallet depending on the pool you chose to use. Eg, `-u Steve.StevesWorker` or `-u RUiosfoxnA3aMZqS5F65uiAss5xaDejXpV` , if using hash4life you will also need `-p c=RVN` , Then go to "File => Save as" and save the file as "RVN.bat" in the same folder as the miner. You are now ready to mine, double click on "RVN.bat" to start mining. | ||
4. Create a Raven address to receive payments. | ||
- Downloading the client & block chain: https://github.com/MSFTserver/RavenCoin-Wallet-With-Miners/releases/tag/6.0 | ||
- Generate a new address and input it on your account page to receive payments. | ||
## Want to Donate some mining earnings to the Dev Fund? | ||
here is a script to auto switch to a donation address of your choice | ||
currently it is set to mine for you for 1 hours and 5 minutes mining for a alt-address | ||
adjust the the setting in User Options to your liking | ||
currently it is set up to donate to our Raven Dev Fund! | ||
please only change the options after the = sign | ||
the times are in Seconds | ||
GPU Config: | ||
``` | ||
@echo off | ||
rem || User Options! | ||
set Pool=stratum+tcp://pool.threeeyed.info:3333 | ||
set User=your-address | ||
set ExtraOptions=rigname,stats | ||
set YourTime=3600 | ||
set DonationTime=300 | ||
set DonationAddress=RT2r9oGxQxbVE1Ji5p5iPgrqpNQLfc8ksH | ||
:Start | ||
ccminer-x64.exe -a x16r -o %Pool% -u %User% -p %ExtraOptions% --time-limit %YourTime% | ||
ping localhost -n 2 >nul | ||
ccminer-x64.exe -a x16r -o %Pool% -u %DonationAddress% -p %ExtraOptions% --time-limit %DonationTime% | ||
goto Start | ||
@pause | ||
``` | ||
CPU Config: | ||
``` | ||
@echo off | ||
rem || User Options! | ||
set Pool=stratum+tcp://pool.threeeyed.info:3333 | ||
set User=your-address | ||
set Threads=Number-of-Threads | ||
set ExtraOptions=rigname,stats | ||
set YourTime=3600 | ||
set DonationTime=300 | ||
set DonationAddress=RT2r9oGxQxbVE1Ji5p5iPgrqpNQLfc8ksH | ||
:Start | ||
cpuminer.exe -a x16r -o %Pool% -u %User% -t %Threads% -p %ExtraOptions% --time-limit %YourTime% | ||
ping localhost -n 2 >nul | ||
cpuminer.exe -a x16r -o %Pool% -u %DonationAddress% -t %Threads% -p %ExtraOptions% --time-limit %DonationTime% | ||
goto Start | ||
@pause | ||
``` |
Binary file not shown.
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,2 @@ | ||
# Auto detect text files and perform LF normalization | ||
* text=auto |
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,51 @@ | ||
minerd* | ||
cpuminer | ||
*.exe | ||
*.o | ||
*.d | ||
gmon.out | ||
|
||
autom4te.cache | ||
.deps | ||
|
||
Makefile | ||
Makefile.in | ||
INSTALL | ||
aclocal.m4 | ||
configure | ||
configure.lineno | ||
depcomp | ||
missing | ||
install-sh | ||
stamp-h1 | ||
cpuminer-config.h* | ||
compile | ||
config.log | ||
config.status | ||
config.status.lineno | ||
config.guess | ||
config.sub | ||
|
||
mingw32-config.cache | ||
|
||
*/.dirstamp | ||
|
||
*.iml | ||
|
||
*.vcxproj.user | ||
*.opensdf | ||
*.sdf | ||
*.suo | ||
Release/ | ||
Debug/ | ||
x64/Release/ | ||
x64/Debug/ | ||
*.pdb/ | ||
|
||
installer/ | ||
res/cpuminer.aps | ||
res/RC* | ||
sign/ | ||
sign.sh | ||
|
||
compat/curl-for-windows/ |
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,16 @@ | ||
language: c | ||
|
||
compiler: | ||
- gcc | ||
|
||
before_install: | ||
- sudo apt-get update -qq | ||
- sudo apt-get install libcurl4-openssl-dev | ||
|
||
before_script: | ||
- ./autogen.sh | ||
|
||
script: | ||
- ./configure --with-crypto --with-curl | ||
- make | ||
- ./cpuminer --cputest |
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,17 @@ | ||
Jeff Garzik <[email protected]> | ||
|
||
ArtForz | ||
|
||
pooler <[email protected]> | ||
|
||
BlueDragon747 | ||
|
||
1gh | ||
|
||
Neisklar | ||
|
||
prettyhatemachine | ||
|
||
LucasJones | ||
|
||
tpruvot@github |
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,77 @@ | ||
################################################################ | ||
# Sample Android repo Makefile, used to test arm on the Tegra K1 | ||
################################################################ | ||
|
||
cpuminer-src := $(call my-dir) | ||
|
||
LOCAL_PATH := $(cpuminer-src) | ||
include $(CLEAR_VARS) | ||
|
||
LOCAL_MODULE=cpuminer-jansson | ||
LOCAL_MODULE_TAGS=optional | ||
|
||
define all-c-files-under | ||
$(patsubst ./%,%, \ | ||
$(shell cd $(LOCAL_PATH) ; \ | ||
find -L $(1) -name "*.c" -and -not -name ".*") \ | ||
) | ||
endef | ||
|
||
LOCAL_SRC_FILES := $(call all-c-files-under,compat/jansson) | ||
LOCAL_C_INCLUDES := $(cpuminer-src)/compat/jansson | ||
|
||
include $(BUILD_STATIC_LIBRARY) | ||
|
||
################################################################ | ||
|
||
|
||
LOCAL_PATH := $(cpuminer-src) | ||
include $(CLEAR_VARS) | ||
|
||
LOCAL_MODULE=cpuminer | ||
LOCAL_MODULE_TAGS=optional | ||
LOCAL_MODULE_CLASS := UTILITY_EXECUTABLES | ||
LOCAL_MODULE_PATH := $(PRODUCT_OUT)/utilities | ||
LOCAL_MODULE_STEM := $(LOCAL_MODULE) | ||
|
||
LOCAL_C_INCLUDES := $(cpuminer-src)/compat/bionic \ | ||
$(cpuminer-src)/compat/jansson \ | ||
$(TARGET_OUT_INTERMEDIATES)/include/libcurl \ | ||
external/openssl/include \ | ||
|
||
LOCAL_CFLAGS := -std=c99 -Wno-pointer-sign -Wno-missing-field-initializers \ | ||
-Wno-unused-parameter #-DNOASM | ||
LOCAL_CFLAGS += -DVERSION=\"1.3\" | ||
|
||
sph_files:=$(call all-c-files-under,sha3) | ||
|
||
LOCAL_SRC_FILES=\ | ||
cpu-miner.c util.c \ | ||
api.c sysinfos.c \ | ||
$(call all-c-files-under,algo) \ | ||
$(filter-out sha3/md_helper.c,$(sph_files)) \ | ||
$(call all-c-files-under,crypto) \ | ||
$(call all-c-files-under,lyra2) \ | ||
asm/sha2-$(TARGET_ARCH).S \ | ||
asm/scrypt-$(TARGET_ARCH).S \ | ||
asm/neoscrypt_asm.S | ||
|
||
LOCAL_STATIC_LIBRARIES := libm cpuminer-jansson | ||
LOCAL_STATIC_LIBRARIES += libz libcrypto_static | ||
LOCAL_STATIC_LIBRARIES += libssl_static | ||
|
||
# Require curl config changes and an addional | ||
# module definition in external/curl(_static?) | ||
#LOCAL_FORCE_STATIC_EXECUTABLE := true | ||
|
||
ifeq ($(LOCAL_FORCE_STATIC_EXECUTABLE),true) | ||
LOCAL_CFLAGS += -DCURL_STATICLIB # -DHTTP_ONLY | ||
LOCAL_STATIC_LIBRARIES += libcurl_static libc | ||
else | ||
LOCAL_SHARED_LIBRARIES := libssl libcrypto | ||
LOCAL_SHARED_LIBRARIES += libcurl | ||
#LOCAL_STATIC_LIBRARIES += libcurl_static | ||
endif | ||
|
||
include $(BUILD_EXECUTABLE) | ||
|
Oops, something went wrong.