How does a transaction using a Bitcoin payment code BIP 47 look like on the blockchain?
Having that payment code addresses are untracable, how does a transaction look like in a block explorer if someone sends a payment to a reusable payment code?
Having that payment code addresses are untracable, how does a transaction look like in a block explorer if someone sends a payment to a reusable payment code?
Can I use the wallet functionality in bitcoin cli daemon with P2SH segwit on testnet/regtest? Meaning, can I receive on these addresses and send from them?
And if I can, how?
I cannot find it anywhere in the help. The only one that gets close is addwitnessaddress
, but that does something else, too.
Can this be done for free?
also please mention wallets who do not charge transaction fee (if they exists)
The IDs of the unspent transactions are stored in the UTXO database. I assume that it’s generated like this by the client:
for block in blocks:
for transaction in block:
utxo.remove(transaction.input)
utxo.add(transaction)
However, I have some doubts: What else is stored in the UTXO database? Does it store the actual amount of unspent coins for each transaction (which would seem necessary for the verification of the uncomfirmed transactions)?
Lets say, I have a proper industrial grade mining setup. I have two accounts. I transfer some bitcoins back and forth between two accounts. Both accounts are using the same machine or different machines in the same room. Since the network latency is negligible, it is going to win the race every time (provided the hardware is competitive enough).
This way I can game the system and get a lot of commission for maintaining the ledger for mostly myself.
I do not suppose I am the first guy to come up with this idea. Is there a technical name for it? If is this not feasible, why so?
I need to pay someone who doesn’t use Bitcoin. I don’t use paypal.
Is it possible to create a Google wallet and add Bitcoin to the balance? I have seen conflicting answers. I believe you cannot do it directly but I have seen sites that claim to give you $1.5 in Google Wallet money for each $1 in BTC you trade.
Is there a safe way to do this or another method?
These are the commands I’m running after building a clean ubuntu docker image with all the dependencies:
./src/bitcoin-cli -regtest &
It yields the error:
error: too few parameters (need at least command)
Next I ran:
./src/bitcoin-cli -regtest -daemon
which resulted in:
error: too few parameters (need at least command)
finally:
./src/bitcoin-cli -regtest 101 &
yields:
error: Could not locate RPC credentials. No authentication cookie could be found, and no rpcpassword is set in the configuration file (/root/.bitcoin/bitcoin.conf)
These commands have been taken from the following resource:
https://bitcoin.org/en/developer-examples#regtest-mode
There’s a question here, and a corresponding answer that provides a script to start regtest, is that a good solution?
To stop the daemon use the interface or run bitcoin-cli stop
.
Next step
so I ran first:
bitcoind -regtest -daemon
and I got the output:
Bitcoin server starting
then I tried:
bitcoin-cli -regtest getinfo
which resulted in:
error: Could not locate RPC credentials. No authentication cookie could be found, and no rpcpassword is set in the configuration file (/root/.bitcoin/bitcoin.conf)
these commands also generated the same output as above:
./src/bitcoin-cli -regtest help
./src/bitcoin-cli -regtest 101
so I’ve created the following file:
vim /root/.bitcoin/bitcoin.conf
it’s literally just this:
rpcpassword=123
*also tried with this:
server=1
rpcuser=root
rpcpassword=password
rpcconnect=127.0.0.1
rpcport=8332
and now issued the command:
bitcoin-cli -regtest getinfo
which resulted in the following:
error: couldn't connect to server: unknown (code -1)
(make sure server is running and you are connecting to the correct RPC port)
I have an account at National Bank of Greece and would like to buy bitcoins in Greece using a pre-paid Visa Card. Can someone point out how I could do that? I could also get one from another bank if that’s necessary. I have heard about a Bitcoin ATM somewhere, but I’m unsure if that would work in my case.
I also tried blockchain, but the bank didn’t send the cash.
Is there orphaned blocks in blockchain?
I mean a database of full node. Is it true that orphaned blocks (that outside the mainchain) already are in blk00*.dat
files?
I am planning on building a Wallet and want to know if I can hook something like an Electron native JavaScript app to Bitcoin RPC without running node.js for the server calls, so using something like AJAX or XMLhttprequest.