codablock
Active member
Hey,
I was working on an idea regarding trustles MN sharing which is based on specially crafted multi-sig transactions for the funding MN transaction. I had nearly all the code up and running but then realized that the funding transaction can only be a standard P2PKH transaction, making a multi-sig funding transaction impossible.
I tried to read through the code to understand why this limitation exists. I'm pretty new to the whole topic of crypto currencies, but at least already got a good understanding of how the block chain and transactions work.
Before I started to read the code, I always assumed that the UTXO is only used for identification and verification of the MN and that the pubkey is only used for MN reward payments, leading to my assumption that a P2SH (for multi-sig) address would also work. Now that I read the code, it looks like the pubkey (and probably the private key?) is used for more stuff, but I'm absolutely not sure.
Maybe someone with deeper knowledge about the MN code can explain the use of the pubkey from the UTXO. It would help me alot to understand the code and probably give me ideas on how to proceed (maybe lift the limitation in some way?)
I was working on an idea regarding trustles MN sharing which is based on specially crafted multi-sig transactions for the funding MN transaction. I had nearly all the code up and running but then realized that the funding transaction can only be a standard P2PKH transaction, making a multi-sig funding transaction impossible.
I tried to read through the code to understand why this limitation exists. I'm pretty new to the whole topic of crypto currencies, but at least already got a good understanding of how the block chain and transactions work.
Before I started to read the code, I always assumed that the UTXO is only used for identification and verification of the MN and that the pubkey is only used for MN reward payments, leading to my assumption that a P2SH (for multi-sig) address would also work. Now that I read the code, it looks like the pubkey (and probably the private key?) is used for more stuff, but I'm absolutely not sure.
Maybe someone with deeper knowledge about the MN code can explain the use of the pubkey from the UTXO. It would help me alot to understand the code and probably give me ideas on how to proceed (maybe lift the limitation in some way?)