mirror of
https://github.com/fluencelabs/tendermint
synced 2025-05-28 21:51:22 +00:00
16 lines
441 B
Go
16 lines
441 B
Go
package rpc
|
|
|
|
import (
|
|
"net/http"
|
|
)
|
|
|
|
func initHandlers() {
|
|
http.HandleFunc("/blockchain", BlockchainInfoHandler)
|
|
http.HandleFunc("/block", BlockHandler)
|
|
http.HandleFunc("/broadcast_tx", BroadcastTxHandler)
|
|
http.HandleFunc("/gen_priv_account", GenPrivAccountHandler)
|
|
http.HandleFunc("/sign_send_tx", SignSendTxHandler)
|
|
http.HandleFunc("/list_accounts", ListAccountsHandler)
|
|
http.HandleFunc("/list_validators", ListValidatorsHandler)
|
|
}
|