All Questions

Filter by
Sorted by
Tagged with
0
votes
1answer
10 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 ...
0
votes
1answer
11 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. ...
2
votes
1answer
23 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 ...
-1
votes
0answers
18 views

What are some portable ways to protect against mosquitoes? [on hold]

I am a volunteer and work in Africa. In my villages there are a lot of mosquitoes with which we constantly fight. But worst of all, when you're on the road and there is no possibility to use a ...
0
votes
0answers
12 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
16 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
14 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
24 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
16 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
18 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
29 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
18 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
12 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 ...
2
votes
1answer
34 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
10 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
21 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
34 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
40 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
14 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
20 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
34 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
14 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
25 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
9 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
27 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
20 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
18 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
24 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
31 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
15 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
13 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
36 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 ...
0
votes
0answers
31 views

I mistakenly sent my Coinbase BTC to my BCH wallet on Ledger Nano S

I mistakenly sent my Coinbase BTC to my BCH wallet on Ledger Nano S. I own both wallets. How do I go about retrieving my bitcoin from a BCH wallet on nano s?
1
vote
1answer
18 views

Creating a multisig wallet with bcoin and receiving transactions

I am trying to create a multisig wallet from two externally generated xpubs. The process I am taking is to create two multisig wallets with the two xpubs, add each others keys as shared keys and ...
1
vote
1answer
41 views

`walletcreatefundedpsbt` with unconfirmed inputs

I would like to create a psbt using walletcreatefundedpsbt spending unconfirmed ouptputs. Is this possible? When I call that RPC command with 0 confirmed balance but with sufficient unconfirmed ...
2
votes
0answers
20 views

What are the downsides of integrating accumulators like utreexo to bitcoind?

Inspired by the discussion in this question I wonder what would be the downsides of adding accumulators like utreexo (paper at: https://eprint.iacr.org/2019/611.pdf) to bitcoind? On the positive ...
0
votes
1answer
20 views

P2WPKH - which private key is used to generate signature?

I am looking at the BIP143 P2WPKH example. I am kind of following until the generation of the sigHash: c37af31116d1b27caf68aae9e3ac82f1477929014d5b917657d0eb49478cb670 but then that is used to ...
2
votes
2answers
23 views

How can bitcoin transactions for the same coin belong in different blocks?

Isn't each transaction dependent on a hash of the previous transaction? Wouldn't that mean all of the transactions for a particular coin would have to be grouped in the same block? As far I can tell ...
1
vote
2answers
57 views

download the bitcoin chain begining from a certain date

I am building a bitcoin lightning network using lnd on a separate computer this computer has less than 200G avaible and the actual blockchain is more than 220G, so I am gonna need to use prude mod ...
0
votes
0answers
16 views

problem to purchase bitcoin [on hold]

I am trying to purchase a bitcoin in exchange of my dollar account but it’s not going through See below the message received when trying to complete the purchase: Sorry, something went wrong with ...
0
votes
0answers
12 views

A good library for python [on hold]

I need a good python library to sign and broadcast bitcoin transactions with custom scripts. I primarily want to try bitcoin scripting. Support for testnet, wallet and address creation and a good ...

15 30 50 per page