Giter Club home page Giter Club logo

patronum's Introduction

commonprefix website

Instructions

  1. Install the go programming language
  2. Run go run . (or go build . && ./website)
  3. ./public will have the static artifacts of the website

Run go run . --serve or ./website --serve for building and serving the files. Rerun every time source files change.

Static files

/public/static holds all static files: stylesheets, images, fonts and documents. For team member pictures, add a smaller version with a suffix of _w150 (e.g. john_doe_w150.jpg). You can run sips -Z 150 john_doe_w150.jpg to downsize the image.

patronum's People

Contributors

k4m4 avatar pkakelas avatar shresthagrawal avatar tzinas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

patronum's Issues

Make default block parameter optional

Getting error "missing value for required argument 1" for methods eth_getTransactionCount, eth_getBalance, eth_getCode, eth_call and eth_estimateGas.

The default block parameter is usually skipped (and defaults to 'latest') even though it is not documented as optional.

Block verification/building is broken

After the latest hardfork, headerDataFromWeb3Response seems to build a wrong header structure.

All uses of header.hash() get compared wrongly as a result. All other security checks still seem to run fine though.

This is a somewhat high priority to fix given the nature. I have, in the mean time, disabled block hash verification.

Fix MaxListenersExceededWarning

(node:64331) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 hardforkChanged listeners added to [Common]. Use emitter.setMaxListeners() to increase limit

Make VerifiedProvider an EthersProvider

EthersJs has a big suite of libraries to interact with Ethereum. If we can extend the VerifiedProvider to implement the AbstractProvider interface provided by the EthersJs then we can use the VerifiedProvider with all the existing EthersJs toolchain.

Allow for passing multiple RPC URLs

Currently, the Verifying provider is booted up with just one provider. This provider can be malicious in such a case the current system simply throws an error and fails.

Allow for passing a set of RPC URLs ordered by the most trusted one first. Gracefully try other provider URLs sequentially

Make Verifying Provider dynamic

Currently, the Verifying Provider accepts the latest Blockhash and Blocknumber as a constructor param. But as the blockchain has new blocks, the provider should be updated to the latest BlockHash and BlockNumber

Request: Support eth_getLogs

I am requesting to add support for eth_getLogs and potentially the other log related methods.

At minimum I would like a guide on how this should be implemented as a method in the VerifyingProvider class.

Thanks!

Support past hardforks

  • Currently, the latest hardfork is hardcoded and blocks before that hardfork do not verify.
  • It's possible to determine which hardfork is relevant to the block number in question and support old blocks too.

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.