JavaScript Solidity Other
Clone or download
dob Merge pull request #228 from livepeer/yf/deprecated-event-comments
Deprecated event comments and round initialization integration test
Latest commit 37da421 Aug 1, 2018
Permalink
Failed to load latest commit information.
.circleci Only run unit tests with coverage Apr 20, 2018
.vscode var -> const for imports Jul 26, 2017
contracts Add comments in IBondingManager.sol to document deprecated events Jul 30, 2018
installed_contracts/oraclize Basic unit tests for manager contracts with new payment logic Aug 9, 2017
migrations Add ServiceRegistry to migrations. Add registry related checks in job… Jun 5, 2018
scripts Add integration test for round initialization Jul 30, 2018
test Add integration test for round initialization Jul 30, 2018
utils Include partial unbonding test cases in delegation integration test. … Jun 29, 2018
verification Silence a few compiler warnings. Add some dockerized commands Jan 17, 2018
.babelrc Editorconfig. Tests using async/await May 2, 2017
.editorconfig Insert final newline in editorconfig May 2, 2017
.eslintrc.js Indentation in .eslintrc.js Aug 25, 2017
.gitattributes Ensure roundLength can be increased/decreased. Refactored RoundsManag… Feb 2, 2018
.gitignore Artifact parsing script Jul 5, 2017
.solcover.js Use blocksToCliff and callerAllocationPeriod to determine callerAlloc… Apr 19, 2018
.soliumignore Added solium and testrpc as dependencies Sep 7, 2017
.soliumrc.json Disallow low level calls except if explicitly disabled Jan 17, 2018
CONTRIBUTING.md A few doc updates Sep 12, 2017
Dockerfile Include .solcover.js in Dockerfile Feb 14, 2018
LICENSE Initial commit. Apr 25, 2017
README.md Add coveralls badge Feb 17, 2018
docker-compose.yml Use built image in docker-compose services to reduce CI test time Jan 17, 2018
package-lock.json Remove unneeded libraries from migration scripts. Bump truffle-keysto… Apr 20, 2018
package.json Add integration test for round initialization Jul 30, 2018
truffle.js Make sure faucet is funded in non-production environments Mar 23, 2018

README.md

CircleCI Coverage Status Gitter

Livepeer Protocol

The Livepeer Protocol consists of the on-chain smart contracts that govern the logic of:

  • Livepeer Token ownership
  • Transcoding requests and job assignment
  • Proof and verification of transcoding work
  • Bonding and delegating for transcoder election
  • Slashing (penalties) for faulty participation

The protocol is outlined in the Livepeer Whitepaper and is more formally specified in the Protocol Specification.

The current status is that this is a near complete implementation of the initial pass at the Livepeer protocol which accounts for the alpha release milestone - Snowmelt - as defined in the Livepeer Network Phases.

Development

The Livepeer Protocol uses Truffle v4.0.1 and TestRPC v6.0.1.

git clone https://github.com/livepeer/protocol.git
cd protocol
npm install

You can build and test the Livepeer Protocol locally:

npm run test:unit
npm run test:integration

All contributions and bug fixes are welcome as pull requests back into the repo.

Built using OpenZeppelin and Truffle.

Bugs

Please report protocol bugs big and small by opening an issue. No possible bug report is too small.