Skip to content

Commit 69f033f

Browse files
committed
add new wallet & miners
1 parent 3b690b2 commit 69f033f

File tree

3,787 files changed

+1604102
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,787 files changed

+1604102
-0
lines changed

LICENSE

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2009-2017 The Bitcoin Core developers
4+
Copyright (c) 2017 The Raven Core developers
5+
Copyright (c) 2009-2017 Raven Developers
6+
7+
Permission is hereby granted, free of charge, to any person obtaining a copy
8+
of this software and associated documentation files (the "Software"), to deal
9+
in the Software without restriction, including without limitation the rights
10+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11+
copies of the Software, and to permit persons to whom the Software is
12+
furnished to do so, subject to the following conditions:
13+
14+
The above copyright notice and this permission notice shall be included in
15+
all copies or substantial portions of the Software.
16+
17+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23+
THE SOFTWARE.

Miners/README.md

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
A. Solo Mining
2+
1. Download Wallet https://github.com/MSFTserver/RavenCoin-Wallet-With-Miners/releases/tag/6.0
3+
4+
- then launch Raven-QT, Encrypt wallet(optional), wait for wallet to sync.
5+
6+
2. Start the Miner
7+
- 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.)
8+
9+
- Type `setgenerate true X` where X is the number of processor cores you want to mine with, into the console, hit enter.
10+
11+
- 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!
12+
13+
14+
B. Pool Mining
15+
1. Choose a Pool
16+
17+
2. Download a Miner
18+
- GitHub Repo Containing Everything:
19+
- https://github.com/MSFTserver/RavenCoin-Wallet-With-Miners
20+
- CPU Windows:
21+
- https://github.com/MSFTserver/RavenCoin-Wallet-With-Miners/releases/download/6.0/cpuminer-multi-rvn-windows.zip
22+
- CPU Linux (credit Epsylon3):
23+
- https://github.com/MSFTserver/RavenCoin-Wallet-With-Miners/releases/download/6.0/cpuminer-multi-rvn-source.zip
24+
- GPU Miner COMPLETE:
25+
- https://github.com/MSFTserver/RavenCoin-Wallet-With-Miners/releases/download/6.0/ccminer-2.2.5-rvn-windows.zip
26+
- (Credit: @tpruvot)
27+
28+
3. Configure your miner.
29+
- Settings for Stratum (config file)
30+
- ```
31+
STRATUM: STRATUM-URL
32+
PORT: XXXX
33+
Username: Weblogin.Worker/Address
34+
Password: Worker Password (optional now)
35+
36+
- CPU Miner Command Line
37+
- `cpuminer.exe -a x16r -o STRATUM-URL:PORT -u Weblogin.Worker/Address`
38+
- GPU Miner Command Line
39+
- `ccminer-x64.exe -a x16r -o STRATUM-URL:PORT -u Weblogin.Worker/Address`
40+
41+
- 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.
42+
43+
4. Create a Raven address to receive payments.
44+
- Downloading the client & block chain: https://github.com/MSFTserver/RavenCoin-Wallet-With-Miners/releases/tag/6.0
45+
- Generate a new address and input it on your account page to receive payments.
46+
47+
## Want to Donate some mining earnings to the Dev Fund?
48+
here is a script to auto switch to a donation address of your choice
49+
currently it is set to mine for you for 1 hours and 5 minutes mining for a alt-address
50+
51+
adjust the the setting in User Options to your liking
52+
currently it is set up to donate to our Raven Dev Fund!
53+
please only change the options after the = sign
54+
the times are in Seconds
55+
56+
GPU Config:
57+
```
58+
@echo off
59+
rem || User Options!
60+
set Pool=stratum+tcp://pool.threeeyed.info:3333
61+
set User=your-address
62+
set ExtraOptions=rigname,stats
63+
set YourTime=3600
64+
set DonationTime=300
65+
set DonationAddress=RT2r9oGxQxbVE1Ji5p5iPgrqpNQLfc8ksH
66+
:Start
67+
ccminer-x64.exe -a x16r -o %Pool% -u %User% -p %ExtraOptions% --time-limit %YourTime%
68+
ping localhost -n 2 >nul
69+
ccminer-x64.exe -a x16r -o %Pool% -u %DonationAddress% -p %ExtraOptions% --time-limit %DonationTime%
70+
goto Start
71+
@pause
72+
```
73+
74+
CPU Config:
75+
```
76+
@echo off
77+
rem || User Options!
78+
set Pool=stratum+tcp://pool.threeeyed.info:3333
79+
set User=your-address
80+
set Threads=Number-of-Threads
81+
set ExtraOptions=rigname,stats
82+
set YourTime=3600
83+
set DonationTime=300
84+
set DonationAddress=RT2r9oGxQxbVE1Ji5p5iPgrqpNQLfc8ksH
85+
:Start
86+
cpuminer.exe -a x16r -o %Pool% -u %User% -t %Threads% -p %ExtraOptions% --time-limit %YourTime%
87+
ping localhost -n 2 >nul
88+
cpuminer.exe -a x16r -o %Pool% -u %DonationAddress% -t %Threads% -p %ExtraOptions% --time-limit %DonationTime%
89+
goto Start
90+
@pause
91+
```
15.8 MB
Binary file not shown.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
minerd*
2+
cpuminer
3+
*.exe
4+
*.o
5+
*.d
6+
gmon.out
7+
8+
autom4te.cache
9+
.deps
10+
11+
Makefile
12+
Makefile.in
13+
INSTALL
14+
aclocal.m4
15+
configure
16+
configure.lineno
17+
depcomp
18+
missing
19+
install-sh
20+
stamp-h1
21+
cpuminer-config.h*
22+
compile
23+
config.log
24+
config.status
25+
config.status.lineno
26+
config.guess
27+
config.sub
28+
29+
mingw32-config.cache
30+
31+
*/.dirstamp
32+
33+
*.iml
34+
35+
*.vcxproj.user
36+
*.opensdf
37+
*.sdf
38+
*.suo
39+
Release/
40+
Debug/
41+
x64/Release/
42+
x64/Debug/
43+
*.pdb/
44+
45+
installer/
46+
res/cpuminer.aps
47+
res/RC*
48+
sign/
49+
sign.sh
50+
51+
compat/curl-for-windows/
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
language: c
2+
3+
compiler:
4+
- gcc
5+
6+
before_install:
7+
- sudo apt-get update -qq
8+
- sudo apt-get install libcurl4-openssl-dev
9+
10+
before_script:
11+
- ./autogen.sh
12+
13+
script:
14+
- ./configure --with-crypto --with-curl
15+
- make
16+
- ./cpuminer --cputest
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
Jeff Garzik <jgarzik@pobox.com>
2+
3+
ArtForz
4+
5+
pooler <pooler@litecoinpool.org>
6+
7+
BlueDragon747
8+
9+
1gh
10+
11+
Neisklar
12+
13+
prettyhatemachine
14+
15+
LucasJones
16+
17+
tpruvot@github
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
################################################################
2+
# Sample Android repo Makefile, used to test arm on the Tegra K1
3+
################################################################
4+
5+
cpuminer-src := $(call my-dir)
6+
7+
LOCAL_PATH := $(cpuminer-src)
8+
include $(CLEAR_VARS)
9+
10+
LOCAL_MODULE=cpuminer-jansson
11+
LOCAL_MODULE_TAGS=optional
12+
13+
define all-c-files-under
14+
$(patsubst ./%,%, \
15+
$(shell cd $(LOCAL_PATH) ; \
16+
find -L $(1) -name "*.c" -and -not -name ".*") \
17+
)
18+
endef
19+
20+
LOCAL_SRC_FILES := $(call all-c-files-under,compat/jansson)
21+
LOCAL_C_INCLUDES := $(cpuminer-src)/compat/jansson
22+
23+
include $(BUILD_STATIC_LIBRARY)
24+
25+
################################################################
26+
27+
28+
LOCAL_PATH := $(cpuminer-src)
29+
include $(CLEAR_VARS)
30+
31+
LOCAL_MODULE=cpuminer
32+
LOCAL_MODULE_TAGS=optional
33+
LOCAL_MODULE_CLASS := UTILITY_EXECUTABLES
34+
LOCAL_MODULE_PATH := $(PRODUCT_OUT)/utilities
35+
LOCAL_MODULE_STEM := $(LOCAL_MODULE)
36+
37+
LOCAL_C_INCLUDES := $(cpuminer-src)/compat/bionic \
38+
$(cpuminer-src)/compat/jansson \
39+
$(TARGET_OUT_INTERMEDIATES)/include/libcurl \
40+
external/openssl/include \
41+
42+
LOCAL_CFLAGS := -std=c99 -Wno-pointer-sign -Wno-missing-field-initializers \
43+
-Wno-unused-parameter #-DNOASM
44+
LOCAL_CFLAGS += -DVERSION=\"1.3\"
45+
46+
sph_files:=$(call all-c-files-under,sha3)
47+
48+
LOCAL_SRC_FILES=\
49+
cpu-miner.c util.c \
50+
api.c sysinfos.c \
51+
$(call all-c-files-under,algo) \
52+
$(filter-out sha3/md_helper.c,$(sph_files)) \
53+
$(call all-c-files-under,crypto) \
54+
$(call all-c-files-under,lyra2) \
55+
asm/sha2-$(TARGET_ARCH).S \
56+
asm/scrypt-$(TARGET_ARCH).S \
57+
asm/neoscrypt_asm.S
58+
59+
LOCAL_STATIC_LIBRARIES := libm cpuminer-jansson
60+
LOCAL_STATIC_LIBRARIES += libz libcrypto_static
61+
LOCAL_STATIC_LIBRARIES += libssl_static
62+
63+
# Require curl config changes and an addional
64+
# module definition in external/curl(_static?)
65+
#LOCAL_FORCE_STATIC_EXECUTABLE := true
66+
67+
ifeq ($(LOCAL_FORCE_STATIC_EXECUTABLE),true)
68+
LOCAL_CFLAGS += -DCURL_STATICLIB # -DHTTP_ONLY
69+
LOCAL_STATIC_LIBRARIES += libcurl_static libc
70+
else
71+
LOCAL_SHARED_LIBRARIES := libssl libcrypto
72+
LOCAL_SHARED_LIBRARIES += libcurl
73+
#LOCAL_STATIC_LIBRARIES += libcurl_static
74+
endif
75+
76+
include $(BUILD_EXECUTABLE)
77+

0 commit comments

Comments
 (0)