All Questions

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

listunspent bitcoin core command returns the address as String while getrawtransaction addresses are array

this answers why vout.scriptPubKey.addresses is an array, then why the address in listunspent response is a String? Do you know any transactions in the blockchain have multi addresses in the vout?
0
votes
1answer
6 views

How to get input address and amount from vin using bitcoin core rpc

I am trying to find details of every transaction using bitcoin core rpc. First, I using bitcoin-cli getblock to get the block data, then use bitcoin-cli getrawtransaction to get the transaction ...
1
vote
1answer
14 views

How do I find the nodeid of the node issuing a lightning network invoice?

I recently got an BOLT11 invoice from a store. For example this one: ...
0
votes
0answers
8 views

How does Libra success impact on bitcoin?

Is Libra explosion good for bitcoin price? will they grow together or will btc fall if that happens?
0
votes
0answers
18 views

analyzepsbt says next role is “updater”, but nothing is “missing”

I'm trying to spend a 2/2 P2WSH input. I don't understand how the "next" field can be "updater" if the "missing" field is empty: $ bitcoin-cli -testnet analyzepsbt cHNidP8BAH0CAAAAAXz0qBDXO+...
0
votes
0answers
11 views

My Multibit wallet is empty

I had a few bitcoins in a Multibit wallet version 0.5.14 on my old computer. I decided to start up the old computer again and transfer the bitcoins to a hard wallet. I opened it up and there's ...
0
votes
0answers
17 views

How can I technically find my private key for bitcoin wallet address (Blockchain) that has been used before?

So I really made a mistake by importing address without knowing I will be asked for a private key later since that address is watch-only. Seems like this address has already been used before on my ...
0
votes
0answers
12 views

How can I seperate the RPC server from the -proxy option in regtest?

I'm using a SOCKS5 proxy for bandwidth throttling and custom latency. How do I run bitcoind such that only node connections go through the proxy, but JSON-RPC does not? The proxy is on localhost, and ...
0
votes
1answer
12 views

c-lightning - Unknown Peer

I'm trying to create a channel using c-lighting (testnet), but I keep getting an Unknown Peer error message. I used [cli/lightning-cli connect] which seemed to work fine. I used [cli/lightning-cli ...
0
votes
0answers
14 views

Cryptocurrency collateral lockbox service?

There are N participants that have all agreed on some contract fulfillment of which can not be reliably verified by a third party. In order to make sure the contract is fulfilled by all the ...
0
votes
1answer
20 views

Bitcoin TX decode failed while sending to a the network(regtest)

I have created a signature manually (referring the signature output formats in bitcoin-cli). But i tried to send the same to the network I am getting error code: -22 error message: TX decode ...
1
vote
1answer
20 views

What is the most accurate Classification Of Bitcoin?

What is the most accurate classification of Bitcoin as a piece of computer "software"? would it be considered: An Operating system. An Application. A File. A Library. A Network. A Server. Framework. ...
3
votes
1answer
37 views

How long are orphaned or stale blocks kept in bitcoin core nodes memory?

If there was a chain reorg, for example: Blockchain: 0a---1a---2a---3a becomes... 0a---1a---2b---3b How long are blocks 2b and 3b kept in memory on the node? If I query the node for block 2b ...
0
votes
0answers
13 views

How do I request fund using coinbase api

Hi I am trying to use coinbase api in php.api implementation working fine, I can check balance, creat new address all this are working fine.But facing problem on request bitcoin. I am following ...
0
votes
1answer
19 views

Bitcoin script (pay-to-pubkey-hash)

Example for 'pay-to-pubkey-hash' is quoted in Wiki bitcoin script. I have a doubt that 14 is for bytes to push. But the data to push is 20 bytes. Please anyone could explain to me? Script: 76 --> ...
1
vote
1answer
16 views

Import multisig change addresses into Bitcoin Core using “importmulti” + descriptor

I'm trying to fill my wallet's internal/change address keypool by passing a multisig descriptor to importmulti, but the wallet's internal keypool is 0 before and after running the following shell ...
0
votes
0answers
12 views

Is there some opensource python3 libraries to track bitcoin transactions?

I want to track all bitcoin transactions on a given bitcoin address, and generate graph like this one: Is there some python3 libraries to do that kind of things? And if yes, do you know where I can ...
1
vote
1answer
26 views

RPC call to get unconfirmed balance on a watch only wallet

We have a bitcoin core client running on a production machine. This machine cannot have the private key so each address is added as watch only. So far it has worked perfectly, but recently we need to ...
0
votes
1answer
19 views

Bitcoind Node crashes after using -dbcache option

I've been trying to speed up my node sync by increasing the dbcache. However my node tends to crash overnight. My system is running ubuntu 18.04, 4GM of ram bitcoin core v0.18. I've tried bitcoind -...
1
vote
1answer
17 views

Does an incorrect preimage cause intermediary nodes to discard a Lightning payment?

Consider a multi-hop Lightning payment from Alice via Bob to Charlie. Charlie creates an invoice, Alice finds a route and forwards the payment, now Charlie is expected to redeem the payment by ...
2
votes
1answer
19 views

Why do Lightning packets include channel ids if forwarding is non-strict?

The onion packets in Lightning, as described in BOLT 4, include short_channel_id's of the channels along the route constructed by the sender. But according to the same spec, the forwarding is non-...
1
vote
2answers
30 views

Doesn't an Oracle go against the Blockchain principles?

From what I understand of the blockchain, the main motivation, the very foundation of this technology, is the search for peer-to-peer exchange without mutual trust, without a trusted third party, so ...
0
votes
1answer
42 views

Possibility of a DDoS attack

Theoretically. This is not a mechanism of any kind of attack, but It's about the "lost" coins. May be. It is just for an educational experiment. What if someone has the ability to send transactions ...
0
votes
0answers
21 views

Can proof of stake be used without tokens?

From what I understand from the PoS, it depends on the tokens in our possession (depending on the quantity or age of the tokens in particular). However, I have seen that some blockchains do not use ...
1
vote
0answers
13 views

Difference between Bitcoin and omni layer

I am really confused on bitcoin core and omni core. I have several doubts, regards this, it is possible to use bitcoin node for omnicore. can we use the bitcoin address for usdt. if we can, how to ...
4
votes
1answer
40 views

How has the Bitcoin average block size recently risen above 3 MB?

I was aware that the block size could rise above the 1 MB cap due to SegWit. However, my understanding was that the block size would still be limited under SegWit. My understanding of SegWit is that ...
0
votes
1answer
11 views

Is there any reference library or guidelines for redeeming a utxo and same have to send to regtest network using bitcoin-cli?

Could you please point out the library/guidelines responsible for giving "vin" or input parameter in the p2sh raw transaction and the same have to used by bitcoin-cli
0
votes
0answers
22 views

I sent bitcoin cash to my bitcoin account

I sent bitcoin cash from Coinbase to my bitcoin account on bitpay it said it was confirmed as sent but it never showed up in my account I contacted bitpay to see if they could help me and they said ...
2
votes
2answers
39 views

Is there any full node software for bitcoin with serious wallet functionality?

I'm looking for a bitcoin software with a full-featured wallet functionality and running a full node, but I cannot find any. Bitcoin Core does run a full node and the network capabilities are great, ...
0
votes
2answers
45 views

Raw SegWit TX look solid and verifies, but is rejected. Need help figuring out why

Consider the following transaction expressed as hex: ...
1
vote
1answer
15 views

For the 3 bitcoin address types, which can send to each other? Can a valid tx be created that spends to an unspendable address?

I'm just getting started with using bech32 addresses instead of legacy addresses, and I'm not familiar with how the legacy vs segwit compatible vs bech32 addresses play with each other. Can I get an ...
0
votes
0answers
21 views

Invalid amount Error, when sending bitcoin through rpc in Laravel application

Need help for fixing this issue in my laravel app for sending bitcoin, I keep getting Invalid Amount error in my laravel.log. This is my BitcoinPayment.php, recieving bitcoin is working but not ...
2
votes
2answers
36 views

Why not speed up block mining?

After this question, I have got a question about increase block size: why not reduce the difficulty of PoW? If I understood correctly, this would speed up the mining of the blocks, so we could do more ...
1
vote
1answer
15 views

How to scale JSON-RPC

I'm trying to scale getrawtransaction calls from bitcoind, without manually parsing the .dat files. I've tried: rpcworkqueue=512 (no difference) rpcthreads=128 (no difference) par=8 (no difference) ...
0
votes
1answer
29 views

GREP help: Bitcoin address/key buried as text somewhere on hdd

So in a drunken moment of genius I had forgotten about, I bought some bitcoin way back. And I buried the address and key in some file... I was being tricky lol. That likely also led me to abandon a ...
0
votes
0answers
10 views

Best places to buy Antminer hardware? [on hold]

I have been looking for the best places to buy Antminer hardware. However, a lot of them seem to be very dodgy. Do you have any recommendations of trusted places?
0
votes
1answer
28 views

In practice, are redeemScripts commonly reused?

In regards to P2SH-P2WSH transactions, are Txout-script values identical between transactions? Is it reasonable to expect a business or vendor that accepts bitcoin to be using the same redeemScript ...
0
votes
1answer
32 views

lightning to lightning non custodial swaps

Do you know the way to freeze funds in lightning tx to implement atomic swap between two independent lightning networks?
0
votes
0answers
15 views

`Fatal LevelDB error: Corruption: truncated block read` with txindex

I'm running bitcoind 0.18.0 with txindex. The indexes are stored on an SSD, and raw block data is stored on an external HDD. Out of the blue it crashed with a Fatal LevelDB error: Corruption: ...
1
vote
1answer
21 views

Can TREZOR sign transaction with input address beyond gap limit?

Suppose I use TREZOR with Electrum or Bitcoin Core HWI and significantly change the gap limit to, let's say, 100 000 addresses. I then receive BTC to my 999 999-th address and want to send them ...
0
votes
2answers
19 views

What is the need for multiple private keys?

From what I understand, there is initially a seed from which the private keys are derieved and from that the public key respective to each private key is derived. The public key is essentially the ...
0
votes
1answer
22 views

Bitcoin Cash: difference between addresses

My BCH wallet prefixes the addresses with a "bitcoincash:" string and the hash itself (without the prefix) is 42 chars. Let's say I need to send some BCH to an old address (34 chars, unprefixed), will ...
1
vote
1answer
25 views

Original Bitcoin (Core), how did it generate private key?

I'm a newbie at this, but I have a question. How did the original Bitcoin (Core) v0.1 program generate random private keys? I was hoping for the exact source code or at least a good description of ...
1
vote
1answer
20 views

Why not every [x,y] coordinate on the Secp256k1 curve corresponds to a valid uncompressed publicKey?

First, some background. 1. There are some coordinates x,y satisfying y^2(mod p)=x^3+7(mod p) on the Secp256k1 curve that do not correspond to a valid Bitcoin uncompressed publicKey of the form 04[x,...
2
votes
1answer
21 views

How to prevent specific method calls to bitcoin node

I have setup a bitcoin node and can access RPC methods via curl or bitcoin-cli. Now I don't want to share the node with multiple parties and in such case, I want to restict some functions from being ...
0
votes
0answers
17 views

I received altcoins without an address in my microwallet, how is this possible?

I have only 4 addresses in my real wallet and in my microwallet account. So how is it possible that I receive cryptocurrencies of POT, BCH, etc. without having a wallet address?
2
votes
1answer
32 views

Can a miner give themselves less than the maximum block subsidy if they wish to do so?

The current maximum block subsidy is 12.5 bitcoin. A mined block recently got rejected from full nodes after a miner tried to post the block subsidy as 13.26 bitcoin. But what about in the other ...
1
vote
0answers
16 views

How to send & receive bitcoin using bitcoinjs-lib?

First I create HD Wallet using BIP32 using mnemonics. Now I want to generate new child addresses with private key using xpub & xpriv for every receive. Then for example, I received BTC in 2 ...
0
votes
1answer
17 views

Bip32 bitcoin core wallet `hdseed` format from xprv master key

I'm trying to use a mnemonic seed to generate a bitcoin-core wallet. I know core does not support bip39, but it does support bip32 and sethdseed should make it possible to use the seed generated by a ...
0
votes
2answers
37 views

Are non-SegWit transactions still malleable?

SegWit was (amongst other improvements) introduced to fix malleability issues. Does that mean that non-SegWit transactions are still malleable? If so, what types of malleability could still happen in ...

15 30 50 per page