Evgeniy Stratonikov
|
db4e7558e0
|
native: cache all roles in Designate
|
2021-01-28 17:09:05 +03:00 |
|
Evgenii Stratonikov
|
1c0c331e25
|
core: update System.Contract.Call syscall
1. Remove `System.Contract.CallEx`.
2. Extend number of parameters.
3. Add return value count to `VM.Context`.
|
2021-01-14 18:23:36 +03:00 |
|
Roman Khimov
|
cb5ecaefe7
|
native: drop OnPersistEnd
Now that PostPersist is being run for every native contract we can do our
dirty caching tricks right there instead of OnPersistEnd.
|
2020-12-14 15:24:15 +03:00 |
|
Anna Shaleva
|
9faa63453c
|
core: refactore some tests
They have a lot of common code.
|
2020-11-25 18:37:29 +03:00 |
|
Anna Shaleva
|
b00eb51c55
|
core: add P2PNotary designated role
|
2020-11-24 18:47:09 +03:00 |
|
Evgenii Stratonikov
|
67f26859a8
|
scripts: implement script for creating dumps
This is useful for creating dumps providing various load
to benchmark restore or check compatibility with C# nodes.
Related #1472.
|
2020-11-24 16:47:33 +03:00 |
|
Evgenii Stratonikov
|
7d91a3a89e
|
pkg: move internal/ package to the root directory
This way we can use it in scripts and cli.
|
2020-11-24 16:39:56 +03:00 |
|
Evgenii Stratonikov
|
1869d6d460
|
core: allow to use state root in header
|
2020-11-20 17:16:32 +03:00 |
|
Anna Shaleva
|
7ca93e76ac
|
core, rpc: allow to store several AppExecResult for a single hash
It is required for we have several executions per block.
|
2020-11-12 16:24:39 +03:00 |
|
Roman Khimov
|
9e781bff47
|
native: implement designate contract history retention
Follow neo-project/neo#2007. Fix getDesignatedByRole price along the way.
|
2020-11-06 13:46:40 +03:00 |
|
Roman Khimov
|
eaa260474f
|
trigger/core: split System trigger into OnPerist and PostPersist
Follow neo-project/neo#2022.
|
2020-10-29 19:17:07 +03:00 |
|
Roman Khimov
|
2924ecd453
|
core: use ic.SpawnVM() in tests, not vm.New()
vm.New() sets some arbitrary trigger while interop context always sets
something appropriate according to its state.
|
2020-10-29 19:17:07 +03:00 |
|
Anna Shaleva
|
7c232e2ddc
|
core: add max nodes count restriction to designate contract
|
2020-10-22 11:32:02 +03:00 |
|
Evgenii Stratonikov
|
b2a3a0851e
|
emit: accept multiple opcodes in Opcode()
|
2020-10-06 18:03:25 +03:00 |
|
Roman Khimov
|
15e459feea
|
core: fix designate test
Merge conflict between #1450 and #1451.
|
2020-10-02 16:23:48 +03:00 |
|
Evgenii Stratonikov
|
c468c02ef5
|
native: implement Designate contract
|
2020-10-02 11:03:25 +03:00 |
|