Questions tagged [bitcoin-cli]

should be used for questions related to the Bitcoin Core RPC client

Filter by
Sorted by
Tagged with
0
votes
0answers
24 views

How do I get the signature and how do I apply it onto my transaction using bitcoin-cli?

Guide link: https://comit.network/blog/2018/06/23/connect-all-the-blockchains/ For context I'm following a guide I found online about how to create a HTLC (Hash-time lock contract) and have it work ...
0
votes
1answer
99 views

Why I cant connect bitcoin-cli -regtest

I need generate satoshi in my bitcoin how test and i need use the -tesnet or -regtest, and when I press the command in my shell: bitcoind -regtest -daemon return: Bitcoin Core starting bitcoin-cli -...
0
votes
1answer
50 views

-regtest generate 101 not working

when I type bitcoin-cli -regtest generate 101 in the powershell it gives me this error: PS C:\Program Files\Bitcoin\daemon> ./bitcoin-cli -regtest generate 101 error code: -32601 error message: I ...
0
votes
0answers
17 views

Allowip block local cli command?

I am new to bitcoin node, recently I tried to running my node with rpcbind and rpcallowip, with the setting of rpcbind and rpcallowip, I am not able to stop the node with locall cli... error: server ...
0
votes
1answer
52 views

Difference between createmultisig and addmultisigaddress on v 0.20.0?

What is difference between createmultisig and addmultisigaddress? I ran 2 methods for 2 same bitcoin address on bitcoin-cli but gives different addresses as multisig to me. the results are as follows: ...
0
votes
0answers
13 views

Transactions with Bitcoin Mockup/Method

As I haven't got many resources I am unable to test this method however before I spend the time investing in servers and such, I would like to show my idea as to how I will be handling a payments ...
0
votes
0answers
27 views

Bitcoin-cli transaction viewing

I am attempting to create my own Bitcoin API for a website I have been building over the recent years and I need some sort of transaction system to handle payments with Bitcoin. I currently own a ...
0
votes
1answer
45 views

How to know the destination address of a multisig?

Run this command: bitcoin-cli getrawtransaction 56214420a7c4dcc4832944298d169a75e93acf9721f00656b2ee0e4d194f9970 2 You will see the first vout is a multisig as follow: { "value": 0....
0
votes
0answers
76 views

Getting “Invalid or non-wallet transaction id” error on transactions definitely from wallet

Very recently (within the past hour), I've been unable to get transactions for wallet addresses. It also returns 0 received when running getreceivedbyaddress and entering an address that I've ...
0
votes
0answers
40 views

How to manually compute a descriptors checksum?

In the docs it says: The checksum for a descriptor without one can be computed using the getdescriptorinfo RPC. I would like to build a recovery tool where many descriptors are imported, calling ...
0
votes
0answers
46 views

Problems Setting a Transaction Fee on a Per Transaction Basis Bitcoind

I've spent hours and hours trying to find a solution to this problem, with no success. Using Bitcoin Core on a Linux machine, so using bitcoin-cli to process commands back to the daemon. Here's what ...
0
votes
1answer
55 views

Will bitcoind import private keys for multi-sig descriptor with watch-only flag set to true?

I am importing a "warm" multi-sig quorum into bitcoind using importmulti like so: {"jsonrpc":"1.0","id":"curltest","method":"importmulti","params":[[{ "desc": "sh(multi(2,[eb2d2f9e/44'/1'/0']...
0
votes
1answer
86 views

bitcoin-cli decodescript wrong output

If I try to get info in genesis block, there is 1 tx: "scriptPubKey": { "asm": "...
0
votes
0answers
105 views

Getting blockhash using bitcoin-cli command in shell

Currently, my node is syncing blocks and tip(height) is 230000. At this point, if I use command bitcoin-cli getblockhash 230000, the return information will be successful but, if I use bitcoin-cli ...
0
votes
0answers
69 views

Sent some testnet Bitcoin to Bitcoin Core wallet but balance is still zero

I got the testnet Bitcoin address with this command: bitcoin-cli -testnet getnewaddress And here is the Bitcoin address: 2NDtNjDbEiNiKDuAnwyKBmRPQ49NNpesdhE As you can see in blockchain there was a ...
0
votes
0answers
47 views

bitcoin-cli getbalance does not match balance with bitcoin-cli listtransactions

version of bitcoin-cli 0.17.1 when I try bitcoin-cli getbalance I get balance 0.00010471 BTC when I try bitcoin-cli listtransactions "*" 1000000 >aaa.txt and then calculate SUM(receive) -...
0
votes
0answers
82 views

How do I determine the descriptor of a given Extended Public Key?

I am trying to run the bitcoin-cli getdescriptorinfo on a ypub... extended public key. Every time I do this I receive the message: error code: -5 error message: Invalid descriptor How can I ...
0
votes
0answers
55 views

Bitcoin-cli transaction fee reset

How do you reset the txfee after you successfully did the transaction? I mean, getting it back to "automatic fee"?
0
votes
1answer
485 views

How to properly use importmulti with coldcard wallet BIP84 xpub?

I have seen the HWI scripts but I am trying to do this while keeping my Coldcard airgapped. First I create a wallet in bitcoin core with private keys disabled. I dump the wallet summary onto the ...
0
votes
2answers
99 views

How to create the data parameter for a PSBT?

I am sure this is a dumb question but if using: bitcoin-cli walletcreatefundedpsbt "[{\"txid\":\"myid\",\"vout\":0}]" "[{\"data\":\"00010203\"}]" How do you create the data parameter? Where does it ...
0
votes
1answer
183 views

How do you import an xprv using descriptors and importmulti?

I have figured out how to import an xpub, but when i use getdescriptorinfo on an xprv: getdescriptorinfo "wpkh(...
0
votes
1answer
40 views

Issuing bitcoin-cli commands via terminal

I am having issues utilizing bitcoin-cli via terminal. For example: DIRECT-8A-HP-OfficeJet-4650:~ peter$ bitcoin-cli deriveaddresses "wpkh(...
0
votes
0answers
77 views

banning nodes through bitcoin-cli in Windows

I'd like to use Greg Maxwell's banlist for my Bitcoin node in Windows. When I enter the commands however, I receive the following error message for every bitcoin-cli command: bitcoin\bin>bitcoin-...
0
votes
1answer
147 views

Bitcoin Core change derivation path with getnewaddress cmd 0.17

As I'm building a simple HD wallet, I would like to use bitcoin core regtest. My goal is to setup a testing flow where I could have constant seeded address each time I use bitcoin-testnet-box, so that ...
0
votes
1answer
677 views

How find own address in testnet using bitcoin-cli?

I have bitcoin-core installed, I am running it in testnet mode. Now if I want to fund my wallet, I need to know the receiving address. How do find my receiving address, so that I can fund it and then ...
0
votes
1answer
525 views

Bitcoin curl no reply

Hi I have made a curl to my server but get no reply . What am a missing rpcuser=rpcusername rpcpassword=rpcpassword rpcauth=rpcusername:generatedkey daemon=1 server=1 rpcport=8332 rpcbind=0.0....
0
votes
1answer
371 views

Manage multiple users wallets for web wallet service

This already summaries the issue I'm currently trying to figure out to calculate the transaction fee to prevent negative balance. (testnet) I tried using createrawtransaction answered. When I tried ...
0
votes
1answer
33 views

Easy way to compare bitcoin node block to total block, check sync status

I am familiar with bitcoin-cli getblockcount, but is there an easy way to compare this to the total block count to check my sync status?
0
votes
1answer
2k views

bad-txns-nonstandard-inputs error after sendrawtransaction

I smashed my head over the table trying to send raw transaction and every time get the same error bad-txns-nonstandard-inputs. So, here is what I do: Get unspent transactions bitcoin-cli ...
0
votes
1answer
85 views

Transaction net gain/loss

I have a TXid in my wallet that contains multiple transactions (multiple sends and receives). From what I read these are transactions the network creates facilitate splitting/combining multiple inputs/...
0
votes
1answer
1k views

How to get bitcoin wallet name from bitcoin address

In http://bitcoinwhoswho.com/ , we can find wallet name from bitcoin address, how do they do so? Is there any signature of wallet name in bitcoin address or in transaction id?
0
votes
1answer
704 views

bitcoin-cli says transaction amount and balance are 0, but that's not the case

I imported a few TestNet addresses and sent some funds to one of them. When I run bitcoin-cli getaccount mvKoQLrzovNbgALa2D7prh9pagd2QUKpWo it responds with the account I named it to. I sent 1....
0
votes
0answers
197 views

Getting the lasthash on a bitcoin full node using bitcoin-cli

I'm trying to figure out how to get the last block hash using bitcoin-cli. I read the help: $ bitcoin-cli help == Blockchain == getbestblockhash getblock "hash" ( verbose ) getblockchaininfo ...
0
votes
1answer
63 views

Why don't we have a help for Bitcoin Core CLI options in the same way as we do for CLI commands?

There is detailed help for bitcoin-cli commands using for example: ./src/bitcoin-cli getconnectioncount help. However, there isn't generally detailed help for bitcoin-cli options such as ./src/bitcoin-...
0
votes
1answer
1k views

bitcoin-cli can't connect to server

I'm trying to put up a simple system for some penetration tests. I have an Ubuntu server 16.04.1 with apache2 and bitcoin. all running "Hiddn service" through tor (and bitcoind proxied 127.0.0.1:9050)....
-1
votes
1answer
62 views

What can I expirement with BitcoinCore on my own?

I have a simple faculty assignment where I have to do some experiments with transactions or experiment with the Bitcoin protocol or maybe with wallet code. Work on that assignment shouldn't last more ...

1 2 3 4 5
6