钱包打开之后
display_easymenu_post_open_command
// handle menu if a wallet is currently opened
菜单展示,不涉及功能。
handle_easymenu_post_open_command
// this handles all the commands if wallet in menu mode and a wallet is opened
核心。
根据用户在命令行里不同的选择,做出不同处理。
1、Wallet address
2、give user his seed
3、give user his keys in hex form
4、display user keys to create view only wallet
5、building Transaction *
6、网络开关
7、change password
8、close and discard user key
9、enable prompt mode
0、bye,exit,quit
11、rescan_bc
12、Transfer_Everything
13、show_transfers
14、Get_Balance_Rescan
build_relay_transaction
进行转账操作!
// handles the output after building tx, takes feedback, confirms or relays tx
collect_transfer_info
// collects inputs from user to send some dero
实际上没有用到。