Mining
Windows users tryout seele-one-click-mining!
Refer to the readme.txt in zip for user instructions.
Mining
Download
Download the newestexecutables and configuration templates. The extracted directory has the following structure:
mac/linux/win32_v#.#.#
├── node1.json //shard1 config template
├── node2.json //shard2 config template
├── node3.json //shard3 config template
├── node4.json //shard4 config template
└── build
├── client //client executable: for using node services
├── discovery
├── light
├── node //node executable: for runnig a node
├── tool
└── vmUse the following commands in the build directory.
Accounts
Generate: generate keypairs using shard numbers.
Validate: check privatekey or pulickey validity and key shard number.
Save: Create keyfile using privatekey, filename, password.
Restore: restore privateKey with keyfile and password.
Configure node.json
Change mining account:
To mine in shard 1, generate a shard 1 keypaire, then place the publickey in node1.json template.
To mine in shard 2, generate a shard 2 keypaire, then place the publickey in node2.json template.
Similarly for 3 and 4.
Change node id:
Generate a keypair whose shard matters not, and fill the template with the privatekey.
Example with configuring shard1 template.
Before:
After:
Run node
Run mining node: with 12 threads,using node1.json as configuration file.
Run node without mining:
Using node services
When node starts, it checks the completeness of its database at a speed of roughly 10,000 blocks per second. Then the node will launch its services, which the client executable can access.
shard 1 listening port:8027
shard 2 listening port:8028
shard 3 listening port:8029
shard 4 listening port:8026
Balance:
Node info:
Use ./client to view all available commands, and -h to see details of how to use them, for example ./client sendtx -h to see how to send transactions with keyfile.
Compile node
The following commands work on ubuntu and mac.
Check git,gcc,go version
Download go-seele
Download go-seele: configure the path ~/go/src/github.com/seeleteam。
Compile go-seele:
Last updated
Was this helpful?