iotexproject / iotexproject/iotex-core
[action] Validate actions in batch
Open
enhancement
- Dominant language
- Go
- Stars
- 1.6k
- Forks
- 382
- Avg merge
- 4d 22h
- Merged PRs (30d)
- 17
Description
### What would you like to be added
`GenericValidator.Validate(ctx context.Context, selp action.SealedEnvelope)` could be replaced with `GenericValidator.Validate(ctx context.Context, selps action.SealedEnvelope...)`
### Why is this needed
1. Sig verification could be done in parallel
2. StateReader.States() could be used to reduce i/o
### How important you think this is for IoTeX
- [] must have
- [] should have
- [] nice to have
### Additional information
Let us know any background or context that would help us better understand the request (for example the particular use-case that prompted this request)
Contributor guide
Assessment
This issue has not been assessed yet.