Tendermint RPC has a /tx?hash=_&prove=_ endpoint which returns a proof that the transaction with the given hash made it into a block.
It would be nice if the LightNode class had a method to retrieve and verify these proofs.
Perhaps something like:
let tendermint = require('tendermint')
let lightClient = tendermint(nodeAddress, initialClientState)
let txIncluded = await lightClient.verifyTxInclusion(txHash) // `true` or `false`
Tendermint RPC has a
/tx?hash=_&prove=_endpoint which returns a proof that the transaction with the given hash made it into a block.It would be nice if the
LightNodeclass had a method to retrieve and verify these proofs.Perhaps something like: