=================================================
Welcome to the Bitcoin Private regtest playground
=================================================

Here you can test any of the RPC commands in the Bitcoin Private rebased codebase. Note that this is a regtest and you *SHOULD NOT* provide any real or sensitive data such as private keys that you'd use on the mainnet. In short, generate whatever you want to test here and use that.

It's an isolated testing environment right now, which there are no other nodes to connect to for now. A testnet with peers is coming very soon.

On the right you can see all commands in the current version (0.17.99), you can type any of these into the command line below, or easier still, click on the command name on the right to automatically paste that in, or click the parameters for it to paste those in too.

With a command ready to go, just hit Enter and checkout the result - does it seem correct to you? If not, let us know on our new Discord channel: Bitcoin Private Development.

If you get a non error state, it counts as being successful and the counter for it increases. If it errors for any reason, the counter decreases. (Counter increases/decreases occur per IP, the most you can increase by is +1 and decrease by -1).

Have fun trying things out ...you're also helping us test things by doing so!

./src/bitcoin-cli -rpcwallet=regtest -regtest 

Commands

Network: regtest
Current passing tests: 116 / 119

Click on a command to drop into command line...

Blockchain

66/10
getbestblockhash
v
33/10
getblock "blockhash" ( verbosity )
v
34/10
getblockchaininfo
v
39/10
getblockcount
v
27/10
getblockhash height
v
24/10
getblockheader "hash" ( verbose )
v
21/10
getblockstats hash_or_height ( stats )
v
29/10
getchaintips
v
21/10
getchaintxstats ( nblocks blockhash )
v
29/10
getdifficulty
v
17/10
getmempoolancestors txid (verbose)
v
20/10
getmempooldescendants txid (verbose)
v
19/10
getmempoolentry txid
v
27/10
getmempoolinfo
v
24/10
getrawmempool ( verbose )
v
19/10
gettxout "txid" n ( include_mempool )
v
20/10
gettxoutproof ["txid",...] ( blockhash )
v
19/10
gettxoutsetinfo
v
18/10
preciousblock "blockhash"
v
11/10
pruneblockchain “height”
v
17/10
savemempool
v
16/10
scantxoutset <action> ( <scanobjects> )
v
19/10
verifychain ( checklevel nblocks )
v
19/10
verifytxoutproof "proof"
v

Control

18/10
getmemoryinfo ("mode")
v
18/10
help ( "command" )
v
17/10
logging ( <include> <exclude> )
v
10/10
stop
v
25/10
uptime
v

Generating

36/10
generate nblocks ( maxtries )
v
23/10
generatetoaddress nblocks address (maxtries)
v

Mining

10/10
getblocktemplate
v
34/10
getmininginfo
v
22/10
getnetworkhashps ( nblocks height )
v
18/10
prioritisetransaction <txid> <dummy value> <fee delta>
v
0/10
submitblock "hexdata" ( "dummy" )
v
0/10
submitheader "hexdata"
v

Network

20/10
addnode "node" "add|remove|onetry"
v
28/10
clearbanned
v
24/10
disconnectnode "[address]" [nodeid]
v
18/10
getaddednodeinfo ( "node" )
v
19/10
getconnectioncount
v
21/10
getnettotals
v
27/10
getnetworkinfo
v
22/10
getnodeaddresses ( count )
v
24/10
getpeerinfo
v
23/10
listbanned
v
22/10
ping
v
30/10
setban "subnet" "add|remove" (bantime) (absolute)
v
19/10
setnetworkactive true|false
v

Raw Transactions

13/10
combinepsbt ["psbt",...]
v
20/10
combinerawtransaction ["hexstring",...]
v
22/10
converttopsbt "hexstring" ( permitsigdata iswitness )
v
19/10
createpsbt [{"txid":"id","vout":n},...] [{"address":amount},{"data":"hex"},...] ( locktime ) ( replaceable )
v
28/10
createrawtransaction [{"txid":"id","vout":n},...] [{"address":amount},{"data":"hex"},...] ( locktime ) ( replaceable )
v
18/10
decodepsbt "psbt"
v
18/10
finalizepsbt "psbt" ( extract )
v
20/10
fundrawtransaction "hexstring" ( options iswitness )
v
22/10
getrawtransaction "txid" ( verbose "blockhash" )
v
14/10
sendrawtransaction "hexstring" ( allowhighfees )
v
23/10
signrawtransactionwithkey "hexstring" ["privatekey1",...] ( [{"txid":"id","vout":n,"scriptPubKey":"hex","redeemScript":"hex"},...] sighashtype )
v
15/10
testmempoolaccept ["rawtxs"] ( allowhighfees )
v

Util

18/10
createmultisig nrequired ["key",...] ( "address_type" )
v
18/10
estimatesmartfee conf_target ("estimate_mode")
v
17/10
signmessagewithprivkey "privkey" "message"
v
21/10
validateaddress "address"
v
16/10
verifymessage "address" "signature" "message"
v

Wallet

20/10
abandontransaction "txid"
v
20/10
abortrescan
v
13/10
addmultisigaddress nrequired ["key",...] ( "label" "address_type" )
v
24/10
backupwallet "destination"
v
49/10
bumpfee "txid" ( options )
v
20/10
createwallet "wallet_name" ( disable_private_keys )
v
2/10
dumpprivkey "address"
v
28/10
dumpwallet "filename"
v
22/10
encryptwallet "passphrase"
v
22/10
getaddressesbylabel "label"
v
23/10
getaddressinfo "address"
v
34/10
getbalance
v
23/10
getnewaddress ( "label" "address_type" )
v
18/10
getrawchangeaddress ( "address_type" )
v
18/10
getreceivedbyaddress "address" ( minconf )
v
17/10
getreceivedbylabel "label" ( minconf )
v
18/10
gettransaction "txid" ( include_watchonly )
v
21/10
getunconfirmedbalance
v
37/10
getwalletinfo
v
12/10
importaddress "address" ( "label" rescan p2sh )
v
16/10
importmulti "requests" ( "options" )
v
11/10
importprivkey "privkey" ( "label" ) ( rescan )
v
11/10
importprunedfunds "rawtransaction" "txoutproof"
v
17/10
importpubkey "pubkey" ( "label" rescan )
v
12/10
importwallet "filename"
v
12/10
keypoolrefill
v
17/10
listaddressgroupings
v
22/10
listlabels
v
20/10
listlockunspent
v
19/10
listreceivedbyaddress
v
17/10
listreceivedbylabel
v
18/10
listsinceblock
v
23/10
listtransactions
v
21/10
listunspent
v
28/10
listwallets
v
14/10
loadwallet "filename"
v
19/10
lockunspent true|false
v
14/10
removeprunedfunds "txid"
v
15/10
rescanblockchain ("start_height") ("stop_height")
v
12/10
sendmany "" {"address":amount,...} ( minconf "comment" ["address",...] replaceable conf_target "estimate_mode")
v
16/10
sendtoaddress "address" amount ( "comment" "comment_to" subtractfeefromamount replaceable conf_target "estimate_mode")
v
11/10
sethdseed
v
20/10
setlabel "address" "label"
v
19/10
settxfee amount
v
16/10
signmessage "address" "message"
v
19/10
signrawtransactionwithwallet "hexstring" ( [{"txid":"id","vout":n,"scriptPubKey":"hex","redeemScript":"hex"},...] sighashtype )
v
11/10
unloadwallet ( "wallet_name" )
v
17/10
walletcreatefundedpsbt [{"txid":"id","vout":n},...] [{"address":amount},{"data":"hex"},...] ( locktime ) ( replaceable ) ( options bip32derivs )
v
26/10
walletlock
v
11/10
walletpassphrase "passphrase" timeout
v
10/10
walletpassphrasechange "oldpassphrase" "newpassphrase"
v
15/10
walletprocesspsbt "psbt" ( sign "sighashtype" bip32derivs )
v