mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-01-19 14:45:23 +01:00
21 lines
710 B
YAML
21 lines
710 B
YAML
|
type: google.api.Service
|
||
|
config_version: 3
|
||
|
|
||
|
http:
|
||
|
rules:
|
||
|
- selector: neutrinorpc.NeutrinoKit.Status
|
||
|
get: "/v2/neutrino/status"
|
||
|
- selector: neutrinorpc.NeutrinoKit.AddPeer
|
||
|
post: "/v2/neutrino/addpeer"
|
||
|
body: "*"
|
||
|
- selector: neutrinorpc.NeutrinoKit.DisconnectPeer
|
||
|
post: "/v2/neutrino/disconnect"
|
||
|
body: "*"
|
||
|
- selector: neutrinorpc.NeutrinoKit.IsBanned
|
||
|
get: "/v2/neutrino/isbanned"
|
||
|
- selector: neutrinorpc.NeutrinoKit.GetBlock
|
||
|
get: "/v2/neutrino/block/{hash}"
|
||
|
- selector: neutrinorpc.NeutrinoKit.GetBlockHeader
|
||
|
get: "/v2/neutrino/blockheader/{hash}"
|
||
|
- selector: neutrinorpc.NeutrinoKit.GetCFilter
|
||
|
get: "/v2/neutrino/cfilter/{hash}"
|