Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 140253

Transactions are signed messages carrying out the transfer or generation of bitcoins. They are broadcast throughout the Bitcoin network and, if accepted, integrated in the blockchain.

2 votes
2 answers
256 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. …
bitcoinluvr6969's user avatar
-1 votes
1 answer
74 views

TX doesn't contain an equal number of transactions with bitcoin addresses

I'm researching bitcoin and noticed that when transactions come through my node I don't have an equal number of "amounts" (e.g everything between 88ac and 19) with addresses (e.g everything between 76a914 …
bitcoinluvr6969's user avatar
0 votes
0 answers
88 views

How to extract p2sh from tx block

I'm trying to extract p2sh addresses from blocks and I am not doing something correctly. What I have tried is: def decodep2sh(self, redeemscript): sha256 = hashlib.sha256(bytes.fromhex(red …
bitcoinluvr6969's user avatar
-2 votes
1 answer
87 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 p …
bitcoinluvr6969's user avatar
1 vote
1 answer
51 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 why don't b …
bitcoinluvr6969's user avatar
0 votes
1 answer
219 views

parse bitcoin addresses from transactions received through the P2P protocol using python

I'm trying to extract public keys and transaction amounts from tx commands using python. Everyone on this stack exchange has been extremely helpful, but I think it's time to try and leverage a library …
bitcoinluvr6969's user avatar
1 vote
2 answers
87 views

Request tx messages from other peers?

I'm trying to request tx messages from known peers but it doesn't appear as though this is supported with bitcoin-cli. Is there a way to do this?
bitcoinluvr6969's user avatar
1 vote
1 answer
87 views

Reading blk.dat files using pybtc does not yield transactions

I am trying to parse the blk.dat files using pybtc but I can't seem to get this right. f = open(block_filename, "rb") lines = f.readlines() for block in tqdm(lines): …
bitcoinluvr6969's user avatar
1 vote
2 answers
340 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 …
bitcoinluvr6969's user avatar
2 votes
2 answers
269 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 Stack (Actually a single stack) …
bitcoinluvr6969's user avatar