All Questions

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

How to watch and use addresses generated from xpub

How to watch the addresses generated using xpub for incoming transactions? and Create transactions to send bitcoin to another address. var bitcore = require('bitcore-lib'); var Address = bitcore....
0
votes
1answer
16 views

Mobile app for bitcoins? [closed]

Is there a mobile app that I can use to buy/sell bit coins? Would it be useful if I create one?
1
vote
1answer
15 views

getbalance says 0 for incoming TX even though 0-conf is allowed

> $bitcoin_rpc.getnewaddress("myaddress", "bech32") => "bc1q9kvfyjxtk9tvkzgpkf4x8zs42sddwlyanz3z6z" > $bitcoin_rpc.getbalance => 0.0 > $bitcoin_rpc.getbalance("*", 0) => 0.0 &...
0
votes
0answers
42 views

Forgotten password for Bitcoin core wallet [duplicate]

My old computer was trash my new computer btc core wallet with my private keys and password I made my backup wallet locked I forgot my password how can I find my password please help
1
vote
2answers
52 views

Bitcoin mining process

Can someone please explain these fuzzy understanding? I am trying to implement my proper demo application of blockchain, but now I discover that many concepts are not that clear.. 1- how do miners in ...
0
votes
0answers
9 views

Move Bitcoin from account '' to default account

I am running Bitcoind and Bitcoin-cli for my RPC. When I run ./bitcoin-cli getbalance it does not return my correct balance, but when I run ./bitcoin-cli getbalance '' I can see all my funds. ...
0
votes
0answers
22 views

How to calculate nBits from difficulty?

I've created some code for generate target from difficulty. var maxTarget = (double)Diff1; // Diff1 is BigInteger var target = new BigInteger(maxTarget / difficulty); return target.ToString("X"); ...
0
votes
2answers
23 views

Bitcoin mining process-the leading zeros before the hash-how is the mining puzzle solved exactly?

Can someone please explain: In Bitcoin proof of work, mining is done to create and validate new blocks. Who becomes the sole block producer is subject to winning a "mining puzzle". As I understand, ...
0
votes
0answers
12 views

Which Bitcoin simulator can i use where changes in nonce size is possible?

I want to run a Bitcoin simulation in which I can have double nonce running in a loop on the block header, and I can also change the nonce sizes. which simulator can I use for this?
0
votes
1answer
49 views

Property based tests have been added to Bitcoin Core. What are they and could they replace some of the unit tests in Bitcoin Core?

Property based tests have been added to Bitcoin Core. This Dev article describes property based tests as randomized unit tests that in some cases could replace unit tests. "Generally speaking, ...
1
vote
1answer
18 views

What is the threat model of a Bitcoin HSM / Hardware Wallet?

There are many devices available which purport to allow for the secure storage of Bitcoin in adversarial environments, such as compromised computers or potentially untrusted host devices such as ...
0
votes
0answers
11 views

How to get beas fee per kilobyte of next block

I am requried to give customer the best fee in next block. Current,I find 3 solutions to get fee. using rpc method estimatesmartfee using history block using rpc method getblocktemplate Which or ...
0
votes
1answer
30 views

Is it actually possible to install Bitcoin full node on a Raspberry Pi 3B+?

A Raspberry Pi 3B+ has only 1GB of ram and this official Bitcoin Core page shows that minimum requirement is 2GB ram and 200 GB storage with 100MB/s read and write speed. But I see a lot of articles ...
1
vote
1answer
14 views

Fast way to get details of all transactions in a block

I would like to extract all transactions in history. What I'm presently doing is calling getrawtransaction and than decoderawtransaction for each transaction in the block. This works, except that the ...
0
votes
0answers
23 views

Bitcoin testnet connection with node.js Api bitcoind v0.18.0

I can connect mainnet but can't testnet. I use bitcoin-core npm package. my client configuration: var client = new Client({ network:'testnet', host:'x.x.x.x', port:'18332', wallet: 'x.dat', username:...
0
votes
1answer
26 views

How to use blockstream's REST api to retrieve JSON output on an address?

I have a bitcoin address and I want to get the JSON format of the balance using blockstreams api service. It's this one: https://github.com/Blockstream/esplora/blob/master/API.md#transaction-format ...
0
votes
1answer
13 views

how the miner start to count the timestamp to insert in the block

I have a doubt, how the miner starts to count the timestamp to insert in the block. An example the timestamp insert inside the genesis block is 1/3/2009, 7:15:05 PM GMT+1. If the genesis block would ...
1
vote
1answer
27 views

RPC errors raised by each command

Coming from this question, is there any comprehensive collection of what errors can each RPC command return? For example. Let's say I want to run getbestblockhash or getblockcount. I'm unsure about ...
2
votes
2answers
206 views

Is Segwit really safe and reduced?

In the Segwit rules, transactions propagated to legacy node doesn't have any signature. so it will be valid as well as in terms of fresh node(supporting Segwit). First question: In this point, if ...
2
votes
1answer
30 views

“private” agreement between two c-lightning nodes on channel closure fee

When i was at LNConf, one of the devs of c-lightning (IIRC) told me that there is a custom, manual way to agree between two nodes on channel closing fees. Can anyone elaborate how this is possible? I ...
1
vote
0answers
22 views

why is bitcoind daemon occasionally stuck at `Opening LevelDB in …/.bitcoin/chainstate`despite clean shutdown

My bitcoind daemon sometimes takes an hour to go past Opening LevelDB in .../.bitcoin/chainstate After googling a bit, i thought it was simply an unclean daemon stop causing a leveldb corruption. But ...
0
votes
0answers
18 views

How to get concerned specific unspent(coin selection algorithm) from list of unspents in a wallet to calculate transaction size

I have a problem to calculate dynamic transaction fees. The problem which i am facing is to calculate the transaction size. When i have one unspent in my wallet it is too easy to calculate transaction ...
1
vote
0answers
20 views

Is it feasible to prove the density of found hashes and could that be valuable?

Background When a miner claims a certain hash power and timestamps a block they solved, they are making a claim that a certain amount of time has passed since they received the previous block. ...
0
votes
1answer
18 views

How to use python reference for encoding a bech32 address?

Could someone provide an example of how to use the python reference implementation for generating a bech32 address? For example, generating a mainnet bech32 address for this scriptPubKey: "...
0
votes
1answer
18 views

How to send requests to a testnet faucet to collect coins at my address?

I am really new to Bitcoin and have just started reading about it. From what I understand testnet Bitcoin can only be requested every 12 hours or so and yields a very low quantity. I would like to ...
6
votes
2answers
167 views

Configure esplora to point to the bitcoind servers ip address

I have 2 servers running: Ubuntu 18.04 running bitcoind daemon (v0.18.1 full blockchain synchronized) Ubuntu 18.04 running esplora (the local single page website works, but it has no data from the ...
0
votes
0answers
22 views

what prevents a miner from adding a false transaction to a block and then adding it to the block chain in PoW? [duplicate]

Here is what I understand, the step to PoW are: step 1:Miner select some transactions from its mempool. step 2:Miner tries to create a block and then broadcasts it if successful. step 3:Other ...
1
vote
1answer
32 views

How a SegWit transaction is accepted without witness?

I would like ask 2 questions. First, as perspective of legacy node(doesn't upgrade software): When SegWit transactions are transferred, witness data is stripped. It means that there are no signatures ...
0
votes
0answers
17 views

problems with unconfirmed transaction of BTC deposits from wallet to wallet with fees paid in advance

i have just started using a BTC wallet called Luno but have 2 unconfirmed transactions still pending while only the 1 transaction went through. 1st transaction was a test with a small amount being ...
2
votes
1answer
53 views

transactions and 51% attack?

I have a very basic understanding of how the bitcoin blockchain works and am trying to understand how manipulating transactions in a 51% attack works. I just watched a video which stated 51% attacks ...
1
vote
2answers
34 views

can i run a full node on a laptop without a 3rd party router?

i am using verizon fios and have attemped to connect to full node. verizon said that i can n0t do it on their router and would need to purchase a 3rd party router and daisy chain to theirs. Any ...
1
vote
1answer
46 views

Why is there no decentralized Bitcoin trading API?

Since nobody has answered me the last 30 times when I asked for decentralized Bitcoin trading APIs, I can pretty safely conclude that it just doesn't exist. So that's why I now ask why this is. Don't ...
0
votes
2answers
43 views

Blockchain Explorer for local full node

I would like to build my own blockchain explorer because I have found that using the API's of 3rd party blockchain explorers only gives me around 2 or 3 requests per second. Does an open source ...
1
vote
0answers
28 views

BCH to paxful pls help [closed]

If can anyone tell me how I can recover my BCH I mistakenly sent to paxful wallet address though I'm still seeing unspent on my BCH wallet I'm so confused pls help
3
votes
2answers
95 views

Will a channel be automatically closed if there's a expiring HTLC that doesn't have its own output in the commitment transaction?

When routed Lightning payments are smaller than some amount they don't get their own HTLC output in the commitment transaction. Instead the funds reserved to it are directed to transaction fees. When ...
0
votes
1answer
34 views

Can collective mining pools refuse to recognize a mining block mined by a specific miner?

This is a continuation to the question: Can a bitcoin transaction from a specific bitcoin address be banned? (via mining pools). Suppose Satoshi Nakamoto sends bitcoins from one address to another, ...
1
vote
1answer
34 views

Decoding hex scriptsig in Python

Running decodescript on d1a076722d11ddfd0fadb96d6d960b8b2ad6c6369570cd00df70a801a6be9e44 is returning: { "asm": "0 ...
1
vote
1answer
64 views

Transaction confirmed for hours, not available in balance

My bitcoin transaction has been confirmed for more than 24 hours and also on the block chain but it has not yet reflected on the receivers balance, all transaction details are correct,what could be ...
2
votes
1answer
112 views

Bitcoin and encryption

To the best of my understanding Bitcoin uses encryption to create the digital signature, basically, by encrypting the hashed message (transaction?). Would like to get your expert opinion to my claim ...
2
votes
1answer
17 views

How and When are lightning channels disabled?

On the testnet and some mainnet there are channels which are disabled, so if you try to route a payment through them it failed with this as an error message. Reading through the RPC commands, it seems ...
0
votes
1answer
28 views

Cannot sign txn with change address using bitcoinjs-lib psbt

I am having a difficult time figuring out how to sign a spend from a change address. I get Error: cannot sign for this input with the key <value>. The initial transaction works fine, where I ...
0
votes
1answer
18 views

Bitcoin 51% majority miner attack - question on the role of user activated soft forks as defense tactic

If one mining entity has alone 52% hash power of the overall network, then this party can block transactions for example and try to "build" up a forked, longer chain while time passes, right?. As I ...
0
votes
1answer
20 views

Bitcoin Orphan blocks - short question about the “time lag” factor and proof-of-work “size”

"However, it is possible that two miners produce a block at a similar time. This situation occurs because the acceptance of the blocks into the blockchain by the nodes of the blockchain network ...
2
votes
1answer
40 views

lightning network bitcoin howto install

Hello fellow bitcoiners, I would like to install lightning over Bitcoin core - I already have a full node. But every guide I follow ends up with a broken build or some issue preventing to finish the ...
3
votes
2answers
58 views

Can a bitcoin transaction from a specific bitcoin address be banned? (via mining pools)

Can a bitcoin transaction from a specific bitcoin address be banned? (via mining pools) Suppose Satoshi Nakamoto wants to send some bitcoin from one of his bitcoin address, can the mining pools ...
3
votes
1answer
29 views

Was it always required for the Coinbase transaction to be the first transaction in a block?

The user tempo mentioned on another topic: "At least in the early protocol versions it was possible to put the coinbase transaction not on the top of the outputs." I have never heard about this ...
0
votes
1answer
20 views

I get invalid argument error when running bitcoin-cli -getnetworkinfo, and a few other parameters

So I have bitcoind -daemon running and it appears to be generating the blockchain. keeps saying Potential stale tip detected, will try using extra outbound peer... The issue is I run bitcoin-cli ...
1
vote
1answer
38 views

Why I'm getting different merkleroot?

I'm using merkle.cpp code (which uses the libbitcoin library for some helper functions) from Mastering Bitcoin book. I was trying to re-create Merkleroot hash for Bitcoin block #100000 containing 4 ...
0
votes
1answer
22 views

Please take a look at my server print out to see if all looks well or if the repeating errors mean something is wrong

So it is not clear to me if my bitcoin server is syncing and all is fine or if the "potential stale tip detected, will retry extra outbound " message means I have to do something. Searching for that ...
2
votes
1answer
18 views

Is it possible to catch up missing blocks with zeroMQ if script was down for a while?

I use zeroMQ to get all new blocks (rawblock or hashblock). If my script is down for few minutes or hours and I missed few blocks, is it possible to catch up all missed blocks with zeroMQ when I ...

15 30 50 per page