A BNB Smart Chain client based on the go-ethereum fork
Go to file
Jeffrey Wilcke 361082ec4b cmd/evm, core/vm, test: refactored VM and core
* Moved `vm.Transfer` to `core` package and changed execution to call
`env.Transfer` instead of `core.Transfer` directly.
* core/vm: byte code VM moved to jump table instead of switch
* Moved `vm.Transfer` to `core` package and changed execution to call
  `env.Transfer` instead of `core.Transfer` directly.
* Byte code VM now shares the same code as the JITVM
* Renamed Context to Contract
* Changed initialiser of state transition & unexported methods
* Removed the Execution object and refactor `Call`, `CallCode` &
  `Create` in to their own functions instead of being methods.
* Removed the hard dep on the state for the VM. The VM now
  depends on a Database interface returned by the environment. In the
  process the core now depends less on the statedb by usage of the env
* Moved `Log` from package `core/state` to package `core/vm`.
2015-10-04 01:13:54 +02:00
_data Chain tests 2014-12-30 15:42:26 +01:00
accounts Merge pull request #1548 from fjl/accounts-test-deflake 2015-08-03 07:16:36 -07:00
build core, trie: new trie 2015-09-22 22:53:49 +02:00
cmd cmd/evm, core/vm, test: refactored VM and core 2015-10-04 01:13:54 +02:00
common common: fix #1818, secondary datadir paths to fall back to 2015-10-01 12:26:19 +03:00
compression/rle all: fix license headers one more time 2015-07-23 18:35:11 +02:00
core cmd/evm, core/vm, test: refactored VM and core 2015-10-04 01:13:54 +02:00
crypto Change go-uuid to use the current supported repository. 2015-09-12 16:49:24 +06:00
docker Revert "Revert "refactor Dockerfile"" 2015-04-22 21:35:46 +02:00
errs all: fix license headers one more time 2015-07-23 18:35:11 +02:00
eth cmd/evm, core/vm, test: refactored VM and core 2015-10-04 01:13:54 +02:00
ethdb ethdb: remove Flush 2015-09-14 23:36:30 +02:00
event core, event/filter, xeth: refactored filter system 2015-10-02 22:47:43 +02:00
generators all: fix license headers one more time 2015-07-23 18:35:11 +02:00
Godeps Merge pull request #1792 from jeffallen/uuid 2015-09-14 12:06:59 +02:00
jsre Merge pull request #1811 from bas-vk/timer-clearinterval 2015-09-17 19:21:49 +02:00
logger all: fix license headers one more time 2015-07-23 18:35:11 +02:00
metrics eth, metrics, p2p: prepare metrics and net packets to eth/62 2015-08-21 10:30:57 +03:00
miner cmd/evm, core/vm, test: refactored VM and core 2015-10-04 01:13:54 +02:00
p2p p2p/discover: ignore packet version numbers 2015-09-30 16:23:03 +02:00
params miner: gas limit strategy, target 3141592 & def gas price 50 Shannon 2015-08-04 15:20:28 +02:00
pow all: fix license headers one more time 2015-07-23 18:35:11 +02:00
rlp rlp: move ListSize to raw.go 2015-09-10 19:41:51 +02:00
rpc cmd/evm, core/vm, test: refactored VM and core 2015-10-04 01:13:54 +02:00
tests cmd/evm, core/vm, test: refactored VM and core 2015-10-04 01:13:54 +02:00
trie trie: add merkle proof functions 2015-09-22 22:57:37 +02:00
whisper all: fix license headers one more time 2015-07-23 18:35:11 +02:00
xeth cmd/evm, core/vm, test: refactored VM and core 2015-10-04 01:13:54 +02:00
.gitattributes .gitattributes: add 2015-08-06 17:18:59 +02:00
.gitignore updated ignore 2015-05-07 00:03:11 +02:00
.gitmodules cmd/geth, jsre: updated ethereum.js => web3.js 2015-04-24 11:37:58 +02:00
.mailmap Adjust .mailmap 2015-07-07 11:50:49 -05:00
.travis.yml Codecov integration 2015-08-18 22:46:48 +02:00
AUTHORS all: update license information 2015-07-07 14:12:44 +02:00
CONTRIBUTING.md Updated README, Added CONTRIBUTING 2015-08-18 23:00:15 +02:00
COPYING all: update license information 2015-07-07 14:12:44 +02:00
COPYING.LESSER all: update license information 2015-07-07 14:12:44 +02:00
Makefile makefile: built in cross compilation targets 2015-09-21 21:36:01 +03:00
README.md Updated README, Added CONTRIBUTING 2015-08-18 23:00:15 +02:00
VERSION VERSION: added version 2015-09-23 14:47:20 +02:00

Ethereum Go

Official golang implementation of the Ethereum protocol

      | Linux   | OSX | ARM | Windows | Tests

----------|---------|-----|-----|---------|------ develop | Build+Status | Build+Status | Build+Status | Build+Status | Buildr+Status codecov.io master | Build+Status | Build+Status | Build+Status | Build+Status | Buildr+Status codecov.io

API Reference Gitter

Automated development builds

The following builds are build automatically by our build servers after each push to the develop branch.

Building the source

For prerequisites and detailed build instructions please read the Installation Instructions on the wiki.

Building geth requires two external dependencies, Go and GMP. You can install them using your favourite package manager. Once the dependencies are installed, run

make geth

Executables

Go Ethereum comes with several wrappers/executables found in the cmd directory:

Command
geth Ethereum CLI (ethereum command line interface client)
bootnode runs a bootstrap node for the Discovery Protocol
ethtest test tool which runs with the tests suite: /path/to/test.json > ethtest --test BlockTests --stdin.
evm is a generic Ethereum Virtual Machine: evm -code 60ff60ff -gas 10000 -price 0 -dump. See -h for a detailed description.
disasm disassembles EVM code: `echo "6001"
rlpdump prints RLP structures

Command line options

geth can be configured via command line options, environment variables and config files.

To get the options available:

geth help

For further details on options, see the wiki

Contribution

If you'd like to contribute to go-ethereum please fork, fix, commit and send a pull request. Commits who do not comply with the coding standards are ignored (use gofmt!). If you send pull requests make absolute sure that you commit on the develop branch and that you do not merge to master. Commits that are directly based on master are simply ignored.

See Developers' Guide for more details on configuring your environment, testing, and dependency management.