-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request Ethereum PubSub notes #3
Comments
Hey @jbenet @diasdavid So I think the two biggest usecases for pubsub within Ethereum clients are
The way Ethereum currently implements pubsub is by a simple broadcast network. The wire protocol has Also Light clients are intersted when a subset for the global state is updated. A bigger question to me, is how to tie this into IPNS and IPFS. It would be cool if we could do something like this
The above would return the latest state root from the last valid block that the client know about.
The above would return the code of a contract. If this was mounted in UNIX system you should be able to run it.
given the genesis block, the contract address, and storage key, this would return the value of a contracts storage.
this would retrieve that contract's balance in ether
Lastly this would retrieve that contract's nonce. In all of these cases a client implementing this would need sub/pub to blocks, txs, or stateRoots of a given path. Also all the above should be available via ipfs so that historical states can be queried. The entry point here would be a block hash of a historical block.
|
here complete mapping of ethereum's state to folders (sorry a bit off topic)
EDIT moved to here ipld/specs#27 |
As it was mentioned during last PubSub call, it will be important to learn from the Ethereum dev team their experiences with PubSub. Does anyone has a reference to a blog post or maybe an email thread of where we can learn more from it? We can probably ask if there is some availability o chat about it, take some notes and invite the Ethereum community to join our exploration. @jbenet ?
Links that come up in search:
The text was updated successfully, but these errors were encountered: