|
@ -18,7 +18,7 @@ var Routes = map[string]*rpc.RPCFunc{ |
|
|
"block": rpc.NewRPCFunc(Block, "height"), |
|
|
"block": rpc.NewRPCFunc(Block, "height"), |
|
|
"commit": rpc.NewRPCFunc(Commit, "height"), |
|
|
"commit": rpc.NewRPCFunc(Commit, "height"), |
|
|
"tx": rpc.NewRPCFunc(Tx, "hash,prove"), |
|
|
"tx": rpc.NewRPCFunc(Tx, "hash,prove"), |
|
|
"validators": rpc.NewRPCFunc(Validators, ""), |
|
|
|
|
|
|
|
|
"validators": rpc.NewRPCFunc(Validators, "height"), |
|
|
"dump_consensus_state": rpc.NewRPCFunc(DumpConsensusState, ""), |
|
|
"dump_consensus_state": rpc.NewRPCFunc(DumpConsensusState, ""), |
|
|
"unconfirmed_txs": rpc.NewRPCFunc(UnconfirmedTxs, ""), |
|
|
"unconfirmed_txs": rpc.NewRPCFunc(UnconfirmedTxs, ""), |
|
|
"num_unconfirmed_txs": rpc.NewRPCFunc(NumUnconfirmedTxs, ""), |
|
|
"num_unconfirmed_txs": rpc.NewRPCFunc(NumUnconfirmedTxs, ""), |
|
|