14 votes
Accepted

Why do bitcoin exchanges use "central" wallets?

Note: This answer applies to Bitcoin, not "crypto" generically. On terminology I think you may be conflating "wallets" and "addresses". Addresses are used to communicate ...
user avatar
  • 63.5k
5 votes
Accepted

Can the difference be determined between two nonces k1, k2, having a linear relationship if the nonce and private key are unknown, i.e., k2 - k1 = n?

This is trivially broken. Given: (1) s1 = (z1 + r1d) / k1 (2) s2 = (z2 + r2d) / k2 (3) k2 = k1 + d Substituting (3) into (2), eliminating k2: (4) s2 = (z2 + r2d) / (k1 + d) Solving (1) for k1: (5)...
user avatar
5 votes
Accepted

How do segwit nodes behave when they receive a transaction between two legacy nodes?

Segwit did not change the rules for existing output types. The non-segwit standard output types P2PKH (Pay to Public Key Hash) and P2SH (Pay to Script Hash) still work exactly as they always have. ...
user avatar
  • 63.5k
4 votes

How do segwit nodes behave when they receive a transaction between two legacy nodes?

Segwit nodes can recognise legacy transaction types and will handle them in the traditional way. A legacy node would create a transaction that omits the optional segwit flag. When this transaction ...
user avatar
3 votes
Accepted

How can a transaction be spent unless it is written in the blockchain?

How it this possible for coin to be spent before the transaction is written on the blockchain? It isn't possible. The first transaction ...
user avatar
2 votes
Accepted

What are packages in bitcoin core and what is their use case?

You explicitly asked about the source code, but let me start by giving a broader explanation of the term "package". When talking about a package, we generally refer to a set of connected ...
user avatar
2 votes

How does the bitcoin network use public and private keys when one wants to transfer funds?

what is the process that is actually happening under the hood when I click the 'transfer Bitcoin' button of my wallet in terms of the keys? Your wallet selects from available coins (UTXOs for which ...
user avatar
2 votes

Why do bitcoin exchanges use "central" wallets?

The Omniwallets mentioned in the previous answer can be thought of as a form of limited-scope L2 (second-layer) payment network, albeit one with much more required trust than a decentralized global L2 ...
user avatar
2 votes

How can a transaction be spent unless it is written in the blockchain?

I think you're looking at a chain of unconfirmed transactions. Since transactions are immutable¹ after they are submitted to the network, you know what transaction outputs will be created before the ...
user avatar
  • 63.5k
2 votes

Where Is Signature Data Stored In Post-SegWit Transactions?

From the perspective of new post-segwit nodes, the witness data is part of the transaction data. It is serialized in a new field, after all the transaction outputs, before the locktime field. However, ...
user avatar
1 vote

Why this witness doesn't seems to contain a public key?

I found my answer in this post: Find sender's public key in SegWit Transaction Without witness: address = base58check( 0x00 + hash160(publicKey) ) With witness: address = base58check( 0x05 + ...
user avatar
1 vote

Is there a way to know how many of currently unconfirmed transactions in the MemPool is currently being attempted by other miners?

No one cares (about what other miners are exactly working on) Miners have no way of knowing the contents of block templates being used by other independent miners. There is nothing in the Bitcoin ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible