Commit graph

20 commits

Author SHA1 Message Date
Roman Khimov
43a59adbd0 rpc/server: move to services/rpcsrv
`server` is not a good package name and it's an internal service, so it can be
just about anywhere.
2022-07-21 22:14:12 +03:00
Roman Khimov
c2b3ee3d8e core: move basic chain creation into a package of its own
This allows to reuse it across different packages.

testchain can't be used because of circular dependencies.

Init() is not changed except for filepath.Join() use instead of direct string
appends which is a better approach anyway. rootpath is required because
current directory will change from package to package.
2022-06-08 15:25:27 +03:00
Evgeniy Stratonikov
3f65473f64 vm: add some Fuzz tests
Both `IsScriptCorrect` and `VM.Run` should never panic.

Signed-off-by: Evgeniy Stratonikov <evgeniy@nspcc.ru>
2022-03-18 16:13:39 +03:00
Evgeniy Stratonikov
233fca0c1e neotest: add contract testing framework
Signed-off-by: Evgeniy Stratonikov <evgeniy@nspcc.ru>
2021-11-11 11:15:14 +03:00
Roman Khimov
48313d4f79 .gitignore: add compiler outputs in example dir 2021-04-06 22:50:42 +03:00
Roman Khimov
4284eaf4ab gitignore: don't ignore blockchain(s) directories
It interferes with interop/blockchain and it's not a default directory for
chain DBs.
2020-05-26 19:55:35 +03:00
Roman Khimov
852e6a335b compiler: move it up from vm
It really deserves it, I think. Especially given that it doesn't have any
direct usage of `vm` package now.
2019-12-03 18:23:46 +03:00
Roman Khimov
8de080f6ec Makefile: add some convenience targets
Tiny wrappers to quickly do things needed. Some of them are not that simple to
type into the CLI manually every time.
2019-09-09 12:02:24 +03:00
Roman Khimov
beec8f114a Merge branch 'dev-prepared-for-master' into mastev
See #283 for details. This just makes the `dev` code available in the `master`
branch without any attempt to make it really do something.
2019-08-20 18:44:09 +03:00
Jeroen Peeters
b3037cd598 Token Example (CityOfZion/neo-storm#12)
* feat: add token example

* feat: code splitted package

* feat: use updated apis

Imported from CityOfZion/neo-storm (e2bab450d7355b559ae2d70a87f557e8a6dbfff6).
2019-08-14 19:14:05 +03:00
Roman Khimov
5f3256d0e0 .gitignore: add *.(orig|rej) 2019-08-14 15:05:54 +03:00
Roman Khimov
2949c3bd9d .gitignore: add db directory
Where the node stores its stuff.
2019-08-12 19:42:26 +03:00
Roman Khimov
b3d6740a77 .gitignore: add some standard ignore files 2019-08-12 19:25:32 +03:00
Pedro Miguel Domingos da Costa
83e467e527 ignore Goland and bump version (#59) 2018-04-02 18:49:14 +02:00
Anthony De Meulemeester
aa4bc1b6e8
Node improvements (#47)
* block partial persist

* replaced refactored files with old one.

* removed gokit/log from deps

* Tweaks to not overburden remote nodes with getheaders/getblocks

* Changed Transporter interface to not take the server as argument due to a cause of race warning from the compiler

* started server test suite

* more test + return errors from message handlers

* removed --race from build

* Little improvements.
2018-03-14 10:36:59 +01:00
Anthony De Meulemeester
2345858238
Compiler update (basic sc ready) (#31)
* refactored structs, the scope is not needed anymore + fix passing struct in func arguments.

* implemented byte arrays and added runtime tests

* Added sc examples in compiler README + added quick nested if test.

* Updated README
2018-02-27 10:04:24 +01:00
Pawan Rawal
bebdabab9f Replace glide with godep (#27) 2018-02-24 08:23:02 +01:00
Anthony De Meulemeester
d38e3290ed
added .vscode to the gitignore (#15)
Added .vscode to the gitignore.
2018-02-04 21:05:47 +01:00
Charlie Revett
36335e587f
Simplify CLI build process (#7) 2018-02-01 10:06:17 -08:00
Charlie Revett
5b9578db5d
Repo Setup (#6) 2018-02-01 09:40:04 -08:00