Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Verify transaction without propagating #4162
If I use RPC command
It would be great if there could be a RPC call that allows
One thing such a feature should have is the ability to take a list of transactions— since you may need to also provide the parents which you also don't want to broadcast yet.
An interesting question is should it be validating against the blockchain or against the memorypool?
I agree with the general idea, and think this could be pretty useful.
A few random use cases that come to my mind, more or less related to this topic:
Related to the first point is a discussion over at CryptoConsortium/CCSS#15, which indicates that relying on external API providers seems to be pretty common.
It should probably be differentiated between stateless and stateful verification (e.g. consider the mempool, or be able to check transactions to a limited degree with an unsynchronized offline client).
We've discussed this on IRC a while ago, and this still seems useful.
Yes, it should definitely be able to take a list of transactions.
Probably either - should be a parameter, like for
For information, such feature would be very useful for LN.
If such function existed, a LN node would just have to check verifyrawtransaction before releasing the revocation hash of the previous commitment.