Bitcoin Forum
June 27, 2024, 05:19:37 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Hidden bitcoin core RPC commands  (Read 170 times)
tiagocs (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 24


View Profile
July 01, 2020, 05:31:49 PM
Merited by ABCbits (1)
 #1

Recently I learned about
Code:
bitcoin-cli reconsiderblock <block_hash>
, which saved me from having to start the synchronization from scratch (was getting constantly ERROR: AcceptBlockHeader: block 00.. is marked invalid and the blockheader had a invalid difficulty).

Does anybody know about other hidden RPC commands that are not listed under
Code:
bitcoin-cli help
?
BitMaxz
Legendary
*
Offline Offline

Activity: 3304
Merit: 3031


BTC price road to $80k


View Profile WWW
July 01, 2020, 05:50:46 PM
Merited by NeuroticFish (1), ABCbits (1)
 #2

Take a look at this one I just found them on Google and got the source from here "Full list of RPCs - including hidden RPCs"

And this is the link below that I got from the link above including the other hidden RPC commands.
- https://github.com/bitcoin/bitcoin/blob/b05a89b2def301704df8f22f05a45ccf891c2b83/src/rpcserver.cpp#L268-380

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3430
Merit: 6720


Just writing some code


View Profile WWW
July 01, 2020, 05:53:59 PM
Merited by BitMaxz (1), ABCbits (1)
 #3

The current hidden RPCs are:
Code:
invalidateblock
reconsiderblock
waitfornewblock
waitforblock
waitforblockheight
syncwithvalidationinterfacequeue
dumptxoutset
estimaterawfee
setmocktime
mockscheduler
echo
echojson

These RPCs are pretty much used only for tests and shouldn't be relied on for normal use. Their APIs may not be stable and may change at any time. These RPCs may also be removed at any time.

tiagocs (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 24


View Profile
July 01, 2020, 07:38:51 PM
 #4

Thank you both!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!