mirror of https://github.com/ethereum/go-ethereum
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
984 B
23 lines
984 B
10 years ago
|
[![Build Status](https://travis-ci.org/ethereum/ethash.svg?branch=master)](https://travis-ci.org/ethereum/ethash)
|
||
10 years ago
|
[![Windows Build Status](https://ci.appveyor.com/api/projects/status/github/debris/ethash?branch=master&svg=true)](https://ci.appveyor.com/project/debris/ethash-nr37r/branch/master)
|
||
10 years ago
|
|
||
|
# Ethash
|
||
|
|
||
|
For details on this project, please see the Ethereum wiki:
|
||
|
https://github.com/ethereum/wiki/wiki/Ethash
|
||
10 years ago
|
|
||
|
### Coding Style for C++ code:
|
||
|
|
||
|
Follow the same exact style as in [cpp-ethereum](https://github.com/ethereum/cpp-ethereum/blob/develop/CodingStandards.txt)
|
||
|
|
||
|
### Coding Style for C code:
|
||
|
|
||
|
The main thing above all is code consistency.
|
||
|
|
||
|
- Tabs for indentation. A tab is 4 spaces
|
||
|
- Try to stick to the [K&R](http://en.wikipedia.org/wiki/Indent_style#K.26R_style),
|
||
|
especially for the C code.
|
||
|
- Keep the line lengths reasonable. No hard limit on 80 characters but don't go further
|
||
|
than 110. Some people work with multiple buffers next to each other.
|
||
|
Make them like you :)
|