-
Notifications
You must be signed in to change notification settings - Fork 145
Conversation
@Liaojinghui what do you think about this option? |
I think it is elegent to have this. If we have it at first place, then we might not have those DOS attacks at all. But, i am not sure how many overhead this will introduce. |
@neo-project/core should we finish this or ignore this? |
I think that with |
I don't think it'll be a big improvement after #514, it also affects performance and adds some unintuitive logic (from the VM user POV, it's hard to think about overall memory consumption, whiile it's easy to remember that you can only have |
Agree with Roman, we're going to drown in the VM constraints if introducing more of them. Existing constraints should be enough to restrict the overall memory consumption, and we can reduce MaxStackSize or MaxMaxItemSize in future if needed. |
So @shargon, we will not merge this pr then. |
Alternative to #512