Skip to content

Commit baa9f91

Browse files
Merge pull request #24 from core-coin/updates/readme-01
Readme updates
2 parents b459066 + 433b926 commit baa9f91

File tree

3 files changed

+51
-24
lines changed

3 files changed

+51
-24
lines changed

.gitignore

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,31 @@ CMakeCache.txt
44
*.cmake
55
Makefile
66
gxminer
7-
bazel-*
7+
bazel-*
8+
9+
# General
10+
.DS_Store
11+
.AppleDouble
12+
.LSOverride
13+
14+
# Icon must end with two \r
15+
Icon
16+
17+
# Thumbnails
18+
._*
19+
20+
# Files that might appear in the root of a volume
21+
.DocumentRevisions-V100
22+
.fseventsd
23+
.Spotlight-V100
24+
.TemporaryItems
25+
.Trashes
26+
.VolumeIcon.icns
27+
.com.apple.timemachine.donotpresent
28+
29+
# Directories potentially created on remote AFP share
30+
.AppleDB
31+
.AppleDesktop
32+
Network Trash Folder
33+
Temporary Items
34+
.apdisk

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
BSD 3-Clause License
22

33
Copyright (c) 2019, Command M
4-
Copyright (c) 2020, CORE FOUNDATION
4+
Copyright (c) 2020, CORE Foundation
55
All rights reserved.
66

77
Redistribution and use in source and binary forms, with or without

README.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# go-randomx
1+
# Go-randomy
22

3-
This is a binding for Random-X based algorithms.
3+
This is a binding for Random-Y based algorithms.
44

55
Do NOT use go mod import this.
66

7-
**NOTICE**: For better go.mod experience, like direcly import go-randomx dep through `go get` or `go build`, check the https://github.com/core-coin/RandomY and https://github.com/core-coin/go-randomx and their github actions.
7+
For better go.mod experience, like directly import go-randomy dep through `go get` or `go build`, check the https://github.com/core-coin/RandomY and https://github.com/core-coin/go-randomy and their GitHub actions.
88

99
## Algorithms
1010

@@ -19,7 +19,7 @@ Do NOT use go mod import this.
1919

2020
### Windows
2121

22-
Firstly download and install the msys2, then open and install the following components:
22+
1. Download and install the msys2, then open and install the following components:
2323

2424
Take msys2's pacman for example
2525

@@ -28,50 +28,50 @@ pacman -Syu
2828
pacman -S git mingw64/mingw-w64-x86_64-go mingw64/mingw-w64-x86_64-gcc mingw64/mingw-w64-x86_64-cmake mingw64/mingw-w64-x86_64-make
2929
```
3030

31-
Secondly clone this repo to your project folder
32-
```
31+
2. Clone this repo to your project folder
32+
33+
```bash
3334
cd MyProject
34-
git clone https://github.com/core-coin/go-randomx
35+
git clone https://github.com/core-coin/go-randomy
3536
```
3637

37-
And then run `./build.sh` to auto compile official random-x code
38+
3. Run `./build.sh` to auto compile official random-y code
39+
3840
```bash
39-
# clone and compile RandomX source code into librandomx
40-
./build random-x # random-x can be replaced with random-xl random-arq random-wow
41+
# clone and compile RandomY source code into librandomy
42+
./build random-y # random-y can be replaced with random-xl random-arq random-wow
4143
```
4244

43-
Finally you can using the package as your internal one.
45+
4. You can use the package as your internal one.
4446

45-
Directly using it with `import "github.com/MyProject/go-randomx"` and then `randomx.AllocCache()` etc.
47+
Directly using it with `import "github.com/MyProject/go-randomy"` and then `randomy.AllocCache()` etc.
4648

4749
### Linux
4850

49-
Take Ubuntu for example
50-
51-
Download the latest go from [here](https://golang.org/dl/) and then install it following [this instruction](https://golang.org/doc/install#tarball)
51+
1. Download the latest go from [web](https://golang.org/dl/) and then install it following [this instructions](https://golang.org/doc/install#tarball).
5252

5353
```bash
5454
sudo apt update && sudo apt upgrade
5555
sudo apt install git cmake make gcc build-essential
5656
```
5757

58-
Secondly clone this repo to your project folder
58+
2. Clone this repo to your project folder.
5959

6060
```
6161
cd MyProject
62-
git clone https://github.com/core-coin/go-randomx
62+
git clone https://github.com/core-coin/go-randomy
6363
```
6464

65-
And then run `go generate` to auto compile official random-x code
65+
3. Run `go generate` to auto compile official random-y code.
6666

6767
```bash
68-
# clone and compile RandomX source code into librandomx
69-
./build random-x # random-x can be replaced with random-xl random-arq random-wow
68+
# clone and compile RandomY source code into librandomy
69+
./build random-y # random-y can be replaced with random-xl random-arq random-wow
7070
```
7171

72-
Finally you can using the package as your internal one.
72+
4. You can using the package as your internal one.
7373

74-
Directly using it with `import "github.com/myname/my-project/go-randomx"` and then start the functions like `randomx.AllocCache()` etc.
74+
Directly using it with `import "github.com/myname/my-project/go-randomy"` and then start the functions like `randomy.AllocCache()` etc.
7575

7676
## License
7777

0 commit comments

Comments
 (0)