3

In Blog we read, that Government & NGO came together to sign the transaction, and in docs we read that transaction is invalid if it includes signatures that aren't needed to authorize the transaction and that a transaction envelope wraps a transaction with a set of signatures. But how does the multi-signing process is intended to happen practically?

Let's say I make a transaction that required my and friend's signature, I sign it and publish it. Does it fail because of missing signature? Is my friend notified through stellar that there's a transaction that requires his signature, thus "inviting" him to take a look at it? Can my enemy find it and sign it to deny me contracts? And in case of 20 signers? And in case someone doesn't sign, when does transaction fails? Can he not-sign it in a way to fail the transaction before set expiration time?

2 Answers 2

1

The coordination of the tx envelope before it has the right number of signers happens by some other channel. If you and your friend both need to sign for any tx from an account, you would sign it and then email or IM the tx_blob to your friend. Your friend would then add their signature to the tx_blob and submit.

If your enemy signs a tx you can simply remove your enemy's signature before submitting it to the network.

If someone doesn't sign then the server you submit the tx to will reject it immediately.

Source: Multisig and Simple Contracts

0

Can my enemy find it and sign it to deny me contracts?

Can your enemy find what and sign it?

Either the two transactions are the same or they're different. If they're different, it makes no difference what your enemy does, it's not your transaction. If they're the same, then your transaction must be signed by the enemy too, so why blame your enemy for something you also did?

Until the transaction is properly and perfectly signed, there is no valid transaction, and so absolutely nothing can happen.

And in case of 20 signers? And in case someone doesn't sign, when does transaction fails? Can he not-sign it in a way to fail the transaction before set expiration time?

Until all 20 people sign it, there is no valid transaction, period. Any attempt at submitting anything would fail every time someone attempted it. If he doesn't sign it, whatever transaction you have will fail. You can fail it as many times as you want, nothing will happen. Failure is a non-event -- nothing happens.

Until there is a valid transaction, all that will happen are failures. As soon as there is a valid transaction, it will succeed.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.