Makoto Takemiya 武宮誠 (Sora.org - Soramitsu), [16.03.20 10:57]
I also don’t think rejected transactions should be in a block. Is there a good reason to have them there?
Andrei Lebedev, [16.03.20 11:01]
[In reply to Makoto Takemiya 武宮誠 (Sora.org - Soramitsu)]
Otherwise it is possible to replay a rejected transaction, and it may be committed, e.g. when someone got enough assets after some time if there were no assets when the transaction was initially rejected
Никита Пузанков, [16.03.20 11:01]
I didn't catch that
Makoto Takemiya 武宮誠 (Sora.org - Soramitsu), [16.03.20 11:01]
[In reply to Andrei Lebedev]
I see
Makoto Takemiya 武宮誠 (Sora.org - Soramitsu), [16.03.20 11:01]
Unfortunately it also has the problem of filling up the blockchain
Makoto Takemiya 武宮誠 (Sora.org - Soramitsu), [16.03.20 11:01]
Potentially for free
Makoto Takemiya 武宮誠 (Sora.org - Soramitsu), [16.03.20 11:02]
If this was in bitcoin, for instance, one person could add petabytes of transactions for free and no one would be able to use it. Sora faces this potential problem and actually so does bakong, etc
Andrei Lebedev, [16.03.20 11:03]
I wonder how this problem is solved in other networks. Because your concern is valid, and it should be already solved somehow.
Makoto Takemiya 武宮誠 (Sora.org - Soramitsu), [16.03.20 11:03]
hmm
Makoto Takemiya 武宮誠 (Sora.org - Soramitsu), [16.03.20 11:04]
I think it isn’t solved. I think if something is replayed, you can just pay twice (assuming you created a new transaction)
Makoto Takemiya 武宮誠 (Sora.org - Soramitsu), [16.03.20 11:05]
In NEM we had a timestamp with each tx and there’s a threshold required. I forget the number, but if a tx was, say, 3 hours old, it would be ignored
Makoto Takemiya 武宮誠 (Sora.org - Soramitsu), [16.03.20 11:05]
I think we can do this in Iroha2
Makoto Takemiya 武宮誠 (Sora.org - Soramitsu), [16.03.20 11:05]
I haven’t said all my plans yet, but I want to incorporate something like a network time service, like NEM had
Andrei Lebedev, [16.03.20 11:05]
The same thing is also present in Iroha. But it is quite possible to do this spending attack in a short timeframe
Makoto Takemiya 武宮誠 (Sora.org - Soramitsu), [16.03.20 11:05]
That way nodes can try to reject transactions that are outside the time
Makoto Takemiya 武宮誠 (Sora.org - Soramitsu), [16.03.20 11:06]
[In reply to Andrei Lebedev]
Sure, but it is not our problem, but the sender’s :)
Никита Пузанков, [16.03.20 11:06]
[In reply to Makoto Takemiya 武宮誠 (Sora.org - Soramitsu)]
that what I was talking about with concept of TTL for tx processing
Makoto Takemiya 武宮誠 (Sora.org - Soramitsu), [16.03.20 11:06]
[In reply to Никита Пузанков]
What do you mean?
Никита Пузанков, [16.03.20 11:06]
like a usual packets on internet - Time to Live
Makoto Takemiya 武宮誠 (Sora.org - Soramitsu), [16.03.20 11:06]
ah
Makoto Takemiya 武宮誠 (Sora.org - Soramitsu), [16.03.20 11:06]
yes
Makoto Takemiya 武宮誠 (Sora.org - Soramitsu), [16.03.20 11:07]
For example, it could be like 10 minutes or something configurable
Makoto Takemiya 武宮誠 (Sora.org - Soramitsu), [16.03.20 11:07]
I think this is the best way