Author: Subhra Mazumdar 2020-01-21 00:36:21
Published on: 2020-01-21T00:36:21+00:00
ZK proofs can be used for simple programs in a two-party system and are fast for small-ish programs. Zero Knowledge Contingent Payments (ZKCP) can be used to send an encrypted copy of the file with the encryption key being the payment_preimage, making it one big atomic action. However, ZK proofs are not suitable for a consensus system where every party needs to download and validate them. It was suggested that partial payment per block could be made instead of waiting for the total file to arrive as even if the zk proof of the total file is correct, the sender might cheat while sending individual blocks. The use of ZK proof is not expected to slow down the system and potentially defeat the purpose of the lightning network. A paper on ZKCP was not available but various discussions on it can be found online.
Updated on: 2023-06-02T21:47:45.091314+00:00