Roman Khimov
ddd1d92ff1
pkg: hide it by moving to _pkg.dev
...
The idea here is to preserve the history of `dev` branch development and its
code when merging with the `master`. Later this code could be moved into the
masters code where appropriate.
2019-08-20 18:39:50 +03:00
Roman Khimov
4e40467dc3
pkg/vm/stack: fix S1008 gosimple warning from GolangCI
...
S1008: should use 'return ' instead of 'if { return }; return ' (from gosimple)
2019-08-12 18:05:04 +03:00
Roman Khimov
03939bb8ba
Merge branch 'vm' into dauTT/vm-bitwise-opcodes-191
2019-08-12 12:21:52 +03:00
Roman Khimov
eeecbf96bf
Merge branch 'vm' into dauTT/vm-implement-Map-Struct-167
2019-08-12 12:11:29 +03:00
DauTT
de1c4e01a1
Implemented bitwise opcodes:
...
1) AND
2) XOR
3) OR
4) INVERT
2019-04-04 00:34:21 +02:00
dauTT
6d2fb5d89f
Merge branch 'vm' into dauTT/vm-implement-MIN-MAX-WITHIN-opcodes-230
2019-04-03 20:36:54 +02:00
dauTT
045db09af2
Implemented LTE, GTE opcode ( #260 )
...
* Implemented LTE, GTE opcode
2019-04-02 23:43:52 +01:00
DauTT
c6cd0e0c21
Implemented Map Stack Item:
...
1) Added new file map.go, map_test.go
2) Added Map, Hash Method to Item interface
3) Implemented Hash Method for every stack items (Boolean, Array, Int, ...)
2019-04-02 22:38:41 +02:00
dauTT
9402540c3a
Implemented LT, GT opcode ( #259 )
...
* Implemented LT, GT opcode
2019-03-29 19:35:16 +00:00
DauTT
d818c16297
Implemented MIN, MAX WITHIN opcode
2019-03-29 17:43:16 +01:00
dauTT
84b4b41288
Implemented DIV, MOD opcode ( #237 )
2019-03-28 20:32:32 +00:00
dauTT
afe670f178
VM: Implement, ABS, NOT opcode ( #233 )
...
* Implemented, ABS, NOT opcode
2019-03-28 19:26:55 +00:00
BlockChainDev
48413900ca
remove error on NewBoolean
...
Expose underlying with Getter on Boolean StackItem
Add Equals method for ByteArray
2019-03-16 21:44:03 +00:00
BlockChainDev
f954e6f2ca
Add Invocation stack - convenience RAS
2019-03-15 22:33:32 +00:00
BlockChainDev
04c56b514c
Refactor Int, Boolean, ByteArray conversion
2019-03-15 22:30:25 +00:00
BlockChainDev
da0a56f922
Add conversions for bytearray and Int stack items
2019-02-27 22:41:46 +00:00
BlockChainDev
64491a4d83
VM: Add Sub, Mul, Mod LSH, RSH
2019-02-27 21:38:11 +00:00
BlockChainDev
d8d27761ae
VM: Add stackItems; Array, Boolean, Int and ByteArray
2019-02-27 20:55:48 +00:00