You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Egor Ivkov, [20.04.20 13:34]
@mtakemiya what should be the actions of a peer when it receives pending transactions as part of gossip between peers?

Kamil' Salakhiev, [20.04.20 13:38]
if transaction has less signatures than the size of the quorum, then we should put it into the pending transaction pool. In the pool we maintain the signatures of transactions, so that when some transaction collected enough signatures it is sent further into the pipeline (in case of Iroha 1 transaction was sent to ordering service)

Andrei Lebedev, [20.04.20 13:39]
However, size of the quorum is unknown when the transaction is received

Kamil' Salakhiev, [20.04.20 13:40]
yes, in Iroha1 quorum was put into transaction, but there were no way to check that given quorum is valid, right?

Andrei Lebedev, [20.04.20 13:40]
[In reply to Никита Пузанков]
Considering this approach, it may be better to try to process it until it becomes valid or expires

Andrei Lebedev, [20.04.20 13:41]
[In reply to Kamil' Salakhiev]
It is possible to check quorum if WSV is accessed

Kamil' Salakhiev, [20.04.20 13:42]
yes, so for MST transactions we kind of start stateful validation earlier?

Kamil' Salakhiev, [20.04.20 13:43]
although if WSV is in memory then there is no issue

Kamil' Salakhiev, [20.04.20 13:44]
so we don’t need to put quorum into transaction as it was in Iroha1

Makoto Takemiya 武宮誠 (Sora.org - Soramitsu), [20.04.20 14:45]
[In reply to Egor Ivkov]
It should validate the stateless data (format, signatures) and add it to their queue. One of these lucky peers will become the block creator and leader of consensus for the next block

Makoto Takemiya 武宮誠 (Sora.org - Soramitsu), [20.04.20 14:46]
It is probably okay to wait for multisig quorum check until later. The block creator can do that

Makoto Takemiya 武宮誠 (Sora.org - Soramitsu), [20.04.20 14:46]
Otherwise another approach is to create a pending multisig tx queue and put it in there

Makoto Takemiya 武宮誠 (Sora.org - Soramitsu), [20.04.20 14:47]
Either approach seems acceptable I think.

  • No labels