Go implementation of the Ethereum protocol
Find a file
2022-01-24 16:11:23 +05:30
.circleci chg: Update README 2020-11-14 14:30:47 +05:30
.github Build with the previous Dockerfile (#268) 2022-01-11 12:23:22 +01:00
accounts merged geth v1.10.10 2021-11-22 19:04:07 +05:30
build ci: enable race tests as cron job on travis (#23480) 2021-10-11 19:37:18 +02:00
builder/files merge master 2022-01-24 16:11:23 +05:30
cmd migrate cli to internal package (#301) 2022-01-19 12:10:20 +01:00
command/server/chains merge master 2022-01-24 16:11:23 +05:30
common common: fixes format verb (#23495) 2021-08-31 10:22:20 +02:00
consensus jaipur fork (#269) 2022-01-11 12:23:28 +01:00
console console: add note about typing exit to exit (#23602) 2021-09-21 11:19:46 +03:00
contracts/checkpointoracle accounts/abi/bind: fix bounded contracts and sim backend for 1559 (#23038) 2021-06-15 13:56:14 +03:00
core fix for TestReorgSideEvent (#304) 2022-01-20 14:24:15 +01:00
crypto all: add go:build lines (#23468) 2021-08-25 18:46:29 +02:00
docs Feature grpc status (#224) 2021-12-14 10:35:54 +01:00
eth fix for TestReorgSideEvent (#304) 2022-01-20 14:24:15 +01:00
ethclient fix for TestReorgSideEvent (#304) 2022-01-20 14:24:15 +01:00
ethdb core/rawdb: freezer batch write (#23462) 2021-09-07 12:31:17 +02:00
ethstats les: duplicate downloader and fetcher to allow progressive refactoring 2021-09-10 11:11:59 +03:00
event event: add ResubscribeErr (#22191) 2021-01-21 13:47:38 +01:00
graphql eth,rpc: allow for flag configured timeouts for eth_call (#23645) 2021-10-12 10:46:04 +02:00
internal merge master 2022-01-24 16:11:23 +05:30
les merged geth v1.10.10 2021-11-22 19:04:07 +05:30
light merged geth v1.10.10 2021-11-22 19:04:07 +05:30
log all: add go:build lines (#23468) 2021-08-25 18:46:29 +02:00
metrics all: add go:build lines (#23468) 2021-08-25 18:46:29 +02:00
miner Merge pull request #242 from maticnetwork/geth-v1.10.10 2021-11-26 16:38:52 +05:30
mobile fix for TestReorgSideEvent (#304) 2022-01-20 14:24:15 +01:00
node all: fix some go-critic linter warnings (#23709) 2021-10-13 17:31:02 +02:00
p2p p2p/enode: use unix timestamp as base ENR sequence number (#19903) 2021-09-07 12:36:48 +02:00
params merge master 2022-01-24 16:11:23 +05:30
rlp rlp: minor optimizations for slice/array encoding (#23467) 2021-08-25 19:01:10 +02:00
rpc rpc: set pong read deadline (#23556) 2021-09-27 16:31:45 +02:00
scripts Use stream to send debug files (#279) 2022-01-13 16:46:30 +01:00
signer merged geth v1.10.10 2021-11-22 19:04:07 +05:30
swarm swarm: code cleanup, move to ethersphere/swarm (#19661) 2019-06-04 16:35:36 +03:00
tests Enable test again (#280) 2022-01-14 12:13:47 +01:00
trie eth/protocols/snap, trie: better error-handling (#23657) 2021-09-29 15:19:40 +02:00
.dockerignore cmd, internal/build, docker: advertise commit date in unstable build versions (#19522) 2019-05-08 16:44:28 +03:00
.gitattributes .gitattributes: enable solidity highlighting on github (#16425) 2018-04-03 15:21:24 +02:00
.gitignore Release multi-platform with goreleaser 2021-11-11 17:24:42 +01:00
.gitmodules tests/testdata: make submodule shallow (#23412) 2021-08-24 13:56:31 +02:00
.golangci.yml appveyor.yml: add linux/amd64 build job (#23548) 2021-09-08 14:21:59 +02:00
.goreleaser.yml merge master 2022-01-24 16:11:23 +05:30
.mailmap all: update license information (#16089) 2018-02-14 13:49:11 +01:00
.travis.yml merged geth v1.10.10 2021-11-22 19:04:07 +05:30
appveyor.yml appveyor.yml: add linux/amd64 build job (#23548) 2021-09-08 14:21:59 +02:00
AUTHORS Update Bor to geth-v1.9.16 (#78) 2020-07-24 19:01:41 +05:30
circle.yml use go-ethereum for better forked-bor release 2020-11-13 09:21:48 +05:30
COPYING use go-ethereum for better forked-bor release 2020-11-13 09:21:48 +05:30
COPYING.LESSER all: update license information 2015-07-07 14:12:44 +02:00
Dockerfile Small tweeks to Dockerfiles (#247) 2021-11-30 12:19:27 +01:00
Dockerfile.alltools Final touches to Dockerfiles 2021-11-10 11:02:37 +01:00
Dockerfile.classic Build with the previous Dockerfile (#268) 2022-01-11 12:23:22 +01:00
Dockerfile.release Configure bor params in the unit itself (#270) 2022-01-07 17:20:57 +01:00
fuzzbuzz.yaml Update Bor to geth-v1.9.16 (#78) 2020-07-24 19:01:41 +05:30
go.mod Use stream to send debug files (#279) 2022-01-13 16:46:30 +01:00
go.sum Use stream to send debug files (#279) 2022-01-13 16:46:30 +01:00
interfaces.go merge v1.10.7 2021-08-19 15:56:13 +05:30
Makefile fix for TestReorgSideEvent (#304) 2022-01-20 14:24:15 +01:00
oss-fuzz.sh fuzzing: fix typo in fuzzer definitions (#23169) 2021-07-06 09:48:29 +02:00
README.md Merge pull request #200 from maticnetwork/feature-cmd 2021-10-25 13:52:56 +02:00
SECURITY.md docs: add links to more audits in SECURITY.md (#23482) 2021-08-31 09:02:04 +02:00

Bor Overview

Bor is the Official Golang implementation of the Matic protocol. It is a fork of Go Ethereum - https://github.com/ethereum/go-ethereum and EVM compabile.

Forks Stars Languages Issues PRs MIT License contributors size lines Discord Twitter Follow

How to contribute

Contribution Guidelines

We believe one of the things that makes Polygon special is its coherent design and we seek to retain this defining characteristic. From the outset we defined some guidelines to ensure new contributions only ever enhance the project:

  • Quality: Code in the Polygon project should meet the style guidelines, with sufficient test-cases, descriptive commit messages, evidence that the contribution does not break any compatibility commitments or cause adverse feature interactions, and evidence of high-quality peer-review
  • Size: The Polygon projects culture is one of small pull-requests, regularly submitted. The larger a pull-request, the more likely it is that you will be asked to resubmit as a series of self-contained and individually reviewable smaller PRs
  • Maintainability: If the feature will require ongoing maintenance (eg support for a particular brand of database), we may ask you to accept responsibility for maintaining this feature

Submit an issue

  • 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

Fork the repository (repo)

  • If you're not sure, here's how to fork the repo

  • If this is your first time forking our repo, this is all you need to do for this step:

    $ git clone git@github.com:[your_github_handle]/bor
    
  • If you've already forked the repo, you'll want to ensure your fork is configured and that it's up to date. This will save you the headache of potential merge conflicts.

  • To configure your fork:

    $ git remote add upstream https://github.com/maticnetwork/bor
    
  • To sync your fork with the latest changes:

    $ git checkout master
    $ git fetch upstream
    $ git merge upstream/master
    

Building the source

  • Building bor requires both a Go (version 1.14 or later) and a C compiler. You can install them using your favourite package manager. Once the dependencies are installed, run

    $ make bor
    
  • or, to build the full suite of utilities:

    $ make bor-all
    

Make awesome changes!

  1. Create new branch for your changes

    $ git checkout -b new_branch_name
    
  2. 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.

    Checkout our Git-Rules

    $ git commit -m "brief description of changes [Fixes #1234]"
    
  3. Push to your GitHub account

    $ git push
    

Submit your PR

  • After your changes are commited to your GitHub fork, submit a pull request (PR) to the master branch of the maticnetwork/bor repo
  • In your PR description, reference the issue it resolves (see linking a pull request to an issue using a keyword)
    • ex. Updates out of date content [Fixes #1234]
  • Why not say hi and draw attention to your PR in our discord server?

Wait for review

  • The team reviews every PR
  • Acceptable PRs will be approved & merged into the master branch

Release


Build the beta client:

go build -o bor-beta command/*.go

License

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.


Join our Discord server

Join Polygon community share your ideas or just say hi over on Discord.