All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
29 views

When a bc1 address is serialized, how does one deserialize it?

I'm looking into bc1 addresses and I want to verify that the method I've implemented for generating bc1 addresses is correct. While I'm confident that I'm generating correct bc1 addresses I just had a ...
-2 votes
0 answers
35 views

bitcoins mined to an IP address in 2008/9,?

When pressing the generate button on bitcoin-qt after invite back in 2008/9 everything mined,was to the IP add I was connected too then, am I right?
  • 1
1 vote
0 answers
27 views

Bitcoin Inscription Ordinals Store Sourcecode [closed]

Is there a use case to publish source code of any kind into the Bitcoin Blockchain using Ordinals?
3 votes
1 answer
60 views

What is "collection" for Ordinals? Where are "collections" stored?

Right now, there are collections in Ordinals marketplaces. For example: https://openordex.org/collections https://ordinalswallet.com/collections https://ordswap.io/collections/ But I failed to find ...
1 vote
2 answers
122 views

Is there a set length that a signature can be?

I'm reading this page which describes the following method of creating a stack: OP_0 <A sig> <B sig> OP_2 <A pubkey> <B pubkey> <C pubkey> OP_3 Sig Stack Pubkey ...
1 vote
0 answers
62 views

Bitcoin-core not saving transaction data

I have installed Bitcoin Core for full node and the synchronization seems to have finished, but there seems to be no transaction data saved on my PC storage. Why is this? Hopefully it should be ...
  • 25
2 votes
1 answer
59 views

DoS attack and MAX_BLOCKS_IN_TRANSIT_PER_PEER

I was reading Mastering Bitcoin and I found, in the section Exchanging "Inventory", this: "The node keeps track of how many blocks are "in transit" per peer connection, ...
  • 165
-1 votes
1 answer
48 views

My multibit core synchronization is stuck Whats the reason [duplicate]

For the past six days since I downloaded the multibit core, I wanted to recover my wallet I still have my recovery phrase and password, and open the multibit core and the wallet was synchronization ...
-1 votes
1 answer
25 views

Does BIP-069 use littleEndian for txid comparison?

BIP-69 writes the following about how inputs should be ordered: Previous transaction hashes (in reversed byte-order) are to be sorted in ascending order, lexicographically. But then, in the examples ...
1 vote
1 answer
47 views

What result of this sagemath script?

My sagemath cannot compute the result of the following code for such a large number N. Can someone provide the result for the first 10 points ? n=...
  • 31
1 vote
1 answer
45 views

Mini private key format

I want to understand why the format for a mini private key necessarily has to start with an "S". Why is this? Is there a specific reason for it? I would imagine so, but I don't know what it ...
  • 11
0 votes
1 answer
21 views

Binance API and Unity. Game involving depositing crypto and withdrawal

Hi if i need to allow players do deposit x crypto in my game. Use this deposited crypto and convert it to BUSD and use this as "token"to play games. And after winning, you can earn reward ...
1 vote
1 answer
27 views

PSBT: What string encoding is recommended for identifier field of PSBT_IN_PROPRIETARY key?

Looks like bip174 doesn't specify string encoding (utf8, ascii) for bytes identifier field of PSBT_IN_PROPRIETARY key. Now how a psbt lib can check if the bytes identifier is a a valid string bytes or ...
  • 13
1 vote
1 answer
42 views

What is a first, and second element of secp256k1?

What coordinates have a first, and second element of secp256k1 ? Br
  • 31
-1 votes
1 answer
86 views

is there such a thing as a wallet frozen due to fraud. Can funds held in such a wallet be returned to the original owner

I was recently contacted by a company called APAG-AUDIT AG claiming they have discovered funds that belong to me during the course of an audit. I was scammed by a group of companies last year and ...
  • 1
1 vote
1 answer
50 views

Bitcoin Core v.23 import private key question

Bitcoin Core v.23 import private key question Hello. I have a private key which I have imported (importprivkey in console) into bitcoin core v.0.17.1. Balance for example 1 bitcoin Made a transaction ...
2 votes
1 answer
57 views

Eltoo: Does the relative locktime on the first UTXO set the lifetime of the channel?

When we open a lightning channel using eltoo / LN symmetry (standard 2/2 multisig), the setup/funding transaction must be recorded on-chain in order to prevent a "double spend" of the ...
2 votes
1 answer
100 views

The One Thing That’s Stopping Me From Accessing My Crypto Wallet (Hint: It’s Not the Seed Phrase)

Requirement: Recover crypto What I possess: I have a 12 word seed phrase, (Though I am not exactly sure of the organization that generated it). I have the public address through which (blockchain.com ...
3 votes
2 answers
95 views

Code for computing SigHash for various input types

I am looking for code examples (in rust-bitcoin, but even in Python) of how to calculate sighash for various input types. Specifically, I need to calculate the sighashes for M of N multisig unlocking ...
2 votes
1 answer
37 views

How Wallet Mobile Softwares deal with Wallet Balance and Transaction history?

I'm trying to build a mobile software Wallet made in Flutter with a Bitcoin Core Full node that communicates with a Node.js backend. The problem I can't find the answer to is: how can wallet ...
0 votes
1 answer
102 views

How to create SegWit address from mnemonic in Python 3.8.10

I am having trouble creating SegWit address from mnemonic. I can't find any useful code to do that. I tried using BitcoinLib but I don't know how to disable saving wallets to disk. EDIT: I found ...
-1 votes
0 answers
21 views

What tools are useful for Bitcoin Forensic?

Best wishes of health to all. After receiving several clients seeking advice, we need to equip ourselves with some tools that allow us to make simple reports on blockchain forensic, especially on ...
0 votes
1 answer
26 views

Does the miner determine the amount of coinbase transactions manually?

When the miners try to extract the block with the submitblock method, do they determine the amount(value) of coinbase by themselves? Or does the network automatically give them some amount as a reward?...
  • 71
3 votes
1 answer
150 views

Relation between transaction data and transaction id

What is the relationship between transaction data and transaction id (which is used at mempool to generate Merkle root)? Note : when we query the getblock with verbosity 2, we get raw block in json ...
  • 71
-2 votes
1 answer
78 views

Block packets contain tx_in_sig_script, is this shared with tx data from tx packets?

I'm trying to find the signature script that is in a tx message so I can better parse data. I have found that it is in there sometimes, but largely the tx packets don't contain anything in the block ...
-1 votes
0 answers
29 views

Bonus bitcoin or bitcoin bosus? [duplicate]

I have been receiving emails from bitcoin bonus. I downloaded a game a a year ago, forgot about it now they are telling me I have over 30grand. Plead help me in how to get these funds out or if it's ...
1 vote
1 answer
70 views

Why zero amount transaction outputs are kept in Bitcoin Core chainstate database?

They can be added as an input to a transaction, but what is the benefit of that? Isn't it the same as adding any random data to the transaction and pay the fee? You must know the key(s) to sign, and ...
4 votes
0 answers
134 views

How to compute the expected number of sats to arrive in a probabilistic payment flow?

Look at the following network example: Assume S wants to send 3 sats to R. You can further assume that S has enough liquidity in each of its local channels to send up to 3 sats. Also assume the ...
2 votes
1 answer
58 views

Validation of segwit v0-v1 tx automatically adds OP_CHECKSIG?

When I create a segwit transaction v0 (P2WPKH) or v1 (P2TR key-path spend) I do like that (let's spend a P2TR output): Locking Script (of the P2TR output I'm spending): OP_1 PK_size PK Witness: 1 (...
  • 113
1 vote
1 answer
46 views

Submitblock input parameters similar to getblock?

I have installed Bitcoin Core on my laptop. Now open bitcoin daemon and do following: First i run getbestblockhash to get the last block hash on the Blockchain. We call this hash as BestBlockHash. ...
  • 71
1 vote
1 answer
101 views

What is coinbase script (arbitrary data)?

According to this site, in the coinbase input part, What is the coinbase script and where did it come from? It is said that this is a arbitrary data, but I don't know how this string is generated? ...
  • 71
0 votes
1 answer
40 views

Is there a way to handle scalar multiplication with the Secp256k1 generator to finalize a Bitcoin script in an atomic swap?

I know that Bitcoin can do Schnorr which allows for one way to finalize an atomic swap but on the other side of the current swap implementation( that I am working with), the script needs to multiply a ...
  • 194
-2 votes
1 answer
50 views

What is the step-by-step algorithmic process to find the modular multiplicative inverse of (n-1) mod np, where (n-1) and np are not coprime?

Having perused the stackexchange, I found some similar questions, but am having difficulty understanding how to arrive at the solution to (n-1)*x=1 mod np, where: n: Finite group order of the Bitcoin ...
2 votes
1 answer
60 views

How to create a 1-of-2 multisig with P2TR?

We have two companies and we want to spend funds with 1-of-2 multisig. We successfully did such a multisig with P2SH. How can I do this in P2TR? Can any give me a detailed instruction step by step? ...
  • 51
0 votes
1 answer
149 views

Does it affect bitcoin's privacy if I create an explorer that works differently?

Does it affect bitcoin's privacy when I create an explorer that works differently and tracks inputs based on LIFO (Last In First Out)? Does it affect bitcoin protocol's fungibility? Context: FIFO is ...
0 votes
0 answers
20 views

Wallet.dat lose [duplicate]

I have a wallet but on Bitcoin Core, my probleme is I loose the file wallet.dat from my old laptop ( this laptop is not exist at all now.) I have my wallet adress and my password but its all, please ...
  • 1
2 votes
1 answer
41 views

Bitcoin Core running in a Linux Docker container under Windows doesn't recognise an already downloaded blockchain copied from Windows Bitcoin Core

I run Bitcoin Core under Windows 10. I have now set up a Docker container to run Bitcoin Core under Linux on the Windows computer. I copied the Windows Bitcoin directory (containing all the blockchain ...
  • 131
1 vote
1 answer
48 views

Is the nVersion=3 policy proposal introducing additional policy rules and going against the policy principle to only relax policy rules?

In the PR review club on "nVersion=3 and Package RBF" (February 22nd 2023) glozow stated: But in policy we want to strictly loosen rules. Otherwise we could accidentally censor transaction ...
2 votes
1 answer
49 views

Where is a transaction stored before getting added to the mempool?

A transaction is stored in the mempool before it is confirmed. However, the Bitcoin node can't verify incoming transactions with 'light speed' to add them to a mempool—it obviously needs some time. So,...
2 votes
1 answer
98 views

Calculating addresses from Bitcoin transaction data

What would be the easiest way to retrieve addresses that are used in specific transaction? For instance, if you look at following transaction which is retrieved by getblock of JSON RPC with argument ...
  • 87
2 votes
1 answer
25 views

How do I troubleshoot port accessibility to allow inbound connections on MacOS?

I'm wondering if anyone has experienced anything like this. IPv4 ports seem blocked. I have tried everything to open a port on my Mac but the port seems blocked. It's like the only port that can be ...
  • 331
1 vote
0 answers
27 views

How does Lightning multipart payments (MPP) protocol define the amounts per part?

From the source code of LND, payments are split in half and retried if no path for the full amount is found: func (p *paymentSession) RequestRoute(maxAmt, feeLimit lnwire.MilliSatoshi, ...
4 votes
1 answer
43 views

Size of the `chainstate/` dir vary from node to node

I run 2 nodes: a non-pruned, txindex=1 node that has been running for years (I can't tell exactly but I think I have been moving the same datadir around since 2014/15), core v23.0.0 a pruned node ...
  • 593
1 vote
1 answer
72 views

how do I import a private key corresponding to bech32 address to bitcoin-core?

Example address bc1q69wqlexdn250purgskahfj9pg2f3ylg82vgy9m private key (WIF) KyVWvid6fC5WXHrV35ZkxqXgXsYrE9mPxMpusWBFiF771y2AYZrz How can I import this into an existing wallet (Bitcoin-qt)? I tried ...
  • 1,345
1 vote
1 answer
29 views

How do I view Multisig Trades using bitcoincore?

For a school project my goal is to go analyze multisig trades, is there a way where I can make this information any more clear to me? I have been running bitcoincore as a way to get trades that I can ...
  • 11
1 vote
2 answers
69 views

How to extract transaction amounts from tx block?

I'm parsing bitcoin transactions and would like to be able to strip out transaction amounts. This site says that I have to use flags to extract out the transaction amounts but it appears to only take ...
1 vote
1 answer
30 views

BIP 32 Root key for connecting wallets

I have a question, a broker Xeroxfx.org asked me to create the BIP 32 RK to connect wallets for a quicker transaction. Is this real, or can he now steal from my wallet? THX Phillip
  • 11
1 vote
1 answer
29 views

How to parse out the recipient address of "change" from transactions in tx?

I just read in this page that a transaction typically has two addresses, one for the recipient of a transaction and another for the "change" associated with the transaction. My question is ...
1 vote
2 answers
200 views

What are the OP codes associated with bc1?

As the title says I'm trying to extract bc1 addresses by using opcodes I've found from reading about bitcoin online. However, I cannot actually find the opcodes associated with bc1. The segwit outputs ...
-1 votes
1 answer
242 views

Does anyone know anything about this bitcoin bouns cloud mining emails I am getting? [duplicate]

memo BOSA asara@abv.bg Attachments 4:35 PM (4 hours ago) to marszaleknowiny My name Lisa Davis, I am senior director of Bitcoin Bonus Evening late (the day before) you received an automatic smessage ...

15 30 50 per page