Replies: 1 comment
-
|
On the daily meeting, we came out with an idea to first make an unverified block/tx concrete type under the |
Beta Was this translation helpful? Give feedback.
-
|
On the daily meeting, we came out with an idea to first make an unverified block/tx concrete type under the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
As I've been working with indexing, I often found it inefficient to deal with
Block<T>andTransaction<T>, as they need to be instantiated withIActiontypes, and as of now they are cryptographically verified during instantiation. This causes a lot of overhead when we have to deal with a large number of these instances even where a full instantiation is not required (when evaluation is not required.) RecentlyITransactionis added, and usingTransaction<T>asITransactionmakes it a bit more efficient when dealing with these stuff. However, there is still no way of instantiating an unverifiedITransactioninstance, nor there is a concrete subtype ofITransaction. Thus, I suggest that we bringUntypedBlock/UntypedTransactionto Libplanet main project and createIStoremethods to retrieve unverified blocks/txs.Beta Was this translation helpful? Give feedback.
All reactions