Anna Shaleva
|
8965441288
|
core: rebase core tests onto neotest
|
2022-03-30 19:00:53 +03:00 |
|
Anna Shaleva
|
4a74c117ee
|
*: refactor TestCreateBasicChain and its dependencies
Close #2355
|
2022-03-30 11:32:26 +03:00 |
|
Roman Khimov
|
ddb23ccf78
|
core: shrink blockchainer.StateRoot further, leave simple RO methods
|
2022-01-14 19:57:16 +03:00 |
|
Roman Khimov
|
5dd4db2c02
|
network/services: unify service lifecycle management
Run with Start, Stop with Shutdown, make behavior uniform.
|
2022-01-14 19:53:45 +03:00 |
|
AnnaShaleva
|
aefb6f9fee
|
*: fix tests failing due to path.Join usage
Solution:
Use `file/filepath` package to construct expected path. This package is OS-aware, see https://github.com/golang/go/issues/30616.
|
2021-11-29 11:11:09 +03:00 |
|
Roman Khimov
|
6d074a96e9
|
*: make tests use TempDir(), fix #1319
Simplify things, drop TempFile at the same time (refs. #1764)
|
2021-08-26 17:29:40 +03:00 |
|
Roman Khimov
|
0583f252ab
|
*: create real temporary dirs and files in tests
Improve reliability.
|
2021-07-20 12:51:11 +03:00 |
|
Anna Shaleva
|
50296975e2
|
crypto: allow to provide non-default scrypt parameters
|
2021-06-11 15:22:28 +03:00 |
|
Roman Khimov
|
4cd3da99b4
|
core: fix ineffassign warning in test code
ineffectual assignment to err (ineffassign)
|
2021-05-12 19:37:14 +03:00 |
|
Roman Khimov
|
3d49f7d99a
|
stateroot: only send stateroot message once per validators count
Actually fix #1922.
|
2021-05-07 14:31:20 +03:00 |
|
Roman Khimov
|
a01636a1b0
|
stateroot: set networking callback in a more straightforward way
|
2021-04-02 12:12:36 +03:00 |
|
Roman Khimov
|
5f7ec6e784
|
state: fix MPTRoot JSONization
Match C# implementation. It's easier to do this by changing the structure
itself.
|
2021-03-26 13:45:18 +03:00 |
|
Roman Khimov
|
8c110a6147
|
state: drop Network from MPTRoot structure
It's only needed to verify/sign.
|
2021-03-26 13:45:18 +03:00 |
|
Roman Khimov
|
0248e2c0d2
|
state: add network to MPTRoot, change hashing
Fix RC1 incompatibility.
|
2021-03-25 22:37:30 +03:00 |
|
Anna Shaleva
|
681bd89cc7
|
core: move native node roles to a separate pkg
We need this to avoid `native` dependency in the RPC client.
|
2021-03-23 13:56:34 +03:00 |
|
Evgeniy Stratonikov
|
2f3abf95a2
|
stateroot: broadcast state on new blocks
|
2021-03-09 13:51:11 +03:00 |
|
Evgeniy Stratonikov
|
3c65ed1507
|
stateroot: allow to sign new roots
|
2021-03-09 13:51:11 +03:00 |
|
Evgeniy Stratonikov
|
ac227a80fe
|
stateroot: use RoleStateValidator for verification
|
2021-03-09 13:51:10 +03:00 |
|