All Questions

0
votes
1answer
25 views

What is the minimum hash rate power should I have to get rewarded in btc.com? [duplicate]

I just want to know how much minimum hash rate power should someone have to receive reward in btc.com or other pools?
0
votes
2answers
57 views

Verifying a digital signature that a transaction is going to an output with value X inside a script

Edit; after writing this post i have found that OP_CHECKDATASIG is basically this in a nutshell. It is implemented on Bitcoin Cash and may soon be on Bitcoin Core as well. Someone has even written ...
0
votes
0answers
26 views

Can the blockchain be imported into wallets of different brands?

Can I import the block chain that bitcoin core downloads to use in any of the other full node PC wallets? Are the formats the same or inter-convertible?
1
vote
1answer
68 views

In the bitcoin scripting language, how can I access other outputs of the transaction? Or how else can I limit how the coins may be spent?

Is there any way to add an opcode to a UTXO that prevents how the coins are spent? For example, in order to to spend the output, a person must send X number of bitcoin to Y address within the ...
0
votes
1answer
23 views

How does bitcoin core save raw transaction data?

I had a few questions. I've looked extensively online and can't seem to get answers right on point. I just started a full node using bitcoin core and it is currently syncing/validating the past ...
0
votes
1answer
26 views

Code prevention of sending bitcoin to an address on the wrong chain btc/bch/bsv

Since they share several common addressing schemes, can I figure out in code how to send them to the right chain?
0
votes
0answers
28 views

Outputs only from bitcoin address

I just want to ask is there any way on how to extract ONLY outputs from particular bitcoin address. I need to export (make a list) on all address that were associated with the outputs from the sender ...
0
votes
1answer
32 views

Reward in case of fork

Hi I would like to ask you guys for some details about getting reward from minning block when there is a fork - two miners get different blocks at the same time. Both of these block will have the ...
4
votes
1answer
52 views

Does the chainstate leveldb only contain “addresses” for P2PKH and P2SH?

I'm writing a small script that will dump the utxo database to a text file. As far as I'm aware, these are the most common script patterns indicated by the type field inside each value: e.g. value: ...
0
votes
1answer
21 views

How to create a cryptocurrency backed by an asset (say a fiat currency or physical commodity) [closed]

I want to create a cryptocurrency for use between myself and a collection of friends (as a proof of concept). Assuming that I want to peg my cryptocurrency to (say) the Chinese Renminbi and the price ...
0
votes
0answers
45 views

error: Authorization failed: Incorrect rpcuser or rpcpassword

After installing bitcoin on CentOS/AWS, an error occurs when connecting with cli. $ bitcoind -daemon -conf=/.bitcoin/bitcoin.conf Bitcoin server starting $ bitcoin-cli getbalance error: Authorization ...
2
votes
1answer
28 views

Why does witness use count instead of length?

In legacy transaction (without SegWit) the scriptSig is easily parsed by knowing the length of it (a CompactInt value) and without needing to read the script in place. However in SegWit transaction ...
0
votes
1answer
18 views

Transaction with unparsed input address ? What does it means?

I just see this transaction which is special : one of input address is spending a valid amount… But why is it unparsed ? Why no ScriptSig while stil being valid ? Also what’s the purpose ?
0
votes
1answer
43 views

bitcoin difficulty determination

Given the bitcoin difficulty information in https://bitcoinwisdom.com/bitcoin/difficulty, determine the bitcoin difficulty on April 1, 2019 and April 1, 2020. State any assumptions made in this ...
-2
votes
3answers
70 views

BSV accidentally sent to BTC wallet

I transferred my BSV from my ipayyou wallet to my bitcoin wallet. My money is stuck in unspent status as can be seen on blockchair.com. This is the transaction: https://blockchair.com/bitcoin-sv/...
0
votes
0answers
38 views

How to assemble and test a script on Bitcoin testnet online?

Given a script using Multisig, how can I convert addresses to hash that can be used in the script then assemble the script and then launch it inside a transaction on Bitcoin testnet that can viewed on ...
-1
votes
1answer
29 views

How to setup a testnet full node on Windows 10?

I'm trying to implement an SPV and I'd like to test it on a testnet full node but can't really understand how to do it from what I've found.
0
votes
2answers
37 views

how to generate bitcoin adddres using seed?

Hi i am new to bitcoin all i want to know is how to generate address using mnemonic seed? let testnet =Bitcoin.networks.testnet; let keypair =Bitcoin.ECPair.makeRandom({network:testnet}); let address=...
1
vote
2answers
56 views

How to search for a transaction using a specifc OPCODE?

I have several OPCODES where I need real worlds examples… However they are rarely used. So how to search and disassemble an existing mined transaction using it ?
0
votes
1answer
57 views

What’s the opcode sequence for doing the reverse of Multisig?

With a multisig wallet, several public keys are needed to spend an amount. But how to perform the reverse with time ? I’m talking about this case where Alice performs a transaction where the output ...
2
votes
1answer
42 views

How to disassemble a bitcoin script?

There are many explorers which allows to dissamble a transaction back into opcodes. But what about scripts which aren’t broadcasted yet like this redeem script :...
2
votes
2answers
444 views

Proof of work - lottery approach

I'm sure I am missing something here. But not sure what ... Proof of work - after all is said and done, when a hash is found (about 10 min), it is said to be like someone hitting the lottery. Anyone ...
0
votes
1answer
46 views

Total channel count differs from explorers

I have my own c-lightning node. listchannels returns 11,455 but explorers, e.g https://explore.casa/ show around 39,000. Do I need to set something to get all channel info? $ lightning-cli ...
2
votes
1answer
173 views

Where is sum(vin) > sum(vout) check in Bitcoin Core?

I'm searching the function that validates a transaction according to Protocol rules - "tx" messages especially step 14 sum(vin) > sum(vout). I found this interesting function CheckTransaction(...
0
votes
0answers
25 views

banning nodes through bitcoin-cli in Windows

I'd like to use Greg Maxwell's banlist for my Bitcoin node in Windows. When I enter the commands however, I receive the following error message for every bitcoin-cli command: bitcoin\bin>bitcoin-...
0
votes
1answer
22 views

Startum protocol extranonce2 - where the extraNonce2 comes from

I'm curious where the extraNonce2 comes from in stratum protocol? In the official documentation, I found Extranonce2_size - Represents expected length of extranonce2 which will be generated by the ...
0
votes
1answer
23 views

What keeps mining pools from creating wallets that send transactions only to pool members?

Suppose one of the big mining pools, that holds e.g. 20% of the mining power, creates a wallet software that, by design, sends all transactions only to pool members - and does not relay it to nodes ...
0
votes
0answers
26 views

I sent Bitcoin using Cash app to my wallet. My wallet received the Bitcoin and then sent it to another address. Why did this happen?

I transferred Bitcoin using Cash app to my wallet. Once received in my wallet another transaction was made which sent my Bitcoin to another address. I did not make that transaction. Am I being hacked? ...
0
votes
0answers
25 views

my account haked and black mailer give me add of bitcoin [duplicate]

I dont know who is that blackmailaer who send me a mail,,, copy below,,, Sent: Monday, March 25, 2019 8:09 AM To: lubby786 Subject: alqadar : lubby786 I am aware lubby786 is one of your passwords. ...
4
votes
3answers
789 views

“HTLCs don't work for micropayments”?

I read this tweet by Tadge Dryja recently. What exactly did he mean? Is this an issue? If so, is this issue fixable?
0
votes
1answer
45 views

How is a bitcoin transaction validated?

w.r.t. a bitcoin transaction, I am really struggling to understand how does bitcoin network validate that I 1) have the bitcoin that I want to send, and 2) haven’t already sent it to someone else. If ...
0
votes
1answer
12 views

Stratum protocol - problem with mining.submit method

code was written according to documentation. I have following lines for submit method submit() { // ["<worker.name>", "<jobID>", "<ExtraNonce2>", "<ntime>", "<nonce>...
0
votes
1answer
51 views

Private key generation doubt

I read that the private key pk has to be any number between 1 and n, where n is almost 10^77. Since pk' s function is practically to be used as a scalar for multiplying the generator point G, why does ...
2
votes
2answers
220 views

How can my private key be revealed if I use the same nonce while generating the signature?

I know it is well understood that it is not a good practice to use the same nonce while generating the signatures, but I am not getting the math right. Assume I have some UTXOs that are controlled ...
0
votes
1answer
43 views

regarding transaction size in a block

In What are the minimum sizes for transactions and blocks in Bitcoin? The first transaction is set to be 65 bytes long, due to coinbase requirements. What about the second one ? That can be 61 bytes ...
0
votes
1answer
24 views

What is the exact difference between combinepsbt and joinpsbts

They seem to do pretty much the same thing. The only apparent difference being that combinepsbt seems more for updating the same psbt with imcremental signatures while joinpsbts seems more for joining ...
0
votes
1answer
23 views

How do nodes come to consensus on whether a timestamp is valid?

From bitcoin wiki: A timestamp is accepted as valid if it is greater than the median timestamp of previous 11 blocks, and less than the network-adjusted time + 2 hours. If a miner submits a block ...
0
votes
1answer
34 views

Lightning node on a Bitcoin SPV

is there a way to run a Lightning node on a Bitcoin SPV node at the moment? I've read that both lnd and c-lightning need a Bitcoin Fullnode at this time. This might seem ignorant but i don't want to ...
0
votes
0answers
28 views

Can't send transaction with sendtoaddress

I'm trying to send some transaction with sendtoaddress method. That is not Bitcoin it self but it's fork. You can see it here https://github.com/PACCommunity/PAC my command looks like this paccoin-...
0
votes
1answer
29 views

Are transactions with the same ScriptSig a security problem?

For instance while looking at the transaction stack of my address, tracing it to exchanges I use, I came across this: https://www.blockchain.com/btc/tx/...
0
votes
1answer
28 views

Bitcoin fork resolution - Fork losers download previous blocks 'til common block?

When resolving a naturally occurring fork in Bitcoin, do the miners who were working on the orphaned fork download previous blocks from the miner who won the block reward that resolved the fork until ...
0
votes
1answer
18 views

If I send bitcoin or some other crypto from my wallet to Binance and I don't see a deposit, what could be going wrong? [closed]

I am still very new to the world of cryptocurrency but as of a couple of years ago I realized its significance and now I am afraid I have a lot of catching up. Anyway, what happens if I send Bitcoin, ...
0
votes
1answer
43 views

How do miners know how to remove recently confirmed transactions?

A miner is in the process of creating and mining a block of 1400 transactions. Suddenly they receive a broadcast that a new block was confirmed with 200 of the transactions currently in that miner's ...
0
votes
1answer
31 views

Indexing of transactions in the blockchain

Say we have transaction T(1) from many years ago, at block height 125001; then a new transaction T(2), consuming all the outputs from T(1), comes up around block height 568720 (that's Today). There's ...
0
votes
1answer
40 views

Why future Bitcoin Core release shouldn't be in python?

Python offers various advantages including simplified rules of coding and ease of readability. It offers OOP, cross platform compatibility and has numerous libraries that have been added over time. It ...
0
votes
2answers
46 views

Bitcoin checks and balances

When a new block is created, does each block need to be validated? How does it differ from validating transactions? Why miners would waste time validating transactions and blocks when they could ...
1
vote
1answer
46 views

Why was/is Bitcoin written in C++ instead of C? [duplicate]

Why C++ and not C? Are there some features of C++ not present in C required for Bitcoin to function as it does? I can see that a similar question has been asked before but I am more curious as to the ...
0
votes
1answer
27 views

Bitcoin optional fees create transaction ordering problems?

I've tried to find a solid answer to this transaction ordering question and the practical and technical issues that do not seem solved. My understanding is that after I create a transaction, I can ...
0
votes
1answer
37 views

re : minimum sizes of transactions and blocks

I see there's a similar question provided here: What are the minimum sizes for transactions and blocks in Bitcoin? But the answer provided might be not correct in the light that "A valid transaction ...
0
votes
0answers
14 views

Does secp256k1 have any known weaknesses? [migrated]

I am wondering whether there are any properties of the curve which would technically make it easier to attack than any other curves of 256 bits in size. I have heard that being a Koblitz curve, it ...

15 30 50 per page