All Questions
28,690
questions
0
votes
1
answer
18
views
Cold Storage of Exchanges
I am trying to find the cold storage address of exchanges like HitBTC, or Coinbase. Unfortunately, I have not been able to identify specific addresses. Does anyone have some tips on what metrics to ...
1
vote
2
answers
24
views
Review of multisig funds protection strategy
I want to protect my bitcoin and my threat model is that one of the two paper copies of the seed is accessed to recover the wallet and steal the funds. To mitigate this risk I am contemplating the ...
2
votes
2
answers
233
views
What is the purpose of indexing the mempool by these five criteria?
In the bitcoin source code in txmempool.h, a comment says that unconfirmed transactions are indexed by five criteria:
* mapTx is a boost::multi_index that sorts the mempool on 5 criteria:
* - ...
1
vote
2
answers
32
views
How do segwit nodes behave when they receive a transaction between two legacy nodes?
Segwit nodes know about the move of the witnesses to another part of the transaction block.
What would happen when they receive a transaction between two legacy nodes, knowing that they will build it ...
0
votes
0
answers
15
views
Bitcoin wallet.dat decryption
I have 5 btc encrypted wallet.dat, I want to crack it by using aes vulnerabilities like side channel timing attack etc.
I want to know if the output of below AES KEY decryption will be same as ...
0
votes
0
answers
12
views
What are the best bitcoin libraries to implement a wallet and its functionalities in a project?
It seems like there is some bitcoin librairies for interacting directly with a node, or through a server. I have seen a python, rust, go...
Aside the fact that anyone can have a preference for a ...
0
votes
1
answer
28
views
Where Is Signature Data Stored In Post-SegWit Transactions?
If i'm correct, i am pretty sure that signature data such as the scriptsigsize
and scriptsig is stored outside the Tx_Data of a Bitcoin transaction. But then where is it stored? Is it in the block or ...
0
votes
1
answer
22
views
is possibile to fork the bitcoin blockchain and change it checking if the pow is created from a clean energy?
is possible to Clone the Bitcoin blockchain and in the calculation, it does for the difficulty, instead of the global hash power given by the ASICs, put it the global production of clean energy ...
0
votes
1
answer
19
views
How can I search blocks for transactions in which an address was used as output without knowing complete address?
Can I scan the blockchain for transactions if I remember first and last few characters of a bitcoin address which was used in a transaction?
2
votes
1
answer
71
views
How to clear peer list?
How to clear bitcoind's peer list? (also containing peers in the past)
I didn't find an RPC command for it, is it stored in a file?
Where?
1
vote
1
answer
38
views
How is a Bitcoin transaction signed using ECDSA?
I am quite familiar with the way secp256k1 ECDSA works as well as the equations that are utilised. However, I have no idea how this ECDSA applies to signing Bitcoin (SegWit Format) and transferring it ...
0
votes
0
answers
15
views
Setting Up Account in LND Pool
I have a lightning node and have Pool running on it. I'm attempting to create an account in the lightning pool and I keep getting insufficient funds error. Not sure what is sufficient since I'm ...
0
votes
1
answer
27
views
How do MuSig2 and FROST compare for multisig key aggregation schemes?
Although FROST is primarily for threshold (k-of-n, k<n) key aggregation schemes (and MuSig2 doesn't support threshold) FROST can support multisig (n-of-n) key aggregation. So what are the upsides ...
0
votes
0
answers
31
views
When was proof of stake theorized?
Hi l've seen a while ago that Proof of stake concensus mechanism was theorized a while ago (before proof of work) in distributed systems. But I can't find any source of that, while searching 'proof of ...
1
vote
1
answer
38
views
Where on the web can I find a Stratum protocol specification document?
I am writing my own mining pool server for Bitcoin and would like to work with a detailed and complete specification document for the Stratum protocol. There are documents on the web that casually ...
1
vote
1
answer
26
views
Is there an absolute limit the payment request expiry?
Is there an absolute limit the payment request expiry?
I can't find this in the BOLTs, but maybe this is up to the implementations?
0
votes
1
answer
37
views
What's the logic behind the way block proofs (in GetBlockProof) is calculated?
Bitcoin Core uses GetBlockProof() function to determine the contribution of a block to the total difficulty of the current chain, aka, nChainWork in CBlockIndex. I'm having trouble understanding the ...
0
votes
1
answer
37
views
Why this witness doesn't seems to contain a public key?
I am learning how transactions are coded in the blockchain, so I used a python script to compute bitcoin address from public key. This works with the public key:
...
0
votes
0
answers
12
views
Pruning mode in Bitcoin Blockchain
How can a node chose to use pruning mode where it can discard uneeded transactions history after validation is complete?
8
votes
1
answer
815
views
Where are BIPs 40 and 41?
I can't find documentation about BIP 40 or BIP 41 anywhere on the web. The list of BIPs shows that they are by Marek Palatinus, but there are no links to them.
BIP 0040 is about the Stratum wire ...
0
votes
0
answers
27
views
How to compile bitcoin source code with wallet?
I've built the bitcoin core on my computer and once I tried to run tests related to wallet, I encountered this error:
[amirreza@localhost bitcoin]$ python test/functional/wallet_createwallet.py
2022-...
-2
votes
0
answers
31
views
Which of the following is most likely to be a change address?
Which of the following is most likely to be a change address?
3QRx51ga2cmzaR54C2YM4DftMaMc6iHTTq
1PYzHAu5rCok1jEjpYhXxQzL9aqmmgXCDP
2
votes
0
answers
22
views
How do the various Lightning implementations treat latency? How long do they wait for a peer to provide a signature before using unhappy path?
Rene Pickhardt brought up the problem of latency on the Lightning Network in this answer on using nested (or "recursive") MuSig2 or FROST when providing a signature within an existing ...
0
votes
1
answer
30
views
How does the bitcoin network use public and private keys when one wants to transfer funds?
I am familiar with Public keys, private keys and addresses. But, I don't understand how they are used when I want to transfer funds to a different wallet.
For example, what is the process that is ...
4
votes
1
answer
102
views
How are validity flags in block index set in concurrent blocks when one of them is chosen?
I'm trying to understand block validity flags, and what happens when a branch occurs.
I found a block status flags in the bitcoin core source code:
enum BlockStatus : uint32_t {
...
-2
votes
0
answers
24
views
What are your views regarding teh blockchain aspects of Bitcoin? [closed]
Yeah so bitcoin as a blockchain is not the best one out there but because of the popularity and being in a way the main player of the whole crypto market whose trend can be seen to impact majority of ...
0
votes
0
answers
11
views
Is there any FLOSS tracing software like bitquery.io?
I'm trying to investigate where I put some of my Bitcoin around 8 years ago. I was able to access the backups of Mycelium wallet which I had a SA private key, also find and import a Multibit HD wallet ...
0
votes
0
answers
8
views
Creating Transaction with blockcypher API, Transaction new not found
I am new here and I am trying to create a bitcoin wallet with flutter, I have succeeded in creating address with private key, using bip32, but I am trying to create a transaction to send bitcoin with ...
4
votes
1
answer
867
views
Does local blockchain database (blkXXXXX.dat) contain abandoned forks forever?
When my node realizes that the given block needs to be abandoned - does it leave it in the database or replace the block with a valid one? And if "invalid" block remains: is it somehow ...
2
votes
2
answers
71
views
Why can't I reverse secp256k1's public key point in order to determine the private key?
I understand that the public key q is generated by the point addition of g (some secp256 k1 constant) u times such that u is a big number (private key). This process can be simplified in this diagram ...
0
votes
1
answer
21
views
Multisig with existing single sig + passphrase
If I take 2 brand new HW wallets (like a Coldcards), plus an existing hw single sig wallet that has a passphrase and finds already assigned to it (like a Trezor)and then create a new multisig 2 of 3 ...
2
votes
1
answer
111
views
SegWit signing algorithm and its improvement
I was reading about Segregated Witness upgrade from the book Mastering Bitcoin by Andreas and there were some questions I have not figured out. I am appreciated to get some of your help!
A) There was ...
0
votes
0
answers
34
views
bitcoin core 22.0 debug problem, and, berkeley version?
you know the problem of this sorti problem ? error and version berkeley ? please !
Using BerkeleyDB version Berkeley DB 4.8.30: (April 9, 2010)
Using wallet C:...\wallet1.dat ( wallet.dat and the ...
2
votes
1
answer
34
views
How does ECDSA work when generating the public key?
I know the curve has formula y^{2}=x^{3}+ax+b. However, some websites are saying that a=0 and b=7 for secp256k1?
What is secp256k1? Is it the curve that is always used or does it generate the field in ...
0
votes
2
answers
57
views
Where is the private key stored. Also, how is a seed-phrase one's private key?
If I download an app such as Metamask which will give me a seed phrase, how can this seed phrase be transformed into an alphanumerical private key? Also, where is this private key stored - is it ...
0
votes
1
answer
41
views
How do I see if I've invested in bitcoin
I can't remember if I ever invested in bitcoin how can I check can someone please help
-2
votes
1
answer
24
views
What is the best way to check multiple crypto coins payments are paid - NODE JS
I am trying to write a gateway system where users can check the data upon the callback that is sent to their specific url.
I am wondering how I could go about checking that the payment has been ...
3
votes
1
answer
123
views
where does the main.cpp moved to in recent versions?
I was reading this article about bitcoin-core. It is an explanation of bitcoin-core source code version 0.3, and it described a file named main.cpp. In the recent versions this file does not exist (or ...
1
vote
2
answers
43
views
How are TXIDs determined from the raw hex data of a block? Also, what is the coinbase transaction?
Consider the hex data of block 170.
The coinbase TXID is this: b1fea52486ce0c62bb442b530a3f0132b826c74e473d1f2c220bfa78111c5082 and the second TXID is: ...
0
votes
1
answer
19
views
Import Bitcoin core pubkey into Electrum for multisig setup
Background
I have a service running on a server using bitcoin core that is signing transactions from a Bitcoin wallet automatically. However, if anyone were to get access to this server, they'd have ...
3
votes
1
answer
72
views
How do you commit to the previous output's amount when signing a segwit input with rust-bitcoin?
I'm trying to sign a segwit transaction in rust-bitcoin. To start with, my transaction setup looks as follows:
let previous_output = OutPoint::new(Txid::from_hex("...
2
votes
2
answers
74
views
Can you do P2WSH / P2SH on Lightning Network (LN)?
I understand that a channel is a 2 of 2 multisig:
1 && 1
Is it possible that one side of this channel is a multisig wallet?
So in essence one of the 2 main, is actually a 2 of 3 multisig. ...
2
votes
1
answer
61
views
Why does `OP_CHECKSIGADD` allow TAPROOT keyspends?
My understanding is this sig version is only for taproot keyspends, why is it allowed to be used in OP_CHECKSIGADD?
https://github.com/bitcoin/bitcoin/blob/e826b22da252e0599c61d21c98ff89f366b3120f/src/...
2
votes
1
answer
277
views
What are the components of the raw block shown in this image?
I'm wondering what the portion between the block header and the transaction data (the un-annotated section) is. I can't seem to find any information on it.
0
votes
0
answers
36
views
Does proof-of-stake needs trusted party to work?
My knowledge of proof of work is its basics. The thing I know about PoS is that it's a consensus mechanism that choose the one who add/mine the next block to the blockchain based on the its stake. If ...
6
votes
1
answer
396
views
What does TLV stand for?
I'm reading about the gossip protocol and wanted to know what a TLV is. I can't find what it means anywhere.
3
votes
1
answer
62
views
Is it credible that a "stuck transaction" was the true cause of binance pausing bitcoin withdrawals?
It is reported that Binance is blaming a "stuck transaction causing a backlog" as the reason it prevented people withdrawing their bitcoin for some hours on the 13th June 2022. I do not ...
1
vote
1
answer
29
views
Sign raw transaction with key
I'm upgrading my application from bitcoin core 21.0 to 23.0.
In core 21.0 I created a raw transaction and sign it with my private key after I called dumpprivkey RPC. At core 23.0 I received this error ...
0
votes
1
answer
56
views
2011 bitcoin HUNT
I am here for some help. I bought bitcoin in 2011 and I unfortunately can't remember for the life of me which wallet I kept it in. I am hoping maybe someone can give me a little guidance. If I had ...
0
votes
0
answers
8
views
Understanding NBitcoin node creation in Bitcoin RPC docs example
I'm very new (as of today) to NBitcoin library, just trying to figure out how I might use it to develop some integration tests.
Ultimately my question is: How do I use NBitcoin with existing bitcoin ...