2015-03-06 14:27:11 +02:00
|
|
|
[![Build Status](https://travis-ci.org/ethereum/ethash.svg?branch=master)](https://travis-ci.org/ethereum/ethash)
|
2015-05-05 08:50:04 +03:00
|
|
|
[![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)
|
2015-03-06 14:27:11 +02:00
|
|
|
|
|
|
|
# Ethash
|
|
|
|
|
|
|
|
For details on this project, please see the Ethereum wiki:
|
|
|
|
https://github.com/ethereum/wiki/wiki/Ethash
|
2015-05-05 08:50:04 +03:00
|
|
|
|
|
|
|
### 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 :)
|