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.
-
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 withIAction
types, 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.) RecentlyITransaction
is added, and usingTransaction<T>
asITransaction
makes it a bit more efficient when dealing with these stuff. However, there is still no way of instantiating an unverifiedITransaction
instance, nor there is a concrete subtype ofITransaction
. Thus, I suggest that we bringUntypedBlock
/UntypedTransaction
to Libplanet main project and createIStore
methods to retrieve unverified blocks/txs.Beta Was this translation helpful? Give feedback.
All reactions