Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Result of computation in the transaction field #4346

Closed
ghost opened this issue Oct 1, 2019 · 1 comment
Closed

Result of computation in the transaction field #4346

ghost opened this issue Oct 1, 2019 · 1 comment
Assignees

Comments

@ghost
Copy link

ghost commented Oct 1, 2019

Description

Ability to store results in the asset field of transaction, without invalidating signature check of base transaction.

Motivation

There are use-cases where it would be beneficial to store result of computation directly in, let's say asset_results field, which would not be part of transaction body verification.

At this moment, anything set to the asset property of transaction will result in verification issue. Workaround for this, is to store, something like transaction_results in account asset and allocate objects to tx_id key, however I'm not sure that would be efficient with thousands of transactions.

@shuse2
Copy link
Collaborator

shuse2 commented Apr 22, 2020

Closing because transaction are not part of the state, and it should be immutable during the block processing.
However, we will most likely provide the interface to store custom state from transaction

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants