-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.txt
115 lines (93 loc) · 4.43 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
This is a private, difficulty 1 testnet in a box for litecoin - based off freewil's testnet-box for bitcoin (github.com/freewil/bitcoin-testnet-box).
Use it as follows:
$ make start
This will start two nodes. You need two because otherwise the node won't
generate blocks. You now have a private testnet:
litecoind -datadir=1 getinfo
{
"version" : 60300,
"protocolversion" : 60001,
"walletversion" : 60000,
"balance" : 0.00000000,
"blocks" : 0,
"connections" : 1,
"proxy" : "",
"difficulty" : 0.00024414,
"testnet" : true,
"keypoololdest" : 1367704943,
"keypoolsize" : 101,
"paytxfee" : 0.00000000,
"mininput" : 0.00010000,
"errors" : ""
}
litecoind -datadir=2 getinfo
{
"version" : 60300,
"protocolversion" : 60001,
"walletversion" : 60000,
"balance" : 0.00000000,
"blocks" : 0,
"connections" : 1,
"proxy" : "",
"difficulty" : 0.00024414,
"testnet" : true,
"keypoololdest" : 1367704943,
"keypoolsize" : 101,
"paytxfee" : 0.00000000,
"mininput" : 0.00010000,
"errors" : ""
}
To start generating blocks:
$ make generate-true
To stop generating blocks:
$ make generate-false
OR, point your mining software at the address of the test machine, on either ports 19334 (Server 1) or 19344 (Server 2) using the username 'testnet' and the password 'testnet'. With a 7970, you should find a new block every second or so.
Using the command (if you are running the testnet on the same box as the miner - otherwise change 127.0.0.1 to the address of the testnet)
./cgminer --scrypt -o http://127.0.0.1:19334 -O testnet:testnet --shaders 2048 --thread-concurrency 8192 -w 256 -g2 -I 13 --auto-gpu --temp-overheat 81 --gpu-vddc 1.030 --temp-cutoff 97 --gpu-fan=100 --gpu-engine 700-1000 --gpu-memclock 1500
you should see this:
cgminer version 3.1.0 - Started: [2013-05-05 08:08:34]
--------------------------------------------------------------------------------
(5s):651.3K (avg):677.5Kh/s | A:12 R:2 HW:0 U:28.1/m WU:522.7/m
ST: 4 SS: 0 NB: 15 LW: 0 GF: 0 RF: 0
Connected to 127.0.0.1 diff 16 without LP as user testnet
Block: a9e247f0ce19261a... Diff:16 Started: [08:09:03] Best share: 514
--------------------------------------------------------------------------------
[P]ool management [G]PU management [S]ettings [D]isplay options [Q]uit
GPU 0: 62.0C 3472RPM | 611.2K/792.4Kh/s | A:15 R:2 HW:0 U: 35.16/m I:13
--------------------------------------------------------------------------------
[2013-05-05 08:08:40] Accepted 0d79ae19 Diff 18/16 BLOCK! GPU 0
[2013-05-05 08:08:40] New block detected on network
[2013-05-05 08:08:41] Found block for pool 0!
[2013-05-05 08:08:41] Accepted 02d01e0c Diff 91/16 BLOCK! GPU 0
[2013-05-05 08:08:41] Found block for pool 0!
[2013-05-05 08:08:42] Rejected 04ebc3f4 Diff 52/16 BLOCK! GPU 0
[2013-05-05 08:08:42] New block detected on network
[2013-05-05 08:08:44] Found block for pool 0!
[2013-05-05 08:08:44] Accepted 0f0c8dfe Diff 17/16 BLOCK! GPU 0
[2013-05-05 08:08:45] New block detected on network
[2013-05-05 08:08:47] Found block for pool 0!
[2013-05-05 08:08:47] Accepted 0ceb555f Diff 19/16 BLOCK! GPU 0
[2013-05-05 08:08:48] New block detected on network
[2013-05-05 08:08:48] Found block for pool 0!
[2013-05-05 08:08:48] Accepted 0a46fc4a Diff 24/16 BLOCK! GPU 0
[2013-05-05 08:08:48] New block detected on network
[2013-05-05 08:08:56] Found block for pool 0!
[2013-05-05 08:08:56] Accepted 02303381 Diff 116/16 BLOCK! GPU 0
[2013-05-05 08:08:57] New block detected on network
[2013-05-05 08:08:58] Found block for pool 0!
[2013-05-05 08:08:58] Accepted 057fa852 Diff 46/16 BLOCK! GPU 0
[2013-05-05 08:08:58] New block detected on network
[2013-05-05 08:09:01] Found block for pool 0!
[2013-05-05 08:09:01] Accepted 0f094309 Diff 17/16 BLOCK! GPU 0
[2013-05-05 08:09:02] New block detected on network
[2013-05-05 08:09:02] Found block for pool 0!
[2013-05-05 08:09:02] Accepted 0da16004 Diff 18/16 BLOCK! GPU 0
[2013-05-05 08:09:03] New block detected on network
To stop the two nodes:
$ make stop
To clean up any files created while running the testnet
(and restore to the original state)
$ make clean
Like all testnet nodes, it is listening on port 19333.
The secondary node is listening on port 19343.
When running & generating coin - remember that you'll need the coins to mature before you can use them in a transaction.