forked from Raptor3um/raptoreum
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix error too many messages * update bls lib --------- Co-authored-by: nandofw <[email protected]>
- Loading branch information
Showing
993 changed files
with
329,818 additions
and
137 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
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
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
This file was deleted.
Oops, something went wrong.
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
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
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
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
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
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
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
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,17 @@ | ||
BasedOnStyle: Google | ||
UseTab: Never | ||
ColumnLimit: 80 | ||
IndentWidth: 4 | ||
TabWidth: 4 | ||
AllowShortIfStatementsOnASingleLine: false | ||
IndentCaseLabels: false | ||
AccessModifierOffset: -4 | ||
BinPackArguments: false | ||
BinPackParameters: false | ||
AlignAfterOpenBracket: AlwaysBreak | ||
IndentCaseLabels: true | ||
AllowAllParametersOfDeclarationOnNextLine: false | ||
BreakBeforeBraces: Custom | ||
BraceWrapping: | ||
AfterFunction: true | ||
PenaltyReturnTypeOnItsOwnLine: 1000 |
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,4 @@ | ||
[flake8] | ||
max-line-length = 120 | ||
exclude = ./typings/**/* python-impl/fields.py | ||
ignore = E203,W503,E501 |
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,82 @@ | ||
name: Build and test binds | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
tags: | ||
- '**' | ||
pull_request: | ||
branches: | ||
- '**' | ||
|
||
concurrency: | ||
# SHA is added to the end if on `main` to let all main workflows run | ||
group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ (github.ref == 'refs/heads/main') && github.sha || '' }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
build: | ||
name: ${{ matrix.os }}, Python ${{ matrix.python }}, Go ${{ matrix.golang }} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [macos-latest, ubuntu-latest] | ||
golang: [ '1.17' ] | ||
python: ['3.7', '3.8', '3.9', '3.10', '3.11'] | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- uses: chia-network/actions/setup-python@main | ||
with: | ||
python-version: ${{ matrix.python }} | ||
|
||
- name: Test Python implementation | ||
run: | | ||
python python-impl/impl-test.py | ||
- name: Install Emscripten SDK | ||
uses: mymindstorm/setup-emsdk@v11 | ||
|
||
- name: Build JavaScript bindings | ||
run: | | ||
emcc -v | ||
sh emsdk_build.sh | ||
- name: Test JavaScript bindings | ||
run: | | ||
sh js_test.sh | ||
- name: Install Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: ^${{ matrix.golang }} | ||
|
||
- name: Prepare build system for Ubuntu | ||
if: startsWith(matrix.os, 'ubuntu') | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -qq --yes valgrind libgmp-dev cmake | ||
hash -r | ||
cmake --version | ||
- name: Prepare build system for macOS | ||
if: startsWith(matrix.os, 'macos') | ||
run: | | ||
ls -l | ||
export MACOSX_DEPLOYMENT_TARGET=10.14 | ||
brew install gmp | ||
- name: Build library using CMake | ||
run: | | ||
mkdir -p build && cd build | ||
cmake .. | ||
cmake --build . -- -j 6 | ||
- name: Build Go bindings | ||
run: | | ||
cd go-bindings | ||
make |
Oops, something went wrong.