Sin descripción

obscuren 3c7181d28f Fixed a copy issue in the trie which could cause a consensus failure hace 10 años
_data 8df689bd44 Chain tests hace 11 años
accounts 5e891ea981 Merge branch 'key_store_and_accounts_integration' of https://github.com/Gustav-Simonsson/go-ethereum into Gustav-Simonsson-key_store_and_accounts_integration hace 10 años
cmd d52878c744 Removed some VMEnv & Added VmType() to vm.Environment hace 10 años
compression ddca18638f update imports order per goimports hace 11 años
core 8ccde784f9 Added (disabled) Jit validation hace 10 años
crypto 0d97c3ce13 Merge branch 'bounty' into develop hace 10 años
eth 8ccde784f9 Added (disabled) Jit validation hace 10 años
ethdb 34f72ddb3d Decode from stream directly hace 11 años
ethutil 750d70c202 updated tests hace 10 años
event f3e78c8f3c reworking messages => log hace 10 años
javascript 84adf77bf3 Added RPC "Call" for JS calls to contracts hace 10 años
logger 09841b1c9b Cleaned up some of that util hace 11 años
miner fed3e6a808 Refactored ethutil.Config.Db out hace 10 años
p2p 67f9783e6a Moved `obscuren` secp256k1-go hace 10 años
pow 6eaa404187 Moved sha3 from `obscuren` hace 10 años
rlp fc92abec2c rlp: allow encoding non-empty interface values hace 10 años
rpc af927ffdaf Added whisper messages hace 10 años
state 79cd58bdf3 removed old code hace 10 años
tests 6fecb150d6 Updated tests hace 10 años
trie 3c7181d28f Fixed a copy issue in the trie which could cause a consensus failure hace 10 años
ui c03d403437 Added whisper interface for xeth, added examples, updated RPC hace 10 años
vm 8ccde784f9 Added (disabled) Jit validation hace 10 años
whisper c48644490f Fixed whisper pub key bug hace 10 años
xeth d52878c744 Removed some VMEnv & Added VmType() to vm.Environment hace 10 años
.gitignore d5f38f5690 JitVM: the EVM JIT bridge hace 10 años
.gitmodules 9754c01f56 Added sample coin as a submodule hace 11 años
.mailmap ec7cb9981c add license tool and initial mailmap hace 10 años
.travis.yml 56a0131778 Travis fixes for Qt5.4 hace 10 años
Dockerfile 0bb3943698 Updated for Qt5.4 hace 10 años
LICENSE c173e9f4ab MIT -> LGPL hace 11 años
README.md bd64ed1e93 Update coveralls badge to develop branch hace 10 años
gocoverage.sh aa5b29e2f2 Implemented contract ABI hace 10 años
install.sh 28b7dcc204 go get deps doesnt work with develop branch hace 11 años
update-license.go 1d05027ba2 a few fixes for the license tool hace 10 años

README.md

Bugs Stories in Ready Stories in Progress Gitter

Ethereum PoC-8

  • Build Status master
  • Build Status develop
  • Travis-ci travis-ci
  • Coverage Status

Ethereum Go Client © 2014 Jeffrey Wilcke.

Build

Mist (GUI):

go get github.com/ethereum/go-ethereum/cmd/mist

Ethereum (CLI):

go get github.com/ethereum/go-ethereum/cmd/ethereum

For further, detailed, build instruction please see the Wiki

Automated (dev) builds

  • [OS X]
  • [Windows] Coming soon™
  • [Linux] Coming soon™

Binaries

Go Ethereum comes with several binaries found in cmd:

  • mist Official Ethereum Browser
  • ethereum Ethereum CLI
  • ethtest test tool which runs with the tests suit: cat file | ethtest.
  • evm is a generic Ethereum Virtual Machine: evm -code 60ff60ff -gas 10000 -price 0 -dump. See -h for a detailed description.
  • rlpdump converts a rlp stream to interface{}.
  • peerserver simple P2P (noi-ethereum) peer server.
  • disasm disassembles EVM code: echo "6001" | disasm

General command line options

== Shared between ethereum and Mist ==

= Settings
-id      Set the custom identifier of the client (shows up on other clients)
-port    Port on which the server will accept incomming connections
-upnp    Enable UPnP
-maxpeer Desired amount of peers
-rpc     Start JSON RPC
-dir     Data directory used to store configs and databases

= Utility 
-h         This
-import    Import a private key
-genaddr   Generates a new address and private key (destructive action)
-dump      Dump a specific state of a block to stdout given the -number or -hash
-difftool  Supress all output and prints VM output to stdout
-diff      vm=only vm output, all=all output including state storage

Ethereum only
ethereum [options] [filename]
-js        Start the JavaScript REPL
filename   Load the given file and interpret as JavaScript
-m       Start mining blocks

== Mist only ==

-asset_path    absolute path to GUI assets directory

Contribution

If you'd like to contribute to 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.

To make life easier try git flow it sets this all up and streamlines your work flow.

Coding standards

Sources should be formatted according to the Go Formatting Style.

Unless structs fields are supposed to be directly accesible, provide Getters and hide the fields through Go's exporting facility.

When you comment put meaningful comments. Describe in detail what you want to achieve.

wrong

// Check if the value at x is greater than y
if x > y {
    // It's greater!
}

Everyone reading the source probably know what you wanted to achieve with above code. Those are not meaningful comments.

While the project isn't 100% tested I want you to write tests non the less. I haven't got time to evaluate everyone's code in detail so I expect you to write tests for me so I don't have to test your code manually. (If you want to contribute by just writing tests that's fine too!)