mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
[RPC] add setban/listbanned/clearbanned RPC commands
This commit is contained in:
parent
2252fb91cd
commit
d930b26a26
4 changed files with 96 additions and 0 deletions
|
|
@ -279,6 +279,9 @@ static const CRPCCommand vRPCCommands[] =
|
|||
{ "network", "getnettotals", &getnettotals, true },
|
||||
{ "network", "getpeerinfo", &getpeerinfo, true },
|
||||
{ "network", "ping", &ping, true },
|
||||
{ "network", "setban", &setban, true },
|
||||
{ "network", "listbanned", &listbanned, true },
|
||||
{ "network", "clearbanned", &clearbanned, true },
|
||||
|
||||
/* Block chain and UTXO */
|
||||
{ "blockchain", "getblockchaininfo", &getblockchaininfo, true },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue