Roman Khimov
a8a6c8c13d
query: display zeroes for unknown addresses
...
This:
Voted: null
Amount : 0
Block: 0
is better than this:
failed to convert account state from stackitem: invalid stackitem length
2021-07-22 21:13:44 +03:00
Roman Khimov
fde3cce93d
cli/query: output key in voter data
...
People vote for keys, not addresses.
2021-07-22 21:13:44 +03:00
Roman Khimov
24ee8fab5c
cli: move wallet candidate getstate
into query voter
...
This command has nothing to do with wallets.
2021-07-22 21:13:44 +03:00
Roman Khimov
753e61bcff
cli/query: add 'candidates' and 'committee', fix #2067
2021-07-22 21:13:44 +03:00
Roman Khimov
b7bfaa6d09
cli/query: print addresses instead of script hashes
...
They're more familiar to users.
2021-07-21 18:49:58 +03:00
Roman Khimov
7fc3689b48
cli/query: provide better help messages
2021-07-21 18:26:58 +03:00
Roman Khimov
0415e6dc10
cli/query: use application log for vm state
...
C# node doesn't return VMState data, so it leads to "false" being printed for
successful transactions.
2021-07-21 18:25:10 +03:00
Evgeniy Stratonikov
7d2d9e96ef
cli: add query tx
command, fix #2069
...
Implement a way to check if tx has been persisted on blockchain and
to get general info about transaction. Much more convenient than
handwritten curl queries.
Signed-off-by: Evgeniy Stratonikov <evgeniy@nspcc.ru>
2021-07-20 18:03:50 +03:00