|
|
@ -17,6 +17,7 @@ var Routes = map[string]*rpc.RPCFunc{ |
|
|
|
"dump_consensus_state": rpc.NewRPCFunc(DumpConsensusState, []string{}), |
|
|
|
"dump_storage": rpc.NewRPCFunc(DumpStorage, []string{"address"}), |
|
|
|
"broadcast_tx": rpc.NewRPCFunc(BroadcastTx, []string{"tx"}), |
|
|
|
"list_unconfirmed_txs": rpc.NewRPCFunc(ListUnconfirmedTxs, []string{}), |
|
|
|
"list_accounts": rpc.NewRPCFunc(ListAccounts, []string{}), |
|
|
|
"unsafe/gen_priv_account": rpc.NewRPCFunc(GenPrivAccount, []string{}), |
|
|
|
"unsafe/sign_tx": rpc.NewRPCFunc(SignTx, []string{"tx", "privAccounts"}), |
|
|
|