Bor is the Golang implementation of the Polygon Matic protocol adapted to Algofoundry requirements.
It is a fork of Polygon matic's Bor with some changes.
- capability to disable ancient db write
- real time pruning for active data (this can reduce mainnet data size up 30% - 40%)
- Create a new issue
- Comment on the issue (if you'd like to be assigned to it) - that way our team can assign the issue to you.
- If you do not have a specific contribution in mind, you can also browse the issues labelled as
help wanted
- Issues that additionally have the
good first issue
label are considered ideal for first-timers
-
You can fork the repository from here.
-
To sync your fork with the latest changes:
$ git checkout develop $ git fetch upstream $ git merge upstream/develop
-
Building
bor
requires both a Go (version 1.19 or later) and a C compiler. You can install them using your favourite package manager. Once the dependencies are installed, run$ make bor -B
-
Create new branch for your changes
$ git checkout -b new_branch_name
-
Commit and prepare for pull request (PR). In your PR commit message, reference the issue it resolves (see how to link a commit message to an issue using a keyword.
$ git commit -m "[#1234] brief description of changes"
-
Push to your GitHub account
$ git push
- After your changes are commited to your GitHub fork, submit a pull request (PR) to the
develop
branch of theAlgoFoundry/bor
repo - In your PR description, reference the issue it resolves (see linking a pull request to an issue using a keyword)
- ex.
[#1234] Updates out of date content
- ex.
- The team reviews every PR
- Acceptable PRs will be approved & merged into the
develop
branch
The go-ethereum library (i.e. all code outside of the cmd
directory) is licensed under the
GNU Lesser General Public License v3.0,
also included in our repository in the COPYING.LESSER
file.
The go-ethereum binaries (i.e. all code inside of the cmd
directory) is licensed under the
GNU General Public License v3.0, also
included in our repository in the COPYING
file.