-
Notifications
You must be signed in to change notification settings - Fork 2
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
liuzhi
committed
Jun 8, 2024
1 parent
89714a7
commit 53f7ea3
Showing
461 changed files
with
23,734 additions
and
6,880 deletions.
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 |
---|---|---|
@@ -1,6 +1,9 @@ | ||
.config* | ||
**/.config* | ||
**/.idea | ||
**/.vscode | ||
github.env | ||
Taskfile.yaml | ||
|
||
# Rust | ||
target | ||
vdf/generated |
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 |
---|---|---|
|
@@ -8,3 +8,7 @@ ceremony-client | |
.env.signers | ||
.task | ||
node-tmp-* | ||
build | ||
|
||
# Rust | ||
target |
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,39 @@ | ||
# Contributing | ||
|
||
## Testing | ||
|
||
Testing the [`vdf`](./vdf) and [`node`](./node) packages requires linking the | ||
[native VDF](./crates/vdf). The `test.sh` scripts in the respective directories | ||
help with this. | ||
|
||
## Pull Requests | ||
|
||
Contributions are welcome – a new network is rife with opportunities. We are | ||
in the process of updating our JIRA board so that it can be made public. The | ||
repository has basic coding guidelines: | ||
|
||
- 80 character line limit, with the exception where gofmt or the syntax is | ||
impossible to achieve otherwise | ||
- Error wrapping matching function names | ||
- Interface composition and dependency injection with Wire | ||
|
||
## Building release binaries | ||
|
||
The following software is required to build release binaries (assuming MacOS | ||
ARM): | ||
|
||
- [Running from source](README.md#running-from-source) dependencies | ||
- Docker | ||
- [Taskfile](https://taskfile.dev/) | ||
|
||
Then from the repo root use the following commands to build the release binaries | ||
that statically link the [native VDF](./crates/vdf) for the supported platforms: | ||
|
||
```shell | ||
task build_node_arm64_macos | ||
task build_node_arm64_linux | ||
task build_node_amd64_linux | ||
``` | ||
|
||
The output binaries will be in `node/build`. | ||
|
Oops, something went wrong.