null_radixnull_radix Member Posts: 17
Is there JSON-RCP or a plan for JSON-RCP in either the go or c++ clients?


  • mids106mids106 Member Posts: 188 ✭✭✭
    There isn't a JSON-RPC interface available yet. It (or something equivalent) is on the roadmap for sure.
  • null_radixnull_radix Member Posts: 17
    edited February 2014
    What would you consider other than JSON-RPC? I'm looking at the go code now, i would like to try to work on implementing JSON-RPC.

    One thing that would be nice that bitcoind doesn't have is some sort of push mechanism. So when implementing apps like blockchain.info you continually have to pull bitcoind for new transactions. I think something like a webcallback would be nice.
  • mids106mids106 Member Posts: 188 ✭✭✭
    edited February 2014
    Actually bitcoind does have (limited) push notification support:
    -blocknotify={cmd}     Execute command when the best block changes (%s in cmd is replaced by block hash)
    -walletnotify={cmd} Execute command when a wallet transaction changes (%s in cmd is replaced by TxID)
    -alertnotify={cmd} Execute command when a relevant alert is received (%s in cmd is replaced by message)
  • mquandallemquandalle FranceMember Posts: 50 ✭✭
    According to the "Layers" section of the wiki [1], every time the daemon receives a new message it should send a (HTTP?) POST request to http://localhost:port containing the data, where the `port` is defined in the config file.

    [1] https://github.com/ethereum/wiki/wiki/[English]-Layers
Sign In or Register to comment.