dff9b4246f
These changes make prompting behave consistently on all platforms: * The input buffer is now global. Buffering was previously set up for each prompt, which can cause weird behaviour, e.g. when running "geth account update <input.txt" where input.txt contains three lines. In this case, the first password prompt would fill up the buffer with all lines and then use only the first one. * Print the "unsupported terminal" warning only once. Now that stdin prompting has global state, we can use it to track the warning there. * Work around small liner issues, particularly on Windows. Prompting didn't work under most of the third-party terminal emulators on Windows because liner assumes line editing is always available. |
||
---|---|---|
_data | ||
.github | ||
accounts | ||
build | ||
cmd | ||
common | ||
compression/rle | ||
containers | ||
core | ||
crypto | ||
errs | ||
eth | ||
ethdb | ||
event | ||
generators | ||
Godeps | ||
internal/debug | ||
jsre | ||
light | ||
logger | ||
metrics | ||
miner | ||
node | ||
p2p | ||
params | ||
pow | ||
rlp | ||
rpc | ||
tests | ||
trie | ||
whisper | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
.mailmap | ||
.travis.yml | ||
AUTHORS | ||
COPYING | ||
COPYING.LESSER | ||
Makefile | ||
README.md | ||
VERSION |
Ethereum Go
Official golang implementation of the Ethereum protocol
| Linux | OSX | ARM | Windows | Tests
----------|---------|-----|-----|---------|------ develop | | | | | master | | | | |
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 both a Go and a C compiler. 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.