All Questions

Filter by
Sorted by
Tagged with
2
votes
1answer
28 views

How can I fund my node in regtest?

I am fairly new to bitcoin and was attempting to setup a local test network in my machine. I am using the regtest network to create the local network. Is there a way in which I can initialize the ...
5
votes
2answers
204 views

Is there a difference between bytes and virtual bytes (vbytes)?

In an Optech newsletter, size is referred to using vbytes. Is there a difference between vbytes and bytes? If so, what is the difference?
0
votes
2answers
50 views

Mining Probability

Assuming two miners have a (1/x) chance of finding a block over some time period, is the probability of both miners finding a block within that period simply (1/x^2)? More generally, would n miners ...
0
votes
0answers
33 views

Mycelium not reading segwit bech32 (bc1) addresses from a private key

I'm trying to import my bitcoin private key into the Mycelium android wallet, but it keeps showing up as the legacy address that starts with 1xxx. I sent some coins to the bc1 address and I verified ...
0
votes
0answers
12 views

how to convert protobuf wallet format into private keys

firstly, i did this step "enc -d -aes-256-cbc -a -in bitcoin-wallet-backup > bitcoin_decrypted" in openssl and entered the password it gave me org.bitcoin.production so i guess my password worked and ...
0
votes
1answer
31 views

Which BIP describes the structure and algorithm for creating a wallet file?

My app is able to create a public and private key from BIP39. The uncompressed private key is concatenated with a sha256 (private key) and then encrypted via AES and saved to a file. To decrypt, you ...
0
votes
0answers
26 views

recovering android wallet using opensll

i am very frustrated, i managed to decrypt the backup file by doing the opensll command and as expected after putting the password i do see org.bitcoin.production which means i am at the right path ...
0
votes
1answer
34 views

Post Bitcoin mine reward: Lowering Difficulty an Option?

Maybe my understanding of blockchain, and Bitcoin need to be refined and will allow help me understand why my question wouldn't make sense in the grand scheme. But first Ill establish my core ...
0
votes
1answer
55 views

Who is a first miner that receive a transaction from end-user?

This is a First Question. As you already know, the blockchain like Bitcoin, Ethereum is a software program based on peer to peer network system. so I am wondering that who is a first miner that ...
1
vote
1answer
34 views

Running bitcoin node with already verified blockchain

I'm following this guide https://stadicus.github.io/RaspiBolt/ to setup a bitcoin full node on my new raspberry pi. I already downloaded and verified the blockchain on my host machine. I also pruned ...
1
vote
1answer
39 views

Hardened address generation with BIP44 watch-only wallet with xpub

I am puzzled by the hardened key derivation from a watch-only BIP44 wallet. Let me first explain what I am trying to do. I am implementing a 2-of-3 multisig scheme I am using Bcoin node and wallet ...
0
votes
1answer
56 views

Creating a nothing-up-my-sleeve public key

I am trying to create a public key whose x starts with "34" and is followed by the minimum number n such that the concatenation of "34" and n is the x of a valid point (x, y) on the elliptic curve ...
0
votes
1answer
51 views

Could not connect to Bitcoin RPC server outside local host using bitcoind-0.18.0

I upgrade bitcoin core from 0.16.3 to 0.18.0, But I can not connect to RPC server outside local host. I use the following parameters as bitcoin.conf: testnet=1 server=1 daemon=1 rpcallowip=0.0.0.0/0 ...
0
votes
2answers
59 views

Installation of Bitcoin Core 0.18.0 on Ubuntu 18.04.2 error

I used "sudo snap install bitcoin-core" and it appeared to install fine except I get the error: "Failed to launch 'Bitcoin Core' Desktop file didn't specify Exec Field." Did I do something wrong? ...
0
votes
1answer
102 views

I had someone offer to mine bitcoin for me, I am a beginner

I had someone offer to mine bitcoin for me. I pay for the bitcoin on cash app and he mines it for me. With messaging him I started to feel like he didn't really know what he was talking about when ...
3
votes
1answer
78 views

What are the potential security issues when running a Lightning Node on my home network?

If I was to run a lightning node on my home network (and for example, not running the node through TOR), what should I worry about? Furthermore, what OS, settings and software should I use to ...
1
vote
1answer
56 views

Bitcoin 0.18: how to send bitcoin from one address to another using Bitcoind?

To transfer bitcoin from one account to another address, we have used sendfrom method and which got deprecated in the latest version Bitcoin 0.18.0 Bitcoin sendfrom method On reading the document of ...
0
votes
1answer
20 views

Using importmulti to import a single address to keypool does not work

I create a wallet with private keys disabled. Then use importmulti like so: command curl --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "importmulti", "params":[[{ "scriptPubKey": { "...
0
votes
0answers
34 views

Missing btc after -zapwallettxes and blockchain rescan

I sent a transaction in Bitcoin Core and realized that the fee was too low. I waited a few days to see if it would confirm and then wanted to try something else. I read that starting bitcoin core with ...
0
votes
0answers
19 views

Signing multisig raw transaction is returning error “JSON value is not a string as expected”

I am trying to sign a multisig unsigned raw transaction but keep getting "JSON value is not a string as expected", I am stumped and have tried many variations. Can anyone point out what I am doing ...
0
votes
1answer
26 views

Issue with sendrawtransaction missing inputs error code -25

Working with Bitcoin-qt 0.16.3 testnet Attempting to sendrawtransaction, however, receive following error: Missing inputs (code -25) From what I have read, this results from attempting to use ...
0
votes
1answer
24 views

How to build a p2sh who's scriptsig contains a Signature

I have created a P2SH address, funded it, and am attempting to move the funds with a TX. The redeemScript for the TX requires the TX signature (OP_CHECKSIGVERIFY), but in order to create this ...
1
vote
1answer
33 views

Timer-based consensus algorithm in blockchain

Assume that there is an algorithm that ensures: 1- That a full node chooses an honest random wait time. 2- That the same node has waited the specified amount of time before proceeding to mine a block. ...
0
votes
1answer
33 views

Importing private key to bitcoin node is slow. Can it be faster?

I have launched the bitcoin node and synchronized it. The issue is that importing the private key forces the node to scan the blockchain for the operations with the key. Is there a way to import the ...
0
votes
1answer
28 views

Does bitcoin qt need to synch before I can spend my change?

Sorry for the follow up question... i was trying to transfer my btc to a new wallet (believing the original one had been compromised). I sent 2 tiny test transfers of $1 then when they arrived in the ...
1
vote
0answers
25 views

Bitcoin Core Blockchain Sync Fatal Internal Error - Corrupt Block - Linux

I'm trying to perform the IBD on Bitcoin Core 0.18 and I continually receive "Fatal Internal Error" at seemingly random intervals, closing bitcoin-qt and preventing me from fully syncing. Farthest I'...
1
vote
1answer
18 views

How is the PRIVATE KEY actually created in the first place?

How is the "Private Key" created in the first place? I understand that once you have your wallet, you will also gain access to your public key and private key... But in order to have a wallet ...
0
votes
0answers
24 views

Was my transfer hijacked? [duplicate]

I had to take my computer into the shop for a new hard drive a week ago. Worried that my bitcoin wallet (Bitcoin qt) may have been compromised, i setup a new Electrum wallet and one on my iphone. I ...
1
vote
1answer
34 views

How can I set up a simple single page store that accepts Bitcoin payments? [closed]

I am looking to set up a simple single page store. This store should respect the privacy of users by not requiring personal information where none is needed. I want to retain control of the funds, I ...
0
votes
1answer
33 views

How public-key cryptography secures bitcoin transactions from 51% attacks and Mining Attacks

I wanted to better understand how public-key cryptography avoids 51% attacks and mining attacks, also if this question is wrong please correct so that i can improve my research and provide me with ...
4
votes
1answer
422 views

Is Bitcoin PoW actually SHA256 + Merkle generation? Or have I misunderstood coinbase/append?

Miners can mutate nonce (32 bits) + time (mutates once a second). This allows for 232 (~4 billion) hashes per second. That's not enough anymore for our ASICs as they perform in the TH/s now rather ...
0
votes
1answer
16 views

Strange re-connection problem with python-bitcoinrpc

I am using https://github.com/jgarzik/python-bitcoinrpc to access the bitcoin core rpc. I have found a very strange re-connection problem. from bitcoinrpc.authproxy import AuthServiceProxy, ...
0
votes
1answer
37 views

How can a 51% attack be successful? [duplicate]

In the paper by Nakamoto, miner can accept the mined block only if all transaction are valid. Assume that there are 5 miners in the world. 4 of 5 are honest that have 10% of 100% hash power and 1 of ...
0
votes
0answers
17 views

The time when the miner get a new block [duplicate]

I am wondering the time when get a reward for new mined block. Theoretically, miner will earn reward when they mine new block. but at that time, there is no way to verify that they really waste hash ...
0
votes
1answer
25 views

How do I broadcast an OP_RETURN transaction using bitcoin cli

I am using Bitcoin Testnet's command line (and GUI). I am curious how, using my own computer and equipment (I already used a faucet) I could send a transaction easily. I tried https://github.com/...
0
votes
0answers
25 views

About the balance of specific address

I have a question about how to figure out balance of specific address in the Bitcoin. There are many node in the blockchain(total # of nodes are 10000 based on 01/16/2019). but some nodes may have ...
0
votes
1answer
30 views

What is a mechanism of method how to get the data in the blockchain(e.g. bitcoin, ethereum)?

There are websites which have APIs that allow you to trace transactions and lookup information like specific address balances, etc. I am wondering how these web service providers are able to provide ...
0
votes
0answers
17 views

I mistakenly sent a bitcoin cash to bitcoin address [duplicate]

What can I do to recover my coin back to my wallet
2
votes
1answer
31 views

What happens when i change the encryption password of Bitcoin-Core wallet

What happens when i change the encryption password of Bitcoin-Core wallet? Is first pass lost forever , where is it saved - on the blockchain or on the wallet.dat file? What if encrypt wallet with ...
1
vote
1answer
62 views

Bcoin vs Bitcoin Core: query your node to list transactions of any address

I am trying to set up a Bitcoin node. It should be possible to query the node through JSON RPC to get a list of all transactions (including UTXOs) of any Bitcoin Address, which doesn't necessarily ...
0
votes
0answers
24 views

What role does public-key cryptography play in bitcoin transaction? [duplicate]

Explain in one word and kindly tell what is it exactly that public-key cryptography does in bitcoin.
0
votes
1answer
68 views

How to find out if LND opening pending channels has a confirmation onchain?

After typing lncli pendingchannels I get a channel_point number, and when I put channel_point txid to check if it was confirmed onchain by typing: bitcoin-cli gettransaction "txid insert" I get an ...
1
vote
1answer
35 views

What makes Bitcoin transaction secure against attackers/hackers?

Wanted to know what is it that makes bitcoin transaction secure and make it less vulnerable to attackers and hackers
3
votes
2answers
297 views

To what extent does asymmetric cryptography secure bitcoin transactions?

Is there a specific attack or bug which asymmetric cryptography prevents during bitcoin transactions?
2
votes
2answers
96 views

Why does importmulti not support zpub and ypub?

As far as I can tell importmulti does not work with zpub/ypub. Why not? FWIW I prefer only to deal with xpubs, but I am curious.
1
vote
1answer
36 views

How to calculate txid for segwit transactions?

I'm having difficulty calculating txid for recent transactions. I followed bip-141 at https://github.com/bitcoin/bips/blob/master/bip-0141.mediawiki For the first transaction in the first block found ...
0
votes
1answer
31 views

How to find where coin was picked up

I just recently sent two transactions at $2,500 a piece to a wallet I was given to transfer the money to. The money was transferred and the person has disappeared. I'm wondering how to find out where ...
0
votes
2answers
99 views

Help get specific address private key

I want to know if someone can help me with this situation: Two years ago I changed the password of my Bitcoin-Core wallet and forgot it. I sent my wallet.dat to some person, who claimed that will ...
0
votes
0answers
16 views

Cannot connect to Bitcoin JSON-RPC Server [duplicate]

I have just started getting my hands dirty with Bitcoin and I have successfully setup a pruned node on a Linux server but I can't seem to connect to this node from my Dev environment. I keep getting ...
0
votes
0answers
20 views

Non spendable bitcoin [duplicate]

I downloaded the app because the person who was helping me said they can’t transfer my profits to my luno account and he asked for all my login details now there’s non spendable bitcoin he’s saying I ...

15 30 50 per page