Skip to content

Instantly share code, notes, and snippets.

@bas-vk
Created November 27, 2015 08:58
Show Gist options
  • Save bas-vk/9b454d4892078bc2e7c6 to your computer and use it in GitHub Desktop.
Save bas-vk/9b454d4892078bc2e7c6 to your computer and use it in GitHub Desktop.
Experimental RPC
# this is experimental software, expect problems and use on your own risk!
It contains most of the official RPC API methods (https://github.com/ethereum/wiki/wiki/JSON-RPC).
The db_getXXX and db_setXXX methods are removed and will not be implemented.
Checkout: https://github.com/bas-vk/go-ethereum/tree/jsonrpc
Start the geth node with the `--ipcexp` flag. This will start the IPC endpoint with the new RPC implementation.
New is support for push notification by creating a subsription on a particular event.
Currently the number of available subscriptions is limit but will be extended in the future.
See https://hackpad.com/RPC-interface-VDul0tsDu1t#:h=Events for an overview of available subscriptions.
At this time the `newBlocks` and `pendingTransactions` subscriptions are working. The rest is WIP.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment