All Questions

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

Spending an unconfirmed RBF transaction

What happens if a wallet spends an unconfirmed Opt-In Replace-by-fee (BIP125) transaction, but does not flag this spending transaction as Opt-In Replace-by-fee? Receiving wallets would see that ...
user avatar
1 vote
0 answers
32 views

How to generate a lightning invoice of any type offline

Is it possible to generate a lightning network invoice without the encumbrance of a full lightning node (lightning node defined as: fully synced channel graph, knowledge of channel outpoints, and ...
user avatar
0 votes
1 answer
33 views

blocknotify ignores > /dev/null 2>&1 and fills up my debug log

I have this code in my bitcoin.conf blocknotify=/root/.nvm/versions/node/v11.15.0/bin/node /home/BTC/block.js %s > /dev/null 2>&1 I see the error runCommand error: system(/root/.nvm/versions/...
user avatar
2 votes
1 answer
69 views

Do any exchanges allow you to examine the bitcoin before you buy it?

It has been reported that some centralised exchanges will deny deposits of cryptocurrency that come from tumblers/mixers, for reasons perhaps related to ownership of the coins. If one was concerned ...
user avatar
  • 153
0 votes
0 answers
55 views

What are currently (May 2022) the biggest pain points of the Lightning Network?

I am wondering what are currently the biggest roadblocks and challenges (maybe also in Bitcoin) that we need to overcome in the Lightning Network protocol. Why are they challenging and why is it so ...
user avatar
1 vote
1 answer
77 views

Dust threshold for Testnet

I want to find a dust threshold following this answer: https://bitcoin.stackexchange.com/a/86069/134293 Actually I have a list of transactions coming from listsinceblock in which there are Testnet ...
user avatar
0 votes
1 answer
20 views

Same blockhash that appears more times in a bitcoind’s rpc call listsinceblock transaction returned json

Let's suppose that listsinceblocks return a json like this: { "transactions": [ { "involvesWatchonly": true, "account": "", "...
user avatar
1 vote
1 answer
37 views

Consider only deposits in a bitcoind’s RPC call listsinceblock transaction returned JSON

I have a JSON result of a bitcoind’s RPC call listsinceblock. There are 4 categories of transaction: "send" means transactions sent "receive" means non-coinbase transactions ...
user avatar
2 votes
1 answer
38 views

What does setting the "-server" flag do?

I'm running the GUI version of Bitcoin Core. But I want to also be able to interact with bitcoin-cli in my Windows console. Apparently I need to set the -server flag before running bitcoin-qt, or set ...
user avatar
0 votes
1 answer
28 views

Can a receive transaction be 0 in a bitcoind’s rpc call listsinceblock transaction returned json?

Suppose that I want to check all the valid deposits of the results of bitcoind’s rpc call listsinceblock transactions, can I found a ‘receive’ transactions with ‘amount’ as 0? Should I consider that ...
user avatar
1 vote
1 answer
28 views

Recalculating the target and truncating

The target on the block at height 32,255 was: 0x00000000ffff0000000000000000000000000000000000000000000000000000 After the adjustment, the target on the following block at height 32,256 was: ...
user avatar
  • 2,808
0 votes
0 answers
22 views

What is the script signature and PUSHDATA operation? [duplicate]

In bitcoin transactions, there is a part of the transaction known as the scriptSig. What does this mean? Also, what is the scriptSig (PUSHDATA opcode) operation.
user avatar
  • 113
3 votes
1 answer
55 views

Remove descriptor from a Bitcoin Core wallet

I had accidentally imported descriptors into a wallet that I didn't mean to import to in Bitcoin Core. From what I can tell, the only way I can remove this descriptor from that wallet is to delete the ...
user avatar
-1 votes
1 answer
119 views

Does someone know how to recovery a private key

I have more than 60 Bitcoins in an account since 2014. At the time I was using Bitcoin Armory to manage wallet. After some health problem I have lost the private key but I still have the password. ...
user avatar
  • 1
-1 votes
1 answer
41 views

How is it possible that Bitcoin blocks store transaction data in 32-bit SHA256 strings?

What I mean is that a traditional Bitcoin block has performed 2 SHA256 iterations on the raw hex data of a single transaction. Then it is stored in the block. But since it has been SHA256'd, how can ...
user avatar
  • 113
0 votes
1 answer
73 views

In what format does a block store the transaction data?

Does it store the raw transaction data literally like (excuse the formatting inaccuracies): 0x24134i59435ej3...9 sends 0x9wri03vw3sdfsd...i 26.00000023423 Bitcoin. Or is it stored differently?
user avatar
  • 113
1 vote
0 answers
22 views

How to check whether bitcoin is deposited or not with RPC API?

I am developing a new feature in my website that raises a user's level when they deposit to a new bitcoin address. Using RPC API, I was successful in creating a new wallet address and printing it on ...
user avatar
4 votes
1 answer
126 views

What does "Waste Metric" mean in the context of Coin Selection?

I was attending a Bitcoin Core PR review club, and in the context of the wallet behavior changes that were discussed, participants were mentioning something called "waste metric". Can ...
user avatar
  • 63.3k
-1 votes
1 answer
57 views

Does The Bitcoin Network Have A Way To Alert Nodes Of A Network Issue/Bug?

I know that the Bitcoin Network would send an alert message which follows: int32_t nID The alert identification number - this allows nodes to identify double-messages. int64_t nExpiration The alert-...
user avatar
  • 113
0 votes
1 answer
50 views

Is there a way to determine whether a specific point on the secp256k1 curve is a valid Bitcoin public key?

Let's first define a valid Bitcoin private key as a number in the range of [1, 115792089237316195423570985008687907852837564279074904382605163141518161494336], and a valid Bitcoin public key as a ...
user avatar
0 votes
0 answers
20 views

Transaction not confirming [duplicate]

My transaction has been pending for almost 2 days what's going on? This is not right it's been long enough. Please let me know what's going on.
user avatar
1 vote
1 answer
24 views

Open/Close LN tx size

What is the average size of a on chain closing LN transaction ? It seems to be 140vb but I don't find any source.
user avatar
  • 13
2 votes
2 answers
76 views

How do I switch a pruned node to "neutrino mode"?

According to Lightning Lab's documentation, Bitcoin Core can be run in "neutrino mode" to serve block data without storing transactions. I've been running Bitcoin Core in pruning mode and ...
user avatar
2 votes
1 answer
61 views

Can secp256k1 have different parameters and still be called secp256k1?

The secp256k1 standard (as defined in https://www.secg.org/sec2-v2.pdf, section 2.4.1) has a set of recommended parameters. Is there a particular reason why these parameters are just 'recommended', ...
user avatar
2 votes
1 answer
62 views

How to calculate the public key, compute point P and create signature using ECDSA?

I'm quite new to the intricacies of bitcoin cryptography and ECDSA and elliptic curve cryptography has me quite stymied. I am faced with a curve with the equation: y^2 = x^3 + 7 of order N=39 with ...
user avatar
4 votes
1 answer
89 views

Who is the creator of the secp256k1 standard?

There are different accounts as to who created the secp256k1 standard, for example: Mastering Bitcoin, p.61: Bitcoin uses a specific elliptic curve and set of mathematical constants, as defined in a ...
user avatar
0 votes
0 answers
21 views

Can eltoo's no-penalty design be exploited by malicious submissions of old state?

Eltoo uses the no-penalty submission mechanism, where the cost for an adversary to submit an old state is the transaction fee. This action seems unprofitable, but if we add HTLC to Eltoo, things seem ...
user avatar
  • 97
2 votes
1 answer
74 views

Double Spend for small value transactions

maybe a naive q, but I read in a book that for small value items you don't really need to wait for confirmation of a BTC transaction (i.e. dont need to wait for it to be added to a block): I ...
user avatar
0 votes
1 answer
32 views

Bitcoin tx with electrum has been unconfirmed for more than 24 hours and cannot be found on blockchain

I tried to sell some BTC yesterday but the coins did not arrive and the tx remained unconfirmed and still is now. When I right click 'view on block explorer' it says 'Transaction not found'. What can ...
user avatar
1 vote
1 answer
33 views

"Error: no RPC connection" when trying to run Bitcoin Core functional tests

I'm using WSL on Windows 10. I'm able to build from source and run the unit tests. Integration tests are failing for me when I run test/functional/test_runner.py --extended with error AssertionError: [...
user avatar
  • 67
2 votes
1 answer
58 views

What does the "Tx" column mean in Electrum?

I found that there is a Tx column. For most of the addresses, the value in that column is 0. For some addresses with balance greater than zero, it's not 0. What does "tx" mean in this table?
user avatar
0 votes
1 answer
24 views

manage all HD wallet accounts from a single point

I have an app in which users deposit bitcoins to increase their credit in the website to have access to some specific stuff. So the way I'm thinking to implement this is by using an HD wallet in which ...
user avatar
0 votes
1 answer
27 views

How to submit nonstandard scriptPubKey transaction to bitcoind in regtest mode?

I'm trying to replicate an algebraic puzzle I saw in the scriptPubKey of a testnet transaction: OP_2DUP OP_ADD 6e OP_EQUAL I think the intent was for this output to be spendable by a scriptSig of ...
user avatar
  • 147
0 votes
2 answers
59 views

What is the difference between a 'hot' and 'cold' wallet

Problem I don't understand the difference between a 'hot' crypto wallet, and a 'cold' crypto wallet. Assumptions My understanding of blockchains is that they use public/private cryptography in order ...
user avatar
0 votes
1 answer
38 views

How does Bitcoin Core know about a new address created in a different wallet?

Using importprvkey, I imported all the private keys of an Electrum wallet into a Bitcoin Core wallet (courtesy the electrum2core script; 🎩-tip: somedude). Then, in Electrum, I created a new bech32 ...
user avatar
  • 4,307
0 votes
1 answer
46 views

Do I need to Download the complete Blockchain before BTC will reflect under amount after running importprivkey? Current Version being used is V22

I have done the importprivkey as per instructions. I can see the transactions under the transaction Tab, but I do not see my BTC under overview balance. I do not see the address Tab also as per Wiki ...
user avatar
2 votes
0 answers
22 views

How fast should miners computer generate work for ASICS?

how fast does the beaglebone black generate work? modern asic miners exhaust the nonce range in around 2-3 milliseconds. say if it does exhaust in 2 milliseconds, and we need to keep the asics busy ...
user avatar
1 vote
1 answer
55 views

How a bitcoin node knows where the last transaction of my wallet is

when i send a transaction to a bitcoin node how can the node know that my address exists and where in the chain my address is? does it do a verification? how does it know that I have the funds knowing ...
user avatar
0 votes
3 answers
42 views

What algorithm do miners use to validate individual transactions in a broadcasted solution before accepting it to their blockchain?

If proof of work is a consensus algorithm that guards against malicious nodes from adding faulty blocks, what actually happens when a miner successfully confirms a fraudulent block (i.e. a block that ...
user avatar
0 votes
0 answers
39 views

How do I run the invalidateblock command on bitcoind?

For a particular need I need to restart with the chain from a specific previous block. I thought about using the invalidateblock command, but it's a bitcoin-cli command and if I run it on bitcoind it ...
user avatar
0 votes
2 answers
47 views

how to know the public address of a wallet that sent me funds (bitcoins), using python

I have a website that will show a QR code of my bitcoin wallet (public key), I will ask the client to deposit bitcoins there, I want to know which wallet (public key) was the one that deposited this ...
user avatar
0 votes
1 answer
43 views

Is it possible to create a taproot address that a quantum computer can't spend via the keyspend path?

I'm wondering if there's any valid public key that is known to not have a corresponding private key that can be used as the primary taproot key. The goal would be to ensure that the address can't be ...
user avatar
  • 1,501
0 votes
1 answer
28 views

Bitcoin Util Grind

What's "bitcoin-util grind" for? grind Perform proof of work on hex header string
user avatar
  • 340
1 vote
0 answers
37 views

Bitcoin listreceivedbyaddress as REST API

I am currently looking for a REST API service which will allow me to implement a super simple deposit system. Currently I am generating bitcoin addresses (mainnet + testnet) via Python. In addition to ...
user avatar
0 votes
2 answers
65 views

Why aren't more empty blocks mined?

So currently only a tiny amount of empty blocks are mined A total of 71 empty blocks were mined in the first five months of 2020, accounting for 0.3% of the total blocks produced — less than half of ...
user avatar
4 votes
1 answer
578 views

How did testnet transaction b6714e05dd014cc92de09271886e62d85e7d41dd44fad417c520eb51d57f94c0 validate?

Testnet transaction c474c67cabc13f74c65e7cf503db971d5ba176794bff7de36f46d51ca675cf3a locked 0.0005BTC with a simple math script: OP_2DUP OP_ADD 5102 OP_EQUALVERIFY OP_SUB 230d OP_EQUAL Transaction ...
user avatar
  • 147
0 votes
1 answer
37 views

how can I get the fee percentage on buying or selling a specific amount of bitcoin at any time?

so im noob on all of this so bare with me. im trying to test the possible net revenue of a trading algorithm/bot, but i dont trust it enough to test it with real money, so im going to simulate how ...
user avatar
0 votes
1 answer
47 views

Can someone create a Bitcoin address that is identical to another except the last letter is lowercase where mine is capital

The reason I ask is an online casino was set to pay me $1,000 via Bitcoin and showed me the address they claim to have paid, which is identical to mine except the very last letter is capital and on ...
user avatar
  • 1
2 votes
1 answer
57 views

Why 1D00FFFF and not 1CFFFFFF as target in genesis block

Is there a specific reason why 1D00FFFF is the target bit for the genesis block and not 1CFFFFFF? Both bits are forcing 8 zeros in the front of the hash (hexadecimal). Regards steff
user avatar
  • 123
0 votes
2 answers
69 views

Why Don't Nodes Download Blocks off the network directly instead of sending various messages to other nodes?

My understanding of updating a node's incomplete blockchain is that: A node with an incomplete blockchain (let's say its been offline for some time) will send a getblocks message and then will receive ...
user avatar
  • 113

15 30 50 per page
1
3 4
5
6 7
574