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
|
5fbb60a9ed
|
cli/wallet: request candidate registration price
Hardcoding 1000 is wrong. Inspired by neo-project/neo-node#788.
|
2021-07-21 12:26:35 +03:00 |
|
Roman Khimov
|
588f3fbbd3
|
state: drop State from NEOBalance and NEP17Balance
We're in the `state` package already.
|
2021-07-19 22:01:07 +03:00 |
|
Anna Shaleva
|
50296975e2
|
crypto: allow to provide non-default scrypt parameters
|
2021-06-11 15:22:28 +03:00 |
|
Anna Shaleva
|
c2b5459646
|
cli: add wallet candidate getstate
|
2021-05-31 11:18:59 +03:00 |
|
Anna Shaleva
|
9340a70aa8
|
cli: add description to vote command on how to unvote
|
2021-05-28 15:15:37 +03:00 |
|
Anna Shaleva
|
d98abd75d2
|
cli: refactor handleVote method
Reuse existing RPC client method for transaction sending.
|
2021-04-23 10:45:15 +03:00 |
|
Anna Shaleva
|
e43ab642d1
|
cli: refactor handleCandidate method
Reuse existing RPC client method for transaction sending.
|
2021-04-23 10:45:15 +03:00 |
|
Anna Shaleva
|
90b054afd0
|
cli: check address flag is set for validator-related commands
|
2021-04-16 12:41:02 +03:00 |
|
Roman Khimov
|
d314f82db3
|
transaction: drop Network from Transaction
We only need it when signing/verifying.
|
2021-03-26 13:45:18 +03:00 |
|
Anna Shaleva
|
6c0faa4ea3
|
rpc: provide cosigners accounts to CreateTxFromScript
We need to define network fee for each of cosigners, and the only way to
do it is to access the cosigner's script.
|
2021-03-04 10:37:35 +03:00 |
|
Anna Shaleva
|
b1b9a8cf66
|
rpc: refactor CreateTxFromScript signature
Make cosigners non-variadic.
|
2021-03-03 13:42:15 +03:00 |
|
Evgeniy Stratonikov
|
cbda20aca3
|
core: fix native method call flags
Replace `WriteStates` with `States`.
Follow neo-project/neo#2339.
Close #1775.
Related #1725.
|
2021-02-25 18:07:33 +03:00 |
|
Evgeniy Stratonikov
|
f6176b30f2
|
cli: support escape codes
|
2021-02-11 16:06:11 +03:00 |
|
Roman Khimov
|
476cbbebdc
|
native: make registering as a candidate cost more
Follow neo-project/neo#2252.
|
2021-01-21 23:02:59 +03:00 |
|
Evgenii Stratonikov
|
1c0c331e25
|
core: update System.Contract.Call syscall
1. Remove `System.Contract.CallEx`.
2. Extend number of parameters.
3. Add return value count to `VM.Context`.
|
2021-01-14 18:23:36 +03:00 |
|
Roman Khimov
|
cf8cf93e7a
|
native: change contract names, move them to separate package
Follow neo-project/neo#2138 and make RPC client's GetNativeContractHash
case-sensitive.
|
2020-12-14 15:24:15 +03:00 |
|
Anna Shaleva
|
2f9d64821f
|
cli: add ExitError where needed
|
2020-11-05 10:37:06 +03:00 |
|
Anna Shaleva
|
b8a88f9378
|
rpc: allow to use address, id or name instead of scripthash [Client]
... for getcontractstate RPC client method.
|
2020-11-03 17:58:24 +03:00 |
|
Evgenii Stratonikov
|
b2a3a0851e
|
emit: accept multiple opcodes in Opcode()
|
2020-10-06 18:03:25 +03:00 |
|
Evgenii Stratonikov
|
dff2ac1387
|
cli: add test for candidate register/unregister/vote
Also fix a bug with tx signing.
|
2020-09-18 12:07:02 +03:00 |
|
Evgenii Stratonikov
|
0dda247719
|
cli: move input handling to a separate package
|
2020-09-18 12:05:31 +03:00 |
|
Evgenii Stratonikov
|
911be78cc7
|
cli: use Writer from app instead of Stdout
It is useful in tests.
|
2020-09-18 12:05:31 +03:00 |
|
Evgenii Stratonikov
|
6bdaefcfa4
|
rpc/client: use CreateTxFromScript where possible
There is substantial overlap between `CreateTxFromScript` and
`SignAndPushInvocationTx`. This commit refactors both of them
to reuse common code.
|
2020-08-18 11:24:48 +03:00 |
|
Evgenii Stratonikov
|
78eade24a3
|
cli/wallet: decrypt account immediately
|
2020-08-12 16:54:59 +03:00 |
|
Evgenii Stratonikov
|
832ec5eaa0
|
cli: implement candidate (un)register
|
2020-08-12 16:54:59 +03:00 |
|
Evgenii Stratonikov
|
88e926fbc3
|
cli: move wallet vote to validator vote
|
2020-08-12 16:54:58 +03:00 |
|