-
Notifications
You must be signed in to change notification settings - Fork 224
Conversation
751357e
to
8ebb90c
Compare
8ebb90c
to
924e4d8
Compare
@Thacryba I think the second function is very useful. However, it hasn't decompile tx compeletely. So op codes haven't be recognized yet. And since the json output can be very long in cli, I think it's more suitable to be made into rpcserver plugin and the first one and the third one are already existed. I recommend to improve the second one and made txid as a param in RPC. |
/// <param name="contractHash"></param> | ||
/// <returns></returns> | ||
[ConsoleCommand("show contract", Category = "Show Commands")] | ||
private void OnShowContract(string contractHash) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps this could be on the Plugin and also be called through RPC.
/// <param name="desiredCount"></param> | ||
/// <returns></returns> | ||
[ConsoleCommand("show last-transactions", Category = "Show Commands")] | ||
private void OnShowLastTransactions(uint desiredCount) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps this could be on the Plugin and also be called through RPC.
This is an update from #455 and complementing #535.
Some changes were made:
Adding the command show last-block:
Adding the block index on show last-transactions:
Changing the time format in show block:
It can be merged after #536.