Commit graph

828 commits

Author SHA1 Message Date
Anthony De Meulemeester
b6b8542caf
Compiler (#37)
* refactored structs so 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

* Changed import paths to interop layer
2018-03-02 16:49:10 +01:00
Anthony De Meulemeester
16ab1d524f
Wallet (#36)
* deleted public_key file

* bumped version
2018-03-02 16:35:20 +01:00
Anthony De Meulemeester
f3f6662fc9
Base wallet implementation (#35)
* Initial draft of the neo-go wallet

* Cleanup + more test for util package

* integrated wallet into neo-cli partially

* base wallet implementation + smartcontract code.
2018-03-02 16:24:09 +01:00
Anthony De Meulemeester
942650dd8b
Fixed typo in README (#33)
* Fix typo in readme file

* bumped version
2018-02-28 20:45:54 +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
Anthony De Meulemeester
de3395fb51
Refactor of imports + lots of sweet stuff (#30)
* implemented global variables.

* refactored imports + lots and lots of other sweet stuff + fix #28.

* Implemented the VM interop runtime API (GetTrigger, CheckWitness, ...)
2018-02-25 13:26:56 +01:00
Anthony De Meulemeester
63bc244163
Updated readme in compiler folder + bumped version to match latest tag. (#29)
* Updated readme in compiler folder + bumped version to match latest tag.
2018-02-24 10:19:15 +01:00
Pawan Rawal
e93dfe8062 Better error messages (#24)
* Print proper error messages while using contract subcommands and also exit with status code 1.

* Make -in a flag, also remove dot from avm extension.

* Work on feedback by Anthony.

* Update README and VERSION
2018-02-24 10:10:45 +01:00
Anthony De Meulemeester
23cfebf621
Compiler (#23)
* implemented add, mul, div, sub assign for identifiers.

* Implemented struct field initialization.

* Implemented imports

* Implemented storage VM API (interop layer) + additional bug fixes when encountered.

* Bumped version 0.12.0

* fixed double point extension on compiled output file.

* Fixed bug where callExpr in returns where added to voidCall

* fixed binExpr compare equal

* Check the env for the gopath first

* removed travis.yml

* custom types + implemented general declarations.

* commented out the storage test to make the build pass
2018-02-24 10:06:48 +01:00
Pawan Rawal
bebdabab9f Replace glide with godep (#27) 2018-02-24 08:23:02 +01:00
Anthony De Meulemeester
8fe079ec8e
Update compiler (#22)
* refactor to use ast.Walk for recursive converting
* added lots of test cases
* added a new way to handle jump labels
* function calls with multiple arguments
* binary expression (LOR LAND)
* struct types + method receives
* cleaner opcode dumps, side by side diff for debugging test cases
2018-02-19 10:24:28 +01:00
Anthony De Meulemeester
b257a06f3e
Compiler update (#21)
* added seperate folders for cmd packages.

* Fix netmodes in test + reverse bigint bytes

* glide get deps

* add, sub, mul, div

* booleans

* strings

* binary expressions

* if statements

* function calls

* composite literals (slice, array)

* Added lots of test cases and update readme.
2018-02-15 16:35:49 +01:00
Anthony De Meulemeester
f7d57e4e49
VM draft + cli setup (#20)
* updated readme

* added basic cmd.

* added seperate folders for cmd packages.

* Fix netmodes in test + reverse bigint bytes

* glide get deps
2018-02-09 17:08:50 +01:00
Anthony De Meulemeester
b6d8271b8d
Fixed header sync issue (#17)
* headers can now sync till infinity

* fixed empty hashStop getBlock payload + test

* added more test + more binary decoding/encoding

* bump version
2018-02-07 15:16:50 +01:00
Anthony De Meulemeester
046494dd68
Implemented processing headers + added leveldb as a dependency. (#16)
* Implemented processing headers + added leveldb as a dependency.

* version 0.7.0

* put glide get and install in build_cli section
2018-02-06 07:43:32 +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
Anthony De Meulemeester
628656483a
bug fixes (TCP + uint256) and started core part (#14)
* Fixed TCP read + Uint256 reversed array + started on some core pieces

* Disabled some debug output + muted test

* 0.5.0
2018-02-04 20:54:51 +01:00
Charlie Revett
5aed624f1d
Release documentation (#13) 2018-02-02 19:04:56 +00:00
Anthony De Meulemeester
6e3f1ec43e
Refactor tcp transport (#11)
* refactored tcp transport

* return errors on outgoing messages

* TCP transport should report its error after reading from connection

* handle error returned from peer transport

* bump version

* cleaned up error
2018-02-02 11:02:25 +01:00
anthdm
4050dbeeb8 Merge branch 'master' of https://github.com/CityOfZion/neo-go 2018-02-01 21:30:06 +01:00
Anthony De Meulemeester
66c8fc8012
merge original into coz repo (#10)
merged with the original repo.
2018-02-01 21:28:45 +01:00
Charlie Revett
dd94086a22
CircleCI 2 & Releases (#9) 2018-02-01 10:54:23 -08:00
Charlie Revett
0032efcc3b
Update README.md 2018-02-01 18:08:54 +00:00
Charlie Revett
36335e587f
Simplify CLI build process (#7) 2018-02-01 10:06:17 -08:00
Charlie Revett
a95ce31176
Separate TransactionType to new file (#8) 2018-02-01 10:05:56 -08:00
Charlie Revett
5b9578db5d
Repo Setup (#6) 2018-02-01 09:40:04 -08:00
Anthony De Meulemeester
9f7e2083e1
Finished version + verack. 2018-02-01 15:16:59 +01:00
anthdm
3b91a4808e making equal branches 2018-02-01 15:08:49 +01:00
anthdm
b416a51db7 tweaked TCP transport + finished version + verack. 2018-02-01 14:53:49 +01:00
anthdm
63072ebe75 Added getheaders payload + abstracted the fields. 2018-02-01 10:56:33 +01:00
anthdm
04e9060484 Added GetBlocks payload 2018-02-01 10:25:34 +01:00
Anthony De Meulemeester
83306a5c96
Added the start of RPC + removed proxy functions.
* Set the listener of the server when opened.

* refactor server RPC.

* deleted proxy functions + moved TCPPeer to tcp file

* implemented the start of JSON-RPC

* changed string port args to int

* added peerCount.

* Start a server with startOpts

* Updated README
2018-02-01 09:00:42 +01:00
anthdm
c9ceb231da Merge branch 'anthdm-master' 2018-02-01 08:57:49 +01:00
anthdm
13bd9c6147 Merge branch 'anthdm-master' 2018-02-01 08:52:29 +01:00
Anthony De Meulemeester
247514a502
Merge branch 'master' into master 2018-02-01 08:43:16 +01:00
anthdm
22d3572e12 Updated README 2018-02-01 08:19:52 +01:00
anthdm
8c33392ff6 Start a server with startOpts 2018-02-01 08:19:44 +01:00
anthdm
0e22ae09bd added peerCount. 2018-02-01 08:19:29 +01:00
anthdm
45ac0d237a changed string port args to int 2018-02-01 08:19:12 +01:00
anthdm
572bd813cd implemented the start of JSON-RPC 2018-02-01 08:18:38 +01:00
anthdm
626a82b93e deleted proxy functions + moved TCPPeer to tcp file 2018-01-31 22:14:13 +01:00
anthdm
0eeb15f62d refactor server RPC. 2018-01-31 20:47:20 +01:00
anthdm
283f3c5a89 Set the listener of the server when opened. 2018-01-31 20:47:20 +01:00
anthdm
861882ff83 refactor server RPC. 2018-01-31 20:11:08 +01:00
anthdm
9dc30bb9e8 Set the listener of the server when opened. 2018-01-31 14:32:57 +01:00
Anthony De Meulemeester
1ba6605f38
Merge pull request #1 from anthdm/master
Updated README and LICENSE according to other COZ repo’s.
2018-01-31 13:57:37 +01:00
anthdm
dd300b24fc Updated README and LICENSE according to other COZ repo’s. 2018-01-31 13:50:11 +01:00
anthdm
c4cda8692c updated readme 2018-01-31 12:51:02 +01:00
anthdm
c54a4f20bf Added contributing 2018-01-31 11:58:28 +01:00
anthdm
8f822d2d30 Added contact details to README 2018-01-31 11:58:19 +01:00