mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-23 17:51:39 +00:00
start writing rpc
This commit is contained in:
14
rpc/blocks.go
Normal file
14
rpc/blocks.go
Normal file
@ -0,0 +1,14 @@
|
||||
// Maybe move this to blocks/handler.go
|
||||
package rpc
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
//. "github.com/tendermint/tendermint/blocks"
|
||||
)
|
||||
|
||||
func BlockHandler(w http.ResponseWriter, r *http.Request) {
|
||||
//height, _ := GetParamUint64Safe(r, "height")
|
||||
//count, _ := GetParamUint64Safe(r, "count")
|
||||
|
||||
ReturnJSON(API_OK, "hello")
|
||||
}
|
Reference in New Issue
Block a user