Giter Club home page Giter Club logo

nipopow-verifier's Introduction

nipopow-verifier's People

Contributors

sdaveas avatar gtklocker avatar dionyziz avatar amiller avatar gglou avatar solegga avatar

Stargazers

 avatar Fuyang Deng avatar longcpp avatar  avatar Incede avatar HAOYUatHZ avatar Runchao Han avatar Georgios Konstantopoulos avatar  avatar andrianna avatar

Watchers

James Cloos avatar  avatar Panayiotis Panayiotou avatar  avatar

nipopow-verifier's Issues

Restructure contract dir

Make use of libraries where possible, make libraries out of low level operations, make verifier clean af.

Enable optimization in master

The metrics are measured with optimized contracts but let's commit that to master after the refactoring of the structure of tests

Update paper for eprint

  1. Refer to summa-tx (and possibly other projects) as know uses of the hash-and-resubmit pattern.
    I think the pattern is used here https://github.com/summa-tx/relays/blob/master/solidity/contracts/OnDemandSPV.sol#L320 - lines 340 and 357.
  2. Acknowledgements to Patrick McCorry (refs for optimistic things) and James Prestwich to acknowledgements (h&r reference and fixes for EIP2028).
  3. Add cost of submit in cryptoeconomics sections for different fork indices.
  4. Check the cost of sha2 and sha3 in appendix.
  5. Update the cost of load data from 68 to 16. This is due to EIP2028 (in current Istanbul fork) which has not been updated in the yellow paper yet.
  6. Editorial pass on sections 4, 5.
  7. Show that the contract is resilient to DOS attack. This can be derived from item 3 if we use a fork chain from genesis.
  8. Add event-based proof acquisition in h&r variations. (optional)

Refine contract

  • Delete = 0 s in variable initialization
  • Replace uint with uint256
  • Remove unneeded comments
  • Add proper documentation
  • Hide low level functions in separate lib

Probability of contest transaction

High gas price increases the probability of a tx to be included in next blocks but there is no guarantee. For 10Gwei (highers price) the probability of being accepted by last 200 blocks is 90% which doesn't seem enough in case of high bets.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.