Evgenii Stratonikov
7179e4ba9f
util: add LE suffix to Uint256 methods
2019-12-06 12:16:55 +03:00
Evgenii Stratonikov
57efad912c
util: add LE suffix to Uint160 methods
2019-12-06 12:16:55 +03:00
Roman Khimov
d04bc0cbe3
rpc: add marshaler for StackParamType
...
Makes stack output look better, no one cares about numbers.
2019-11-27 13:00:11 +03:00
Roman Khimov
7d89ccdb6f
rpc: implement YAML marshaling/unmarshaling for StackParamType
2019-11-20 16:12:40 +03:00
Vsevolod Brekelov
8ee421db14
fix spelling and godoc comments
2019-10-22 17:56:03 +03:00
Roman Khimov
a9b9c9226d
*: add/fix godoc comments to satisfy golint
...
Fixes things like:
* exported type/method/function X should have comment or be unexported
* comment on exported type/method/function X should be of the form "X ..."
(with optional leading article)
Refs. #213 .
2019-09-03 17:57:51 +03:00
Roman Khimov
d5d570f793
uint256: add Reverse(), change String() to be BE
...
This one makes a little more obvious that we're operating with LE
representations mostly. Refs. #307 . See #314 also.
2019-08-26 13:32:19 +03:00
Anastasia Prasolova
a058598ecc
Parse stack params ( #119 )
...
* small fixes
* gofmt
* bytearray parsing
* tests
* removed unnecessary files
* added more types for bytearray
* iter
* made TryParseArray parameter variadic
* fixes after review
* fix after review
* misprints
* updated array reverse
* imports/fmt
* naming
2019-02-05 13:22:10 +01:00
Evgeniy Kulikov
f000b76879
[FIX] Formatting and code-style ( #118 )
...
* [FIX] Formatting and code-style
- gofmt
- import resort
- prealloc slices
- simplify code
* fix vet
2019-01-25 12:20:35 +01:00
df2e9f68ef
Add StackParam JSON Unmarshaler ( #116 )
2019-01-22 13:15:04 +01:00